Skip to main content

ShapeDescription Members

Contains basic diagram shape options.

Properties

Name Description
BackgroundColorCode Inherited from ShapeDescriptionBase.
DefaultParameters Returns the default shape parameters.
DefaultSize Inherited from ShapeDescriptionBase.
Id Gets the shape identifier. Inherited from ShapeDescriptionBase.
IsQuick Gets whether to display the shape in the Quick Shapes category of the Shapes Panel.
Name Inherited from ShapeDescriptionBase.
ParameterCollection Stores the shape parameters.
StrokeColorCode Inherited from ShapeDescriptionBase.
StyleId Inherited from ShapeDescriptionBase.
UseBackgroundAsForeground Inherited from ShapeDescriptionBase.

Methods

Name Description
Create(String, DiagramControlStringId, Func<Size>, ShapeGetter, ShapeConnectionPointsGetter, EditorBoundsGetter, DiagramItemStyleId, Boolean, Boolean) static
CreateSvgShape(String, String, Stream, Boolean, Func<Size, IEnumerable<Point>>, String, String) static Creates a diagram shape from a stream that contains an SVG image.
CreateTemplateShape(String, Func<String>, Func<ShapeTemplate>) static This method supports the internal infrastructure and is not intended to be used directly from your code.
CreateTemplateShape(String, String, ShapeTemplate) static Creates a shape from the specified template.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetConnectionPoints(Size, IEnumerable<Double>) Inherited from ShapeDescriptionBase.
GetDefaultShape() Returns the shape with the default size and parameters.
GetEditorBounds(Size, IEnumerable<Double>) Inherited from ShapeDescriptionBase.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetShape(Size, IEnumerable<Double>) Inherited from ShapeDescriptionBase.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns the name of the ShapeDescription.
Update(String, Func<String>, Func<Size>, ShapeGetter, ShapeConnectionPointsGetter, Func<ParameterCollection>, EditorBoundsGetter, Func<DiagramItemStyleId>, Func<Boolean>, Func<Boolean>) Returns the ShapeDescription instance with updated properties.
See Also