class Gsk::Stroke

Overview

Collects the parameters that are needed when stroking a path.

Defined in:

lib/gi-crystal/src/auto/gsk-4.0/stroke.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(pointer : Pointer(Void), transfer : GICrystal::Transfer) #

def self.new(line_width : Float32) : self #

Class Method Detail

def self.equal(stroke1 : Pointer(Void) | Nil, stroke2 : Pointer(Void) | Nil) : Bool #

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


Instance Method Detail

def copy : Gsk::Stroke #

def dash : Enumerable(Float32) | Nil #

def dash=(dash : Enumerable(Float32) | Nil) : Nil #

def dash_offset : Float32 #

def dash_offset=(offset : Float32) : Nil #

def finalize #

def free : Nil #

def line_cap : Gsk::LineCap #

def line_cap=(line_cap : Gsk::LineCap) : Nil #

def line_join : Gsk::LineJoin #

def line_join=(line_join : Gsk::LineJoin) : Nil #

def line_width : Float32 #

def line_width=(line_width : Float32) : Nil #

def miter_limit : Float32 #

def miter_limit=(limit : Float32) : Nil #

def to_cairo(cr : Cairo::Context) : Nil #

def to_unsafe : Pointer(Void) #