Sdílet prostřednictvím


ShapeDecorator Constructors

Definition

Overloads

ShapeDecorator(ShapeField, ShapeDecoratorPosition)

Construct a new ShapeDecorator.

ShapeDecorator(ShapeField, ShapeDecoratorPosition, PointD)

Construct a new ShapeDecorator.

ShapeDecorator(ShapeField, ShapeDecoratorPosition, Boolean)

Construct a new ShapeDecorator.

ShapeDecorator(ShapeField, ShapeDecoratorPosition, PointD, Boolean)

Construct a new ShapeDecorator.

ShapeDecorator(ShapeField, ShapeDecoratorPosition)

Construct a new ShapeDecorator.

public:
 ShapeDecorator(Microsoft::VisualStudio::Modeling::Diagrams::ShapeField ^ field, Microsoft::VisualStudio::Modeling::Diagrams::ShapeDecoratorPosition position);
public ShapeDecorator (Microsoft.VisualStudio.Modeling.Diagrams.ShapeField field, Microsoft.VisualStudio.Modeling.Diagrams.ShapeDecoratorPosition position);
new Microsoft.VisualStudio.Modeling.Diagrams.ShapeDecorator : Microsoft.VisualStudio.Modeling.Diagrams.ShapeField * Microsoft.VisualStudio.Modeling.Diagrams.ShapeDecoratorPosition -> Microsoft.VisualStudio.Modeling.Diagrams.ShapeDecorator
Public Sub New (field As ShapeField, position As ShapeDecoratorPosition)

Parameters

field
ShapeField

ShapeField used by the decorator.

position
ShapeDecoratorPosition

Decorator position.

Applies to

ShapeDecorator(ShapeField, ShapeDecoratorPosition, PointD)

Construct a new ShapeDecorator.

public:
 ShapeDecorator(Microsoft::VisualStudio::Modeling::Diagrams::ShapeField ^ field, Microsoft::VisualStudio::Modeling::Diagrams::ShapeDecoratorPosition position, Microsoft::VisualStudio::Modeling::Diagrams::PointD offset);
public ShapeDecorator (Microsoft.VisualStudio.Modeling.Diagrams.ShapeField field, Microsoft.VisualStudio.Modeling.Diagrams.ShapeDecoratorPosition position, Microsoft.VisualStudio.Modeling.Diagrams.PointD offset);
new Microsoft.VisualStudio.Modeling.Diagrams.ShapeDecorator : Microsoft.VisualStudio.Modeling.Diagrams.ShapeField * Microsoft.VisualStudio.Modeling.Diagrams.ShapeDecoratorPosition * Microsoft.VisualStudio.Modeling.Diagrams.PointD -> Microsoft.VisualStudio.Modeling.Diagrams.ShapeDecorator
Public Sub New (field As ShapeField, position As ShapeDecoratorPosition, offset As PointD)

Parameters

field
ShapeField

ShapeField used by the decorator.

position
ShapeDecoratorPosition

Decorator position.

offset
PointD

Offset used to modify the default position of the decorator specified by position.

Applies to

ShapeDecorator(ShapeField, ShapeDecoratorPosition, Boolean)

Construct a new ShapeDecorator.

public:
 ShapeDecorator(Microsoft::VisualStudio::Modeling::Diagrams::ShapeField ^ field, Microsoft::VisualStudio::Modeling::Diagrams::ShapeDecoratorPosition position, bool canMove);
public ShapeDecorator (Microsoft.VisualStudio.Modeling.Diagrams.ShapeField field, Microsoft.VisualStudio.Modeling.Diagrams.ShapeDecoratorPosition position, bool canMove);
new Microsoft.VisualStudio.Modeling.Diagrams.ShapeDecorator : Microsoft.VisualStudio.Modeling.Diagrams.ShapeField * Microsoft.VisualStudio.Modeling.Diagrams.ShapeDecoratorPosition * bool -> Microsoft.VisualStudio.Modeling.Diagrams.ShapeDecorator
Public Sub New (field As ShapeField, position As ShapeDecoratorPosition, canMove As Boolean)

Parameters

field
ShapeField

ShapeField used by the decorator.

position
ShapeDecoratorPosition

Decorator position.

canMove
Boolean

Whether this decorator can be moved.

Applies to

ShapeDecorator(ShapeField, ShapeDecoratorPosition, PointD, Boolean)

Construct a new ShapeDecorator.

public:
 ShapeDecorator(Microsoft::VisualStudio::Modeling::Diagrams::ShapeField ^ field, Microsoft::VisualStudio::Modeling::Diagrams::ShapeDecoratorPosition position, Microsoft::VisualStudio::Modeling::Diagrams::PointD offset, bool canMove);
public ShapeDecorator (Microsoft.VisualStudio.Modeling.Diagrams.ShapeField field, Microsoft.VisualStudio.Modeling.Diagrams.ShapeDecoratorPosition position, Microsoft.VisualStudio.Modeling.Diagrams.PointD offset, bool canMove);
new Microsoft.VisualStudio.Modeling.Diagrams.ShapeDecorator : Microsoft.VisualStudio.Modeling.Diagrams.ShapeField * Microsoft.VisualStudio.Modeling.Diagrams.ShapeDecoratorPosition * Microsoft.VisualStudio.Modeling.Diagrams.PointD * bool -> Microsoft.VisualStudio.Modeling.Diagrams.ShapeDecorator
Public Sub New (field As ShapeField, position As ShapeDecoratorPosition, offset As PointD, canMove As Boolean)

Parameters

field
ShapeField

ShapeField used by the decorator.

position
ShapeDecoratorPosition

Decorator position.

offset
PointD

Offset used to modify the default position of the decorator specified by position.

canMove
Boolean

Whether this decorator can be moved.

Applies to