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
Methods
AddCircle(Point, float)
[Version("4.14")]
public void AddCircle(Point center, float radius)
Parameters
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
ArcTo(float, float, float, float)
[Version("4.14")]
public void ArcTo(float x1, float y1, float x2, float y2)
Parameters
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
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
Equals(PathBuilder?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(PathBuilder? other)
Parameters
other
PathBuilderAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
FreeToPath()
[Version("4.14")]
public Path FreeToPath()
Returns
GetCurrentPoint()
[Version("4.14")]
public Point GetCurrentPoint()
Returns
GetGType()
public static Type GetGType()
Returns
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
LineTo(float, float)
[Version("4.14")]
public void LineTo(float x, float y)
Parameters
MoveTo(float, float)
[Version("4.14")]
public void MoveTo(float x, float y)
Parameters
New()
[Version("4.14")]
public static PathBuilder New()
Returns
QuadTo(float, float, float, float)
[Version("4.14")]
public void QuadTo(float x1, float y1, float x2, float y2)
Parameters
Ref()
[Version("4.14")]
public PathBuilder Ref()
Returns
RelArcTo(float, float, float, float)
[Version("4.14")]
public void RelArcTo(float x1, float y1, float x2, float y2)
Parameters
RelConicTo(float, float, float, float, float)
[Version("4.14")]
public void RelConicTo(float x1, float y1, float x2, float y2, float weight)
Parameters
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
RelHtmlArcTo(float, float, float, float, float)
[Version("4.14")]
public void RelHtmlArcTo(float x1, float y1, float x2, float y2, float radius)
Parameters
RelLineTo(float, float)
[Version("4.14")]
public void RelLineTo(float x, float y)
Parameters
RelMoveTo(float, float)
[Version("4.14")]
public void RelMoveTo(float x, float y)
Parameters
RelQuadTo(float, float, float, float)
[Version("4.14")]
public void RelQuadTo(float x1, float y1, float x2, float y2)
Parameters
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
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
ToPath()
[Version("4.14")]
public Path ToPath()
Returns
Unref()
[Version("4.14")]
public void Unref()