Gsk.Stroke
Description: Reference for Gsk.Stroke

### Struct

# GskStroke

unstable 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`.

unstable since: 4.14

#### Functions

###### gsk_stroke_equal

Checks if 2 strokes are identical.

unstable since: 4.14

#### Instance methods

###### gsk_stroke_copy

Creates a copy of the given `other` stroke.

unstable since: 4.14

###### gsk_stroke_free

Frees a `GskStroke`.

unstable since: 4.14

###### gsk_stroke_get_dash

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

unstable since: 4.14

###### gsk_stroke_get_dash_offset

Returns the dash_offset of a `GskStroke`.

unstable since: 4.14

###### gsk_stroke_get_line_cap

Gets the line cap used.

unstable since: 4.14

###### gsk_stroke_get_line_join

Gets the line join used.

unstable since: 4.14

###### gsk_stroke_get_line_width

Gets the line width used.

unstable since: 4.14

###### gsk_stroke_get_miter_limit

Returns the miter limit of a `GskStroke`.

unstable since: 4.14

###### gsk_stroke_set_dash

Sets the dash pattern to use by this stroke.

unstable since: 4.14

###### gsk_stroke_set_dash_offset

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

unstable since: 4.14

###### gsk_stroke_set_line_cap

Sets the line cap to be used when stroking.

unstable since: 4.14

###### gsk_stroke_set_line_join

Sets the line join to be used when stroking.

unstable since: 4.14

###### gsk_stroke_set_line_width

Sets the line width to be used when stroking.

unstable 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.

unstable since: 4.14

###### gsk_stroke_to_cairo

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

unstable since: 4.14