DiagramCustomShapeBuilder Methods
Represents a custom shape.| Name | Description |
|---|---|
| AllowEditImage(JS) | Specifies whether a card shape's image can be edited. Mirrors the client-side allowEditImage option. |
| AllowEditImage(Boolean) | Specifies whether a card shape's image can be edited. Mirrors the client-side allowEditImage option. |
| AllowEditText(JS) | Specifies whether the shape's text can be edited. Mirrors the client-side allowEditText option. |
| AllowEditText(Boolean) | Specifies whether the shape's text can be edited. Mirrors the client-side allowEditText option. |
| AllowResize(JS) | Specifies whether the shape can be resized. Mirrors the client-side allowResize option. |
| AllowResize(Boolean) | Specifies whether the shape can be resized. Mirrors the client-side allowResize option. |
| BackgroundImageHeight(JS) | Specifies the shape background image's fractional height. Mirrors the client-side backgroundImageHeight option. |
| BackgroundImageHeight(Double) | Specifies the shape background image's fractional height. Mirrors the client-side backgroundImageHeight option. |
| BackgroundImageLeft(JS) | Specifies the shape background image's left offset. Mirrors the client-side backgroundImageLeft option. |
| BackgroundImageLeft(Double) | Specifies the shape background image's left offset. Mirrors the client-side backgroundImageLeft option. |
| BackgroundImageToolboxUrl(JS) | Specifies the shape image displayed in the toolbox. Mirrors the client-side backgroundImageToolboxUrl option. |
| BackgroundImageToolboxUrl(String) | Specifies the shape image displayed in the toolbox. Mirrors the client-side backgroundImageToolboxUrl option. |
| BackgroundImageTop(JS) | Specifies the shape background image's top offset. Mirrors the client-side backgroundImageTop option. |
| BackgroundImageTop(Double) | Specifies the shape background image's top offset. Mirrors the client-side backgroundImageTop option. |
| BackgroundImageUrl(JS) | Specifies the shape background image's URL. Mirrors the client-side backgroundImageUrl option. |
| BackgroundImageUrl(String) | Specifies the shape background image's URL. Mirrors the client-side backgroundImageUrl option. |
| BackgroundImageWidth(JS) | Specifies the shape background image's fractional width. Mirrors the client-side backgroundImageWidth option. |
| BackgroundImageWidth(Double) | Specifies the shape background image's fractional width. Mirrors the client-side backgroundImageWidth option. |
| BaseType(DiagramShapeType) | Specifies the base shape type for the custom shape. The built-in shape types are shown in the Shape Types section. Mirrors the client-side baseType option. |
| BaseType(JS) | Specifies the base shape type for the custom shape. The built-in shape types are shown in the Shape Types section. Mirrors the client-side baseType option. |
| BaseType(String) | Specifies the base shape type for the custom shape. The built-in shape types are shown in the Shape Types section. Mirrors the client-side baseType option. |
| Category(JS) | Specifies a category to which the custom shape belongs. Mirrors the client-side category option. |
| Category(String) | Specifies a category to which the custom shape belongs. Mirrors the client-side category option. |
| ConnectionPoints(Action<CollectionFactory<DiagramCustomShapesConnectionPointBuilder>>) | Provides access to the client-side connectionPoints option that represents a connection point collection. |
| DefaultHeight(JS) | Specifies the initial height of the shape. Mirrors the client-side defaultHeight option. |
| DefaultHeight(Double) | Specifies the initial height of the shape. Mirrors the client-side defaultHeight option. |
| DefaultImageUrl(JS) | Specifies the URL of an image displayed in a card shape. Mirrors the client-side defaultImageUrl option. |
| DefaultImageUrl(String) | Specifies the URL of an image displayed in a card shape. Mirrors the client-side defaultImageUrl option. |
| DefaultText(JS) | Specifies the initial text of the shape. Mirrors the client-side defaultText option. |
| DefaultText(String) | Specifies the initial text of the shape. Mirrors the client-side defaultText option. |
| DefaultWidth(JS) | Specifies the initial width of the shape. Mirrors the client-side defaultWidth option. |
| DefaultWidth(Double) | Specifies the initial width of the shape. Mirrors the client-side defaultWidth option. |
| 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. |
| GetHashCode() | Serves as the default hash function. Inherited from Object. |
| GetType() | Gets the Type of the current instance. Inherited from Object. |
| ImageHeight(JS) | Specifies the shape image's fractional height. Mirrors the client-side imageHeight option. |
| ImageHeight(Double) | Specifies the shape image's fractional height. Mirrors the client-side imageHeight option. |
| ImageLeft(JS) | Specifies the shape image's left offset. Mirrors the client-side imageLeft option. |
| ImageLeft(Double) | Specifies the shape image's left offset. Mirrors the client-side imageLeft option. |
| ImageTop(JS) | Specifies the shape image's top offset. Mirrors the client-side imageTop option. |
| ImageTop(Double) | Specifies the shape image's top offset. Mirrors the client-side imageTop option. |
| ImageWidth(JS) | Specifies the shape image's fractional width. Mirrors the client-side imageWidth option. |
| ImageWidth(Double) | Specifies the shape image's fractional width. Mirrors the client-side imageWidth option. |
| KeepRatioOnAutoSize(JS) | Specifies whether the shape maintains its width-to-height ratio on auto resize. Mirrors the client-side keepRatioOnAutoSize option. |
| KeepRatioOnAutoSize(Boolean) | Specifies whether the shape maintains its width-to-height ratio on auto resize. Mirrors the client-side keepRatioOnAutoSize option. |
| MaxHeight(JS) | Specifies the maximum height of the shape. Mirrors the client-side maxHeight option. |
| MaxHeight(Double) | Specifies the maximum height of the shape. Mirrors the client-side maxHeight option. |
| MaxWidth(JS) | Specifies the maximum width of the shape. Mirrors the client-side maxWidth option. |
| MaxWidth(Double) | Specifies the maximum width of the shape. Mirrors the client-side maxWidth option. |
| MemberwiseClone() protected | Creates a shallow copy of the current Object. Inherited from Object. |
| MinHeight(JS) | Specifies the maximum height of the shape. Mirrors the client-side minHeight option. |
| MinHeight(Double) | Specifies the maximum height of the shape. Mirrors the client-side minHeight option. |
| MinWidth(JS) | Specifies the minimum width of the shape. Mirrors the client-side minWidth option. |
| MinWidth(Double) | Specifies the minimum width of the shape. Mirrors the client-side minWidth option. |
| Option(String, Object) | Specifies an option by its name. |
| ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
| Template(JS) | Specifies the client-side template. |
| Template(RazorBlock) | Specifies the client-side template. |
| Template(TemplateName) | Specifies the client-side template. |
| Template(String) | Specifies the client-side template. |
| TemplateHeight(JS) | Specifies the shape template's fractional height. Mirrors the client-side templateHeight option. |
| TemplateHeight(Double) | Specifies the shape template's fractional height. Mirrors the client-side templateHeight option. |
| TemplateLeft(JS) | Specifies the shape template's left offset. Mirrors the client-side templateLeft option. |
| TemplateLeft(Double) | Specifies the shape template's left offset. Mirrors the client-side templateLeft option. |
| TemplateTop(JS) | Specifies the shape template's top offset. Mirrors the client-side templateTop option. |
| TemplateTop(Double) | Specifies the shape template's top offset. Mirrors the client-side templateTop option. |
| TemplateWidth(JS) | Specifies the shape template's fractional width. Mirrors the client-side templateWidth option. |
| TemplateWidth(Double) | Specifies the shape template's fractional width. Mirrors the client-side templateWidth option. |
| TextHeight(JS) | Specifies the shape text container's height. Mirrors the client-side textHeight option. |
| TextHeight(Double) | Specifies the shape text container's height. Mirrors the client-side textHeight option. |
| TextLeft(JS) | Specifies the shape text's left offset. Mirrors the client-side textLeft option. |
| TextLeft(Double) | Specifies the shape text's left offset. Mirrors the client-side textLeft option. |
| TextTop(JS) | Specifies the shape text's top offset. Mirrors the client-side textTop option. |
| TextTop(Double) | Specifies the shape text's top offset. Mirrors the client-side textTop option. |
| TextWidth(JS) | Specifies the shape text container's width. Mirrors the client-side textWidth option. |
| TextWidth(Double) | Specifies the shape text container's width. Mirrors the client-side textWidth option. |
| Title(JS) | Specifies the shape's tooltip in the toolbox panel. Mirrors the client-side title option. |
| Title(String) | Specifies the shape's tooltip in the toolbox panel. Mirrors the client-side title option. |
| ToolboxTemplate(JS) | Specifies a custom template for the shape in the toolbox. Mirrors the client-side toolboxTemplate option. |
| ToolboxTemplate(RazorBlock) | Specifies a custom template for the shape in the toolbox. Mirrors the client-side toolboxTemplate option. |
| ToolboxTemplate(TemplateName) | Specifies a custom template for the shape in the toolbox. Mirrors the client-side toolboxTemplate option. |
| ToolboxTemplate(String) | Specifies a custom template for the shape in the toolbox. Mirrors the client-side toolboxTemplate option. |
| ToolboxWidthToHeightRatio(JS) | Specifies the aspect ratio of the shape in the toolbox. Mirrors the client-side toolboxWidthToHeightRatio option. |
| ToolboxWidthToHeightRatio(Double) | Specifies the aspect ratio of the shape in the toolbox. Mirrors the client-side toolboxWidthToHeightRatio option. |
| ToString() | Returns a string that represents the current object. Inherited from Object. |
| Type(JS) | Specifies the custom shape's identifier. Mirrors the client-side type option. |
| Type(String) | Specifies the custom shape's identifier. Mirrors the client-side type option. |
See Also