Decorator Constructor (ShapeField, PointD)
Initializes a new instance of the Decorator class.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
声明
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.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.
.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.