ShapeDecorator Constructor (ShapeField, ShapeDecoratorPosition, PointD)
Construct a new ShapeDecorator.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaration
Public Sub New ( _
field As ShapeField, _
position As ShapeDecoratorPosition, _
offset As PointD _
)
public ShapeDecorator(
ShapeField field,
ShapeDecoratorPosition position,
PointD offset
)
public:
ShapeDecorator(
ShapeField^ field,
ShapeDecoratorPosition position,
PointD offset
)
new :
field:ShapeField *
position:ShapeDecoratorPosition *
offset:PointD -> ShapeDecorator
public function ShapeDecorator(
field : ShapeField,
position : ShapeDecoratorPosition,
offset : PointD
)
Parameters
- field
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeField
ShapeField used by the decorator.
- position
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeDecoratorPosition
Decorator position.
- offset
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD
Offset used to modify the default position of the decorator specified by position.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.