gsk.stroke
Module for [Stroke] class
class Stroke
Types 1
classStroke : gobject.boxed.Boxed
A gsk.stroke.Stroke struct collects the parameters that influence the operation of stroking a path.
Methods
gsk.stroke.Stroke copy() nothrowCreates a copy of the given other stroke. Returns: a new [gsk.stroke.Stroke]. Use [gsk.stroke.Stroke.free] to free itfloat[] getDash() nothrowGets the dash array in use or `NULL` if dashing is disabled. Returns: The dash array or `NULL` if the dash array is empty.void setDashOffset(float offset) nothrowSets the offset into the dash pattern where dashing should begin.void setMiterLimit(float limit) nothrowSets the limit for the distance from the corner where sharp turns of joins get cut off.void toCairo(cairo.context.Context cr) nothrowA helper function that sets the stroke parameters of cr from the values found in self.bool equal(const(void) * stroke1 = null, const(void) * stroke2 = null) static nothrowChecks if 2 strokes are identical.