Table of Contents

Class DrawingGroup

Namespace
Avalonia.Media
Assembly
Avalonia.Base.dll
public sealed class DrawingGroup : Drawing, INotifyPropertyChanged
Inheritance
DrawingGroup
Implements
Inherited Members
Extension Methods

Constructors

DrawingGroup()

public DrawingGroup()

Fields

ChildrenProperty

public static readonly DirectProperty<DrawingGroup, DrawingCollection> ChildrenProperty

Field Value

DirectProperty<DrawingGroup, DrawingCollection>

ClipGeometryProperty

public static readonly StyledProperty<Geometry?> ClipGeometryProperty

Field Value

StyledProperty<Geometry>

OpacityMaskProperty

public static readonly StyledProperty<IBrush?> OpacityMaskProperty

Field Value

StyledProperty<IBrush>

OpacityProperty

public static readonly StyledProperty<double> OpacityProperty

Field Value

StyledProperty<double>

TransformProperty

public static readonly StyledProperty<Transform?> TransformProperty

Field Value

StyledProperty<Transform>

Properties

Children

Gets or sets the collection that contains the child geometries.

[Content]
public DrawingCollection Children { get; set; }

Property Value

DrawingCollection

ClipGeometry

public Geometry? ClipGeometry { get; set; }

Property Value

Geometry

Opacity

public double Opacity { get; set; }

Property Value

double

OpacityMask

public IBrush? OpacityMask { get; set; }

Property Value

IBrush

Transform

public Transform? Transform { get; set; }

Property Value

Transform

Methods

GetBounds()

Gets the drawing's bounding rectangle.

public override Rect GetBounds()

Returns

Rect

Open()

public DrawingContext Open()

Returns

DrawingContext