struct UI::DesignTokens::ResolvedStep

Overview

Output of Material#resolve — what web + Android renderers consume. Under the v2 quantizer model, #name is the EFFECTIVE step (the quantizer's output), not the originally declared step.

Defined in:

ui/design_tokens/material.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : Symbol, blur_radius : Float64, opacity : Float64, saturation : Float64, luminance : Float64) #

[View source]

Instance Method Detail

def blur_radius : Float64 #

def clone #

[View source]
def copy_with(name _name = @name, blur_radius _blur_radius = @blur_radius, opacity _opacity = @opacity, saturation _saturation = @saturation, luminance _luminance = @luminance) #

[View source]
def luminance : Float64 #

def name : Symbol #

def opacity : Float64 #

def saturation : Float64 #