struct Gsk::ColorStop

Overview

A color stop in a gradient node.

Defined in:

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

Constructors

Instance Method Summary

Constructor Detail

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

def self.new(data : LibGsk::ColorStop, _transfer : GICrystal::Transfer) #

def self.new(offset : Float32? = nil, color : Gdk::RGBA? = nil) #

Instance Method Detail

def ==(other : self) : Bool #

def color(*args, **options) #

def color(*args, **options, &) #

def color=(arg) #

def offset(*args, **options) #

def offset(*args, **options, &) #

def offset=(arg) #