Class Stroke
public class Stroke
- Inheritance
-
Stroke
- Inherited Members
Methods
Copy(StrokeHandle)
Calls native method gsk_stroke_copy. Version: 4.14
[Version("4.14")]
public static extern StrokeOwnedHandle Copy(StrokeHandle other)
Parameters
other
StrokeHandleTransfer ownership: None Nullable: False
Returns
- StrokeOwnedHandle
Transfer ownership: Full Nullable: False
Equal(IntPtr, IntPtr)
Calls native function gsk_stroke_equal. Version: 4.14
[Version("4.14")]
public static extern bool Equal(IntPtr stroke1, IntPtr stroke2)
Parameters
stroke1
IntPtrTransfer ownership: None Nullable: True
stroke2
IntPtrTransfer ownership: None Nullable: True
Returns
- bool
Transfer ownership: None Nullable: False
Free(StrokeHandle)
Calls native method gsk_stroke_free. Version: 4.14
[Version("4.14")]
public static extern void Free(StrokeHandle self)
Parameters
self
StrokeHandleTransfer ownership: None Nullable: False
GetDash(StrokeHandle, out nuint)
Calls native method gsk_stroke_get_dash. Version: 4.14
[Version("4.14")]
public static extern float[] GetDash(StrokeHandle self, out nuint nDash)
Parameters
self
StrokeHandleTransfer ownership: None Nullable: False
nDash
nuintTransfer ownership: Full Nullable: False
Returns
- float[]
Transfer ownership: None Nullable: True
GetDashOffset(StrokeHandle)
Calls native method gsk_stroke_get_dash_offset. Version: 4.14
[Version("4.14")]
public static extern float GetDashOffset(StrokeHandle self)
Parameters
self
StrokeHandleTransfer ownership: None Nullable: False
Returns
- float
Transfer ownership: None Nullable: False
GetGType()
Calls native function gsk_stroke_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
GetLineCap(StrokeHandle)
Calls native method gsk_stroke_get_line_cap. Version: 4.14
[Version("4.14")]
public static extern LineCap GetLineCap(StrokeHandle self)
Parameters
self
StrokeHandleTransfer ownership: None Nullable: False
Returns
- LineCap
Transfer ownership: None Nullable: False
GetLineJoin(StrokeHandle)
Calls native method gsk_stroke_get_line_join. Version: 4.14
[Version("4.14")]
public static extern LineJoin GetLineJoin(StrokeHandle self)
Parameters
self
StrokeHandleTransfer ownership: None Nullable: False
Returns
- LineJoin
Transfer ownership: None Nullable: False
GetLineWidth(StrokeHandle)
Calls native method gsk_stroke_get_line_width. Version: 4.14
[Version("4.14")]
public static extern float GetLineWidth(StrokeHandle self)
Parameters
self
StrokeHandleTransfer ownership: None Nullable: False
Returns
- float
Transfer ownership: None Nullable: False
GetMiterLimit(StrokeHandle)
Calls native method gsk_stroke_get_miter_limit. Version: 4.14
[Version("4.14")]
public static extern float GetMiterLimit(StrokeHandle self)
Parameters
self
StrokeHandleTransfer ownership: None Nullable: False
Returns
- float
Transfer ownership: None Nullable: False
New(float)
Calls native constructor gsk_stroke_new. Version: 4.14
[Version("4.14")]
public static extern StrokeOwnedHandle New(float lineWidth)
Parameters
lineWidth
floatTransfer ownership: None Nullable: False
Returns
- StrokeOwnedHandle
Transfer ownership: Full Nullable: False
SetDash(StrokeHandle, ref float, nuint)
Calls native method gsk_stroke_set_dash. Version: 4.14
[Version("4.14")]
public static extern void SetDash(StrokeHandle self, ref float dash, nuint nDash)
Parameters
self
StrokeHandleTransfer ownership: None Nullable: False
dash
floatTransfer ownership: None Nullable: True
nDash
nuintTransfer ownership: None Nullable: False
SetDashOffset(StrokeHandle, float)
Calls native method gsk_stroke_set_dash_offset. Version: 4.14
[Version("4.14")]
public static extern void SetDashOffset(StrokeHandle self, float offset)
Parameters
self
StrokeHandleTransfer ownership: None Nullable: False
offset
floatTransfer ownership: None Nullable: False
SetLineCap(StrokeHandle, LineCap)
Calls native method gsk_stroke_set_line_cap. Version: 4.14
[Version("4.14")]
public static extern void SetLineCap(StrokeHandle self, LineCap lineCap)
Parameters
self
StrokeHandleTransfer ownership: None Nullable: False
lineCap
LineCapTransfer ownership: None Nullable: False
SetLineJoin(StrokeHandle, LineJoin)
Calls native method gsk_stroke_set_line_join. Version: 4.14
[Version("4.14")]
public static extern void SetLineJoin(StrokeHandle self, LineJoin lineJoin)
Parameters
self
StrokeHandleTransfer ownership: None Nullable: False
lineJoin
LineJoinTransfer ownership: None Nullable: False
SetLineWidth(StrokeHandle, float)
Calls native method gsk_stroke_set_line_width. Version: 4.14
[Version("4.14")]
public static extern void SetLineWidth(StrokeHandle self, float lineWidth)
Parameters
self
StrokeHandleTransfer ownership: None Nullable: False
lineWidth
floatTransfer ownership: None Nullable: False
SetMiterLimit(StrokeHandle, float)
Calls native method gsk_stroke_set_miter_limit. Version: 4.14
[Version("4.14")]
public static extern void SetMiterLimit(StrokeHandle self, float limit)
Parameters
self
StrokeHandleTransfer ownership: None Nullable: False
limit
floatTransfer ownership: None Nullable: False
ToCairo(StrokeHandle, ContextHandle)
Calls native method gsk_stroke_to_cairo. Version: 4.14
[Version("4.14")]
public static extern void ToCairo(StrokeHandle self, ContextHandle cr)
Parameters
self
StrokeHandleTransfer ownership: None Nullable: False
cr
ContextHandleTransfer ownership: None Nullable: False