Share via


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
protected field cachedGeometry Specifics the geometry from the previous geometry effect process.

Top

Public Properties

  Name Description
public property Geometry Gets or sets the resulting geometry after the latest UpdateGeometry().
public property LayoutBounds Gets the actual bounds of FrameworkElement. LayoutBounds includes logical bounds, stretch and stroke thickness.
public property 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
public method Equals  Overloaded. (Inherited from Object)
public method GetHashCode  (Inherited from Object)
public method GetType  (Inherited from Object)
public method InvalidateGeometry Notifies that the geometry has been invalidated because of external changes.
public methodstatic ReferenceEquals  (Inherited from Object)
public method ToString  (Inherited from Object)
public method 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
protected method ComputeLogicalBounds Extends the way to handle stretch mode. The default is to always use Stretch.Fill and center stroke.
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)
protected method 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