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) #

[View source]
def self.new(data : LibGsk::ColorStop, _transfer : GICrystal::Transfer) #

[View source]
def self.new(offset : Float32 | Nil = nil, color : Gdk::RGBA | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) : Bool #

[View source]
def color(*args, **options) #

[View source]
def color(*args, **options, &) #

[View source]
def color=(arg) #

[View source]
def offset(*args, **options) #

[View source]
def offset(*args, **options, &) #

[View source]
def offset=(arg) #

[View source]