INodeShapeStyle Interface
Namespace: NextDesign.Core
Description
Provides access to node shape style information.
Belonging Area
| Name | Description |
|---|---|
| Editor | A group of APIs to access editors. |
Inherit Base
| Name | Description |
|---|---|
| IShapeStyle | Provides access to shape style information. |
Property
| Name | Description |
|---|---|
| Figure | Gets or sets the shape's figure. Case-insensitive. If a value outside the range is specified, the figure will not be displayed. If null or an empty string is specified, the figure will be the one specified in the view definition. If the shape definition does not allow changes to the figure, it will be ignored and will not be changed. |
| IsSimplified | Gets or sets whether the shape is simplified. This API currently only supports compartment shapes. Setting a value for other types of shapes will not switch to simplified view. |
Method
| Name | Description |
|---|---|
| ClearImage | Clears the image of the shape. If the shape definition does not allow pasting of images, the image will not be cleared and will be ignored even if executed. |
| SetImage | Sets an image to the shape. If the shape definition does not allow pasting of images, the image will not be changed and will be ignored even if executed. |