Table of Contents

Class PathBuilder

Namespace
Gsk
Assembly
Gsk-4.0.dll
public sealed class PathBuilder : BoxedRecord, IEquatable<PathBuilder>
Inheritance
PathBuilder
Implements
Inherited Members

Constructors

PathBuilder(PathBuilderOwnedHandle)

public PathBuilder(PathBuilderOwnedHandle handle)

Parameters

handle PathBuilderOwnedHandle

Properties

Handle

public PathBuilderOwnedHandle Handle { get; }

Property Value

PathBuilderOwnedHandle

Methods

AddCircle(Point, float)

[Version("4.14")]
public void AddCircle(Point center, float radius)

Parameters

center Point
radius float

AddLayout(Layout)

[Version("4.14")]
public void AddLayout(Layout layout)

Parameters

layout Layout

AddPath(Path)

[Version("4.14")]
public void AddPath(Path path)

Parameters

path Path

AddRect(Rect)

[Version("4.14")]
public void AddRect(Rect rect)

Parameters

rect Rect

AddReversePath(Path)

[Version("4.14")]
public void AddReversePath(Path path)

Parameters

path Path

AddRoundedRect(RoundedRect)

[Version("4.14")]
public void AddRoundedRect(RoundedRect rect)

Parameters

rect RoundedRect

AddSegment(Path, PathPoint, PathPoint)

[Version("4.14")]
public void AddSegment(Path path, PathPoint start, PathPoint end)

Parameters

path Path
start PathPoint
end PathPoint

ArcTo(float, float, float, float)

[Version("4.14")]
public void ArcTo(float x1, float y1, float x2, float y2)

Parameters

x1 float
y1 float
x2 float
y2 float

Close()

[Version("4.14")]
public void Close()

ConicTo(float, float, float, float, float)

[Version("4.14")]
public void ConicTo(float x1, float y1, float x2, float y2, float weight)

Parameters

x1 float
y1 float
x2 float
y2 float
weight float

CubicTo(float, float, float, float, float, float)

[Version("4.14")]
public void CubicTo(float x1, float y1, float x2, float y2, float x3, float y3)

Parameters

x1 float
y1 float
x2 float
y2 float
x3 float
y3 float

Equals(PathBuilder?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(PathBuilder? other)

Parameters

other PathBuilder

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

FreeToPath()

[Version("4.14")]
public Path FreeToPath()

Returns

Path

GetCurrentPoint()

[Version("4.14")]
public Point GetCurrentPoint()

Returns

Point

GetGType()

public static Type GetGType()

Returns

Type

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

HtmlArcTo(float, float, float, float, float)

[Version("4.14")]
public void HtmlArcTo(float x1, float y1, float x2, float y2, float radius)

Parameters

x1 float
y1 float
x2 float
y2 float
radius float

LineTo(float, float)

[Version("4.14")]
public void LineTo(float x, float y)

Parameters

x float
y float

MoveTo(float, float)

[Version("4.14")]
public void MoveTo(float x, float y)

Parameters

x float
y float

New()

[Version("4.14")]
public static PathBuilder New()

Returns

PathBuilder

QuadTo(float, float, float, float)

[Version("4.14")]
public void QuadTo(float x1, float y1, float x2, float y2)

Parameters

x1 float
y1 float
x2 float
y2 float

Ref()

[Version("4.14")]
public PathBuilder Ref()

Returns

PathBuilder

RelArcTo(float, float, float, float)

[Version("4.14")]
public void RelArcTo(float x1, float y1, float x2, float y2)

Parameters

x1 float
y1 float
x2 float
y2 float

RelConicTo(float, float, float, float, float)

[Version("4.14")]
public void RelConicTo(float x1, float y1, float x2, float y2, float weight)

Parameters

x1 float
y1 float
x2 float
y2 float
weight float

RelCubicTo(float, float, float, float, float, float)

[Version("4.14")]
public void RelCubicTo(float x1, float y1, float x2, float y2, float x3, float y3)

Parameters

x1 float
y1 float
x2 float
y2 float
x3 float
y3 float

RelHtmlArcTo(float, float, float, float, float)

[Version("4.14")]
public void RelHtmlArcTo(float x1, float y1, float x2, float y2, float radius)

Parameters

x1 float
y1 float
x2 float
y2 float
radius float

RelLineTo(float, float)

[Version("4.14")]
public void RelLineTo(float x, float y)

Parameters

x float
y float

RelMoveTo(float, float)

[Version("4.14")]
public void RelMoveTo(float x, float y)

Parameters

x float
y float

RelQuadTo(float, float, float, float)

[Version("4.14")]
public void RelQuadTo(float x1, float y1, float x2, float y2)

Parameters

x1 float
y1 float
x2 float
y2 float

RelSvgArcTo(float, float, float, bool, bool, float, float)

[Version("4.14")]
public void RelSvgArcTo(float rx, float ry, float xAxisRotation, bool largeArc, bool positiveSweep, float x, float y)

Parameters

rx float
ry float
xAxisRotation float
largeArc bool
positiveSweep bool
x float
y float

SvgArcTo(float, float, float, bool, bool, float, float)

[Version("4.14")]
public void SvgArcTo(float rx, float ry, float xAxisRotation, bool largeArc, bool positiveSweep, float x, float y)

Parameters

rx float
ry float
xAxisRotation float
largeArc bool
positiveSweep bool
x float
y float

ToPath()

[Version("4.14")]
public Path ToPath()

Returns

Path

Unref()

[Version("4.14")]
public void Unref()