GeometrySource Members
Provides the base class of a source of geometry. Generates and caches the geometry based on the input parameters and the layout bounds.
The following tables list the members exposed by the GeometrySource type.
Protected Constructors
Name | Description | |
---|---|---|
GeometrySource |
Top
Protected Fields
Name | Description | |
---|---|---|
cachedGeometry | Specifics the geometry from the previous geometry effect process. |
Top
Public Properties
Name | Description | |
---|---|---|
Geometry | Gets or sets the resulting geometry after the latest UpdateGeometry(). | |
LayoutBounds | Gets the actual bounds of FrameworkElement. LayoutBounds includes logical bounds, stretch and stroke thickness. | |
LogicalBounds | Gets the bounding box that the geometry should stretch to. The actual geometry might be smaller or larger than this. LogicalBounds should already take stroke thickness and stretch into consideration. |
Top
Public Methods
(see also Protected Methods)
Name | Description | |
---|---|---|
Equals | Overloaded. (Inherited from Object) | |
GetHashCode | (Inherited from Object) | |
GetType | (Inherited from Object) | |
InvalidateGeometry | Notifies that the geometry has been invalidated because of external changes. | |
ReferenceEquals | (Inherited from Object) | |
ToString | (Inherited from Object) | |
UpdateGeometry | Update the geometry based on the given parameters and layoutBounds. Returns false if the geometry hasn't been changed. |
Top
Protected Methods
Name | Description | |
---|---|---|
ComputeLogicalBounds | Extends the way to handle stretch mode. The default is to always use Stretch.Fill and center stroke. | |
Finalize | (Inherited from Object) | |
MemberwiseClone | (Inherited from Object) | |
UpdateCachedGeometry | Extends the way to provide geometry by implementing this function. Returns true when any of the geometry is changed. |
Top
See Also
Reference
GeometrySource Generic Class
Microsoft.Expression.Media Namespace