New to Telerik UI for WinForms? Start a free 30-day trial

Groups geometries for path rendering and maintains bounds from its child collection.

Definition

Namespace:Telerik.WinControls.RichTextEditor.UI

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public sealed class GeometryGroup : Geometry

Inheritance: objectGeometryGeometryGroup

Constructors

Initializes an empty group with an observable child collection.

C#
public GeometryGroup()

Properties

Gets the cached extent of the children, or Empty when the group is empty. Collection changes refresh the extent; child-property changes do not. The bounds accumulator starts at the origin, so negative-only child extents can include the origin in the result.

C#
public override Rect Bounds { get; }

Overrides: Geometry.Bounds

Gets the child geometries. Collection changes refresh the cached bounds, but changes inside an existing child are not observed.

C#
public ObservableCollection<Geometry> Children { get; }

Gets or sets the fill-rule metadata for this group. The built-in RichTextEditor path renderer paints children individually and does not use this value. The default value is EvenOdd.

C#
public FillRule FillRule { get; set; }