Menu

The following tables list the members exposed by the GeometrySource type.

Protected Constructors

NameDescription
GeometrySource
Top

Protected Fields

NameDescription
cachedGeometry Specifics the geometry from the previous geometry effect process.
Top

Public Properties

NameDescription
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)

NameDescription
EqualsOverloaded. (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

NameDescription
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