Compartilhar via


Decorator Constructors

Definition

Overloads

Decorator(ShapeField, PointD)

Constructs a new decorator.

Decorator(ShapeField, PointD, Boolean)

Constructs a new decorator.

Decorator(ShapeField, PointD)

Constructs a new decorator.

protected:
 Decorator(Microsoft::VisualStudio::Modeling::Diagrams::ShapeField ^ field, Microsoft::VisualStudio::Modeling::Diagrams::PointD offset);
protected Decorator (Microsoft.VisualStudio.Modeling.Diagrams.ShapeField field, Microsoft.VisualStudio.Modeling.Diagrams.PointD offset);
new Microsoft.VisualStudio.Modeling.Diagrams.Decorator : Microsoft.VisualStudio.Modeling.Diagrams.ShapeField * Microsoft.VisualStudio.Modeling.Diagrams.PointD -> Microsoft.VisualStudio.Modeling.Diagrams.Decorator
Protected Sub New (field As ShapeField, offset As PointD)

Parameters

field
ShapeField

ShapeField corresponding to this decorator.

offset
PointD

Offset for position adjustment.

Applies to

Decorator(ShapeField, PointD, Boolean)

Constructs a new decorator.

protected:
 Decorator(Microsoft::VisualStudio::Modeling::Diagrams::ShapeField ^ field, Microsoft::VisualStudio::Modeling::Diagrams::PointD offset, bool canMove);
protected Decorator (Microsoft.VisualStudio.Modeling.Diagrams.ShapeField field, Microsoft.VisualStudio.Modeling.Diagrams.PointD offset, bool canMove);
new Microsoft.VisualStudio.Modeling.Diagrams.Decorator : Microsoft.VisualStudio.Modeling.Diagrams.ShapeField * Microsoft.VisualStudio.Modeling.Diagrams.PointD * bool -> Microsoft.VisualStudio.Modeling.Diagrams.Decorator
Protected Sub New (field As ShapeField, offset As PointD, canMove As Boolean)

Parameters

field
ShapeField

ShapeField corresponding to this decorator.

offset
PointD

Offset for position adjustment.

canMove
Boolean

Whether this decorator can be moved.

Applies to