IShape Members
Provides the necessary interface to define a Shape. Both primitive and composite shapes need to match this interface, although they might derive from different types of FrameworkElement.
The following tables list the members exposed by the IShape type.
Public Properties
Name | Description | |
---|---|---|
Fill | Gets or sets the Brush that specifies how to paint the interior of the shape. | |
GeometryMargin | Gets the margin between logical bounds and actual geometry bounds. This can be either positive (as in Arc) or negative (as in Callout). | |
RenderedGeometry | Gets the rendered geometry presented by the rendering engine. | |
Stretch | Gets or sets a Stretch enumeration value that describes how the shape fills its allocated space. | |
Stroke | Gets or sets the Brush that specifies how the Shape outline is painted. | |
StrokeThickness | Gets or sets the width of the Shape stroke outline. |
Top
Public Methods
Name | Description | |
---|---|---|
InvalidateGeometry | Invalidates the geometry for a IShape. After the invalidation, the IShape will recompute the geometry, which will occur asynchronously. |
Top
Public Events
Name | Description | |
---|---|---|
RenderedGeometryChanged | Occurs when RenderedGeometry is changed. |
Top