• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class SetClipCommand

Sets the clipping region to the specified region. The region captures the resulting clip state; replay uses Replace.

Inheritance
object
DrawingCommand
SetClipCommand
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: DRIT.Drawing.Vector.Commands
Assembly: DRIT.Drawing.dll
Syntax
public sealed class SetClipCommand : DrawingCommand

Constructors

SetClipCommand(Region, CombineMode)

Initializes a new SetClipCommand, cloning the region.

Declaration
public SetClipCommand(Region clip, CombineMode mode)
Parameters
Type Name Description
Region clip
CombineMode mode

Properties

Clip

Gets the clip region.

Declaration
public Region Clip { get; }
Property Value
Type Description
Region

Mode

Gets the combine mode (always Replace for recorded resulting clips).

Declaration
public CombineMode Mode { get; }
Property Value
Type Description
CombineMode

Methods

Clone()

Creates a deep copy of this command.

Declaration
public override DrawingCommand Clone()
Returns
Type Description
DrawingCommand

A new DrawingCommand with the same state.

Overrides
DrawingCommand.Clone()
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX