Decorator Constructor (ShapeField, PointD)
Initializes a new instance of the Decorator class.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Protected Sub New ( _
field As ShapeField, _
offset As PointD _
)
protected Decorator(
ShapeField field,
PointD offset
)
protected:
Decorator(
ShapeField^ field,
PointD offset
)
new :
field:ShapeField *
offset:PointD -> Decorator
protected function Decorator(
field : ShapeField,
offset : PointD
)
Parameters
field
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeFieldThe field to which the decorator is assigned.
offset
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointDThe offset of the decorator around the shape field.
.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.