Gsk.Stroke
Description: Reference for Gsk.Stroke

### Struct

# GskStroke

since: 4.14

#### Description [src]

    struct GskStroke {
      /* No available fields */
    }

A `GskStroke` struct collects the parameters that influence the operation of stroking a path.

Available since: 4.14

#### Constructors

###### gsk_stroke_new

Creates a new `GskStroke` with the given `line_width`.

since: 4.14

#### Functions

###### gsk_stroke_equal

Checks if 2 strokes are identical.

since: 4.14

#### Instance methods

###### gsk_stroke_copy

Creates a copy of the given `other` stroke.

since: 4.14

###### gsk_stroke_free

Frees a `GskStroke`.

since: 4.14

###### gsk_stroke_get_dash

Gets the dash array in use or `NULL` if dashing is disabled.

since: 4.14

###### gsk_stroke_get_dash_offset

Returns the dash_offset of a `GskStroke`.

since: 4.14

###### gsk_stroke_get_line_cap

Gets the line cap used.

since: 4.14

###### gsk_stroke_get_line_join

Gets the line join used.

since: 4.14

###### gsk_stroke_get_line_width

Gets the line width used.

since: 4.14

###### gsk_stroke_get_miter_limit

Returns the miter limit of a `GskStroke`.

since: 4.14

###### gsk_stroke_set_dash

Sets the dash pattern to use by this stroke.

since: 4.14

###### gsk_stroke_set_dash_offset

Sets the offset into the dash pattern where dashing should begin.

since: 4.14

###### gsk_stroke_set_line_cap

Sets the line cap to be used when stroking.

since: 4.14

###### gsk_stroke_set_line_join

Sets the line join to be used when stroking.

since: 4.14

###### gsk_stroke_set_line_width

Sets the line width to be used when stroking.

since: 4.14

###### gsk_stroke_set_miter_limit

Sets the limit for the distance from the corner where sharp turns of joins get cut off.

since: 4.14

###### gsk_stroke_to_cairo

A helper function that sets the stroke parameters of `cr` from the values found in `self`.

since: 4.14