New to Telerik UI for .NET MAUIStart a free 30-day trial

Base abstract class representing a geometric shape. This class provides common functionality for all geometric shapes and serves as the foundation for path-based geometry definitions.

Definition

Namespace:Telerik.Maui.Controls.Paths

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
[TypeConverter(typeof(GeometryTypeConverter))]
public abstract class RadGeometry : NotifyPropertyChangedBase, INotifyPropertyChanged

Inheritance: objectNotifyPropertyChangedBaseRadGeometry

Derived Classes: RadEllipseGeometryRadLineGeometryRadPathGeometryRadRectangleGeometry

Implements: INotifyPropertyChanged

Inherited Members NotifyPropertyChangedBase.OnPropertyChanged(string)NotifyPropertyChangedBase.UpdateValue<T>(ref T, T, string)NotifyPropertyChangedBase.UpdateValue<T>(ref T, T, Action<T>, string)NotifyPropertyChangedBase.PropertyChanged

Constructors

Initializes a new instance of the RadGeometry class.

C#
protected RadGeometry()

Properties

Gets a predefined circle-shaped geometry.

C#
public static RadPathGeometry Circle { get; }
Property Value:

A RadPathGeometry representing a perfect circle.

Gets a predefined diamond-shaped geometry.

C#
public static RadPathGeometry Diamond { get; }
Property Value:

A RadPathGeometry representing a diamond shape.

Gets a predefined heart-shaped geometry.

C#
public static RadPathGeometry Heart { get; }
Property Value:

A RadPathGeometry representing a heart shape.

Gets a predefined star-shaped geometry.

C#
public static RadPathGeometry Star { get; }
Property Value:

A RadPathGeometry representing a five-pointed star.

Gets or sets the transformation applied to the geometry.

C#
public RadTransform Transform { get; set; }
Property Value:

A RadTransform that defines the transformation to apply to the geometry.