Class PathBuilder
public class PathBuilder
- Inheritance
-
PathBuilder
- Inherited Members
Methods
AddCircle(PathBuilderHandle, PointHandle, float)
Calls native method gsk_path_builder_add_circle. Version: 4.14
[Version("4.14")]
public static extern void AddCircle(PathBuilderHandle self, PointHandle center, float radius)
Parameters
self
PathBuilderHandleTransfer ownership: None Nullable: False
center
PointHandleTransfer ownership: None Nullable: False
radius
floatTransfer ownership: None Nullable: False
AddLayout(PathBuilderHandle, IntPtr)
Calls native method gsk_path_builder_add_layout. Version: 4.14
[Version("4.14")]
public static extern void AddLayout(PathBuilderHandle self, IntPtr layout)
Parameters
self
PathBuilderHandleTransfer ownership: None Nullable: False
layout
IntPtrTransfer ownership: None Nullable: False
AddPath(PathBuilderHandle, PathHandle)
Calls native method gsk_path_builder_add_path. Version: 4.14
[Version("4.14")]
public static extern void AddPath(PathBuilderHandle self, PathHandle path)
Parameters
self
PathBuilderHandleTransfer ownership: None Nullable: False
path
PathHandleTransfer ownership: None Nullable: False
AddRect(PathBuilderHandle, RectHandle)
Calls native method gsk_path_builder_add_rect. Version: 4.14
[Version("4.14")]
public static extern void AddRect(PathBuilderHandle self, RectHandle rect)
Parameters
self
PathBuilderHandleTransfer ownership: None Nullable: False
rect
RectHandleTransfer ownership: None Nullable: False
AddReversePath(PathBuilderHandle, PathHandle)
Calls native method gsk_path_builder_add_reverse_path. Version: 4.14
[Version("4.14")]
public static extern void AddReversePath(PathBuilderHandle self, PathHandle path)
Parameters
self
PathBuilderHandleTransfer ownership: None Nullable: False
path
PathHandleTransfer ownership: None Nullable: False
AddRoundedRect(PathBuilderHandle, RoundedRectHandle)
Calls native method gsk_path_builder_add_rounded_rect. Version: 4.14
[Version("4.14")]
public static extern void AddRoundedRect(PathBuilderHandle self, RoundedRectHandle rect)
Parameters
self
PathBuilderHandleTransfer ownership: None Nullable: False
rect
RoundedRectHandleTransfer ownership: None Nullable: False
AddSegment(PathBuilderHandle, PathHandle, PathPointHandle, PathPointHandle)
Calls native method gsk_path_builder_add_segment. Version: 4.14
[Version("4.14")]
public static extern void AddSegment(PathBuilderHandle self, PathHandle path, PathPointHandle start, PathPointHandle end)
Parameters
self
PathBuilderHandleTransfer ownership: None Nullable: False
path
PathHandleTransfer ownership: None Nullable: False
start
PathPointHandleTransfer ownership: None Nullable: False
end
PathPointHandleTransfer ownership: None Nullable: False
ArcTo(PathBuilderHandle, float, float, float, float)
Calls native method gsk_path_builder_arc_to. Version: 4.14
[Version("4.14")]
public static extern void ArcTo(PathBuilderHandle self, float x1, float y1, float x2, float y2)
Parameters
self
PathBuilderHandleTransfer ownership: None Nullable: False
x1
floatTransfer ownership: None Nullable: False
y1
floatTransfer ownership: None Nullable: False
x2
floatTransfer ownership: None Nullable: False
y2
floatTransfer ownership: None Nullable: False
Close(PathBuilderHandle)
Calls native method gsk_path_builder_close. Version: 4.14
[Version("4.14")]
public static extern void Close(PathBuilderHandle self)
Parameters
self
PathBuilderHandleTransfer ownership: None Nullable: False
ConicTo(PathBuilderHandle, float, float, float, float, float)
Calls native method gsk_path_builder_conic_to. Version: 4.14
[Version("4.14")]
public static extern void ConicTo(PathBuilderHandle self, float x1, float y1, float x2, float y2, float weight)
Parameters
self
PathBuilderHandleTransfer ownership: None Nullable: False
x1
floatTransfer ownership: None Nullable: False
y1
floatTransfer ownership: None Nullable: False
x2
floatTransfer ownership: None Nullable: False
y2
floatTransfer ownership: None Nullable: False
weight
floatTransfer ownership: None Nullable: False
CubicTo(PathBuilderHandle, float, float, float, float, float, float)
Calls native method gsk_path_builder_cubic_to. Version: 4.14
[Version("4.14")]
public static extern void CubicTo(PathBuilderHandle self, float x1, float y1, float x2, float y2, float x3, float y3)
Parameters
self
PathBuilderHandleTransfer ownership: None Nullable: False
x1
floatTransfer ownership: None Nullable: False
y1
floatTransfer ownership: None Nullable: False
x2
floatTransfer ownership: None Nullable: False
y2
floatTransfer ownership: None Nullable: False
x3
floatTransfer ownership: None Nullable: False
y3
floatTransfer ownership: None Nullable: False
FreeToPath(PathBuilderHandle)
Calls native method gsk_path_builder_free_to_path. Version: 4.14
[Version("4.14")]
public static extern PathOwnedHandle FreeToPath(PathBuilderHandle self)
Parameters
self
PathBuilderHandleTransfer ownership: None Nullable: False
Returns
- PathOwnedHandle
Transfer ownership: Full Nullable: False
GetCurrentPoint(PathBuilderHandle)
Calls native method gsk_path_builder_get_current_point. Version: 4.14
[Version("4.14")]
public static extern PointUnownedHandle GetCurrentPoint(PathBuilderHandle self)
Parameters
self
PathBuilderHandleTransfer ownership: None Nullable: False
Returns
- PointUnownedHandle
Transfer ownership: None Nullable: False
GetGType()
Calls native function gsk_path_builder_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
HtmlArcTo(PathBuilderHandle, float, float, float, float, float)
Calls native method gsk_path_builder_html_arc_to. Version: 4.14
[Version("4.14")]
public static extern void HtmlArcTo(PathBuilderHandle self, float x1, float y1, float x2, float y2, float radius)
Parameters
self
PathBuilderHandleTransfer ownership: None Nullable: False
x1
floatTransfer ownership: None Nullable: False
y1
floatTransfer ownership: None Nullable: False
x2
floatTransfer ownership: None Nullable: False
y2
floatTransfer ownership: None Nullable: False
radius
floatTransfer ownership: None Nullable: False
LineTo(PathBuilderHandle, float, float)
Calls native method gsk_path_builder_line_to. Version: 4.14
[Version("4.14")]
public static extern void LineTo(PathBuilderHandle self, float x, float y)
Parameters
self
PathBuilderHandleTransfer ownership: None Nullable: False
x
floatTransfer ownership: None Nullable: False
y
floatTransfer ownership: None Nullable: False
MoveTo(PathBuilderHandle, float, float)
Calls native method gsk_path_builder_move_to. Version: 4.14
[Version("4.14")]
public static extern void MoveTo(PathBuilderHandle self, float x, float y)
Parameters
self
PathBuilderHandleTransfer ownership: None Nullable: False
x
floatTransfer ownership: None Nullable: False
y
floatTransfer ownership: None Nullable: False
New()
Calls native constructor gsk_path_builder_new. Version: 4.14
[Version("4.14")]
public static extern PathBuilderOwnedHandle New()
Returns
- PathBuilderOwnedHandle
Transfer ownership: Full Nullable: False
QuadTo(PathBuilderHandle, float, float, float, float)
Calls native method gsk_path_builder_quad_to. Version: 4.14
[Version("4.14")]
public static extern void QuadTo(PathBuilderHandle self, float x1, float y1, float x2, float y2)
Parameters
self
PathBuilderHandleTransfer ownership: None Nullable: False
x1
floatTransfer ownership: None Nullable: False
y1
floatTransfer ownership: None Nullable: False
x2
floatTransfer ownership: None Nullable: False
y2
floatTransfer ownership: None Nullable: False
Ref(PathBuilderHandle)
Calls native method gsk_path_builder_ref. Version: 4.14
[Version("4.14")]
public static extern PathBuilderUnownedHandle Ref(PathBuilderHandle self)
Parameters
self
PathBuilderHandleTransfer ownership: None Nullable: False
Returns
- PathBuilderUnownedHandle
Transfer ownership: None Nullable: False
RelArcTo(PathBuilderHandle, float, float, float, float)
Calls native method gsk_path_builder_rel_arc_to. Version: 4.14
[Version("4.14")]
public static extern void RelArcTo(PathBuilderHandle self, float x1, float y1, float x2, float y2)
Parameters
self
PathBuilderHandleTransfer ownership: None Nullable: False
x1
floatTransfer ownership: None Nullable: False
y1
floatTransfer ownership: None Nullable: False
x2
floatTransfer ownership: None Nullable: False
y2
floatTransfer ownership: None Nullable: False
RelConicTo(PathBuilderHandle, float, float, float, float, float)
Calls native method gsk_path_builder_rel_conic_to. Version: 4.14
[Version("4.14")]
public static extern void RelConicTo(PathBuilderHandle self, float x1, float y1, float x2, float y2, float weight)
Parameters
self
PathBuilderHandleTransfer ownership: None Nullable: False
x1
floatTransfer ownership: None Nullable: False
y1
floatTransfer ownership: None Nullable: False
x2
floatTransfer ownership: None Nullable: False
y2
floatTransfer ownership: None Nullable: False
weight
floatTransfer ownership: None Nullable: False
RelCubicTo(PathBuilderHandle, float, float, float, float, float, float)
Calls native method gsk_path_builder_rel_cubic_to. Version: 4.14
[Version("4.14")]
public static extern void RelCubicTo(PathBuilderHandle self, float x1, float y1, float x2, float y2, float x3, float y3)
Parameters
self
PathBuilderHandleTransfer ownership: None Nullable: False
x1
floatTransfer ownership: None Nullable: False
y1
floatTransfer ownership: None Nullable: False
x2
floatTransfer ownership: None Nullable: False
y2
floatTransfer ownership: None Nullable: False
x3
floatTransfer ownership: None Nullable: False
y3
floatTransfer ownership: None Nullable: False
RelHtmlArcTo(PathBuilderHandle, float, float, float, float, float)
Calls native method gsk_path_builder_rel_html_arc_to. Version: 4.14
[Version("4.14")]
public static extern void RelHtmlArcTo(PathBuilderHandle self, float x1, float y1, float x2, float y2, float radius)
Parameters
self
PathBuilderHandleTransfer ownership: None Nullable: False
x1
floatTransfer ownership: None Nullable: False
y1
floatTransfer ownership: None Nullable: False
x2
floatTransfer ownership: None Nullable: False
y2
floatTransfer ownership: None Nullable: False
radius
floatTransfer ownership: None Nullable: False
RelLineTo(PathBuilderHandle, float, float)
Calls native method gsk_path_builder_rel_line_to. Version: 4.14
[Version("4.14")]
public static extern void RelLineTo(PathBuilderHandle self, float x, float y)
Parameters
self
PathBuilderHandleTransfer ownership: None Nullable: False
x
floatTransfer ownership: None Nullable: False
y
floatTransfer ownership: None Nullable: False
RelMoveTo(PathBuilderHandle, float, float)
Calls native method gsk_path_builder_rel_move_to. Version: 4.14
[Version("4.14")]
public static extern void RelMoveTo(PathBuilderHandle self, float x, float y)
Parameters
self
PathBuilderHandleTransfer ownership: None Nullable: False
x
floatTransfer ownership: None Nullable: False
y
floatTransfer ownership: None Nullable: False
RelQuadTo(PathBuilderHandle, float, float, float, float)
Calls native method gsk_path_builder_rel_quad_to. Version: 4.14
[Version("4.14")]
public static extern void RelQuadTo(PathBuilderHandle self, float x1, float y1, float x2, float y2)
Parameters
self
PathBuilderHandleTransfer ownership: None Nullable: False
x1
floatTransfer ownership: None Nullable: False
y1
floatTransfer ownership: None Nullable: False
x2
floatTransfer ownership: None Nullable: False
y2
floatTransfer ownership: None Nullable: False
RelSvgArcTo(PathBuilderHandle, float, float, float, bool, bool, float, float)
Calls native method gsk_path_builder_rel_svg_arc_to. Version: 4.14
[Version("4.14")]
public static extern void RelSvgArcTo(PathBuilderHandle self, float rx, float ry, float xAxisRotation, bool largeArc, bool positiveSweep, float x, float y)
Parameters
self
PathBuilderHandleTransfer ownership: None Nullable: False
rx
floatTransfer ownership: None Nullable: False
ry
floatTransfer ownership: None Nullable: False
xAxisRotation
floatTransfer ownership: None Nullable: False
largeArc
boolTransfer ownership: None Nullable: False
positiveSweep
boolTransfer ownership: None Nullable: False
x
floatTransfer ownership: None Nullable: False
y
floatTransfer ownership: None Nullable: False
SvgArcTo(PathBuilderHandle, float, float, float, bool, bool, float, float)
Calls native method gsk_path_builder_svg_arc_to. Version: 4.14
[Version("4.14")]
public static extern void SvgArcTo(PathBuilderHandle self, float rx, float ry, float xAxisRotation, bool largeArc, bool positiveSweep, float x, float y)
Parameters
self
PathBuilderHandleTransfer ownership: None Nullable: False
rx
floatTransfer ownership: None Nullable: False
ry
floatTransfer ownership: None Nullable: False
xAxisRotation
floatTransfer ownership: None Nullable: False
largeArc
boolTransfer ownership: None Nullable: False
positiveSweep
boolTransfer ownership: None Nullable: False
x
floatTransfer ownership: None Nullable: False
y
floatTransfer ownership: None Nullable: False
ToPath(PathBuilderHandle)
Calls native method gsk_path_builder_to_path. Version: 4.14
[Version("4.14")]
public static extern PathOwnedHandle ToPath(PathBuilderHandle self)
Parameters
self
PathBuilderHandleTransfer ownership: None Nullable: False
Returns
- PathOwnedHandle
Transfer ownership: Full Nullable: False
Unref(PathBuilderHandle)
Calls native method gsk_path_builder_unref. Version: 4.14
[Version("4.14")]
public static extern void Unref(PathBuilderHandle self)
Parameters
self
PathBuilderHandleTransfer ownership: None Nullable: False