Package: gsk

Function gsk:stroke-dash-offset

Lambda List

gsk:stroke-dash-offset (stroke)

Syntax

(gsk:stroke-dash-offset stroke) => offset
(setf (gsk:stroke-dash-offset stroke) offset)

Arguments

stroke -- a gsk:stroke instance
offset -- a number coerced to a float with the offset into the dash pattern

Details

The gsk:stroke-dash-offset function returns the dash offset of a gsk:stroke instance. The (setf gsk:stroke-dash-offset) function sets the offset into the dash pattern where dashing should begin.

This is an offset into the length of the path, not an index into the list values of the dash list. See the gsk:stroke-dash function for more details on dashing.

Since 4.14
 

See also

#2024-11-11