Class GeometryGroup
Represents a composite geometry, composed of other Geometry objects.
public class GeometryGroup : Geometry, INotifyPropertyChanged
- Inheritance
-
GeometryGroup
- Implements
- Inherited Members
- Extension Methods
Constructors
GeometryGroup()
public GeometryGroup()
Fields
ChildrenProperty
public static readonly DirectProperty<GeometryGroup, GeometryCollection> ChildrenProperty
Field Value
FillRuleProperty
public static readonly StyledProperty<FillRule> FillRuleProperty
Field Value
Properties
Children
Gets or sets the collection that contains the child geometries.
[Content]
public GeometryCollection Children { get; set; }
Property Value
FillRule
Gets or sets how the intersecting areas of the objects contained in this GeometryGroup are combined. The default is EvenOdd.
public FillRule FillRule { get; set; }
Property Value
Methods
Clone()
Clones the geometry.
public override Geometry Clone()
Returns
- Geometry
A cloned geometry.
OnChildrenChanged(GeometryCollection, GeometryCollection)
protected void OnChildrenChanged(GeometryCollection oldChildren, GeometryCollection newChildren)
Parameters
oldChildren
GeometryCollectionnewChildren
GeometryCollection
OnPropertyChanged(AvaloniaPropertyChangedEventArgs)
Called when a avalonia property changes on the object.
protected override void OnPropertyChanged(AvaloniaPropertyChangedEventArgs change)
Parameters
change
AvaloniaPropertyChangedEventArgsThe property change details.