Table of Contents

Class StreamGeometry

Namespace
Avalonia.Media
Assembly
Avalonia.Base.dll

Represents the geometry of an arbitrarily complex shape.

public class StreamGeometry : Geometry, INotifyPropertyChanged
Inheritance
StreamGeometry
Implements
Derived
Inherited Members
Extension Methods

Constructors

StreamGeometry()

Initializes a new instance of the StreamGeometry class.

public StreamGeometry()

Methods

Clone()

Clones the geometry.

public override Geometry Clone()

Returns

Geometry

A cloned geometry.

Open()

Opens the geometry to start defining it.

public StreamGeometryContext Open()

Returns

StreamGeometryContext

A StreamGeometryContext which can be used to define the geometry.

Parse(string)

Creates a StreamGeometry from a string.

public static StreamGeometry Parse(string s)

Parameters

s string

The string.

Returns

StreamGeometry

A StreamGeometry.