Decorator Constructor (ShapeField^, PointD)

 

Initializes a new instance of the Decorator class.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

protected:
Decorator(
	ShapeField^ field,
	PointD offset
)

Parameters

field
Type: Microsoft.VisualStudio.Modeling.Diagrams::ShapeField^

The field to which the decorator is assigned.

offset
Type: Microsoft.VisualStudio.Modeling.Diagrams::PointD

The offset of the decorator around the shape field.

canMove

Whether this decorator can be moved.

Return to top
Show: