Class Geometry
Provides a base class for objects that define geometric shapes. Geometry objects can be used for clipping regions and as geometry definitions for rendering two-dimensional graphic data as a Path.
Inheritance
System.Object
Geometry
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Media
Assembly: OpenSilver.dll
Syntax
public abstract class Geometry : DependencyObject, IDependencyObject
Fields
| Improve this Doc View SourceTransformProperty
Identifies the Transform dependency property.
Declaration
public static readonly DependencyProperty TransformProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceBounds
Declaration
[NotImplemented]
public Rect Bounds { get; }
Property Value
Type | Description |
---|---|
Rect | The axis-aligned bounding box of the Geometry. |
Empty
Gets an empty geometry object.
Declaration
public static Geometry Empty { get; }
Property Value
Type | Description |
---|---|
Geometry | The empty geometry object. |
StandardFlatteningTolerance
Gets the standard tolerance used for polygonal approximation.
Declaration
[NotImplemented]
public static double StandardFlatteningTolerance { get; }
Property Value
Type | Description |
---|---|
System.Double | The standard tolerance. The default value is 0.25. |
Transform
Declaration
public Transform Transform { get; set; }
Property Value
Type | Description |
---|---|
Transform | The transformation applied to the Geometry. Note that this value may be a single Transform or a TransformCollection cast as a Transform. |