struct UI::DesignTokens::MotionScale

Defined in:

ui/design_tokens.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(duration_instant_ms : Int32, duration_fast_ms : Int32, duration_base_ms : Int32, duration_slow_ms : Int32, ease_standard : String, ease_emphasized : String, spring : String) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(duration_instant_ms _duration_instant_ms = @duration_instant_ms, duration_fast_ms _duration_fast_ms = @duration_fast_ms, duration_base_ms _duration_base_ms = @duration_base_ms, duration_slow_ms _duration_slow_ms = @duration_slow_ms, ease_standard _ease_standard = @ease_standard, ease_emphasized _ease_emphasized = @ease_emphasized, spring _spring = @spring) #

[View source]
def duration_base_ms : Int32 #

def duration_fast_ms : Int32 #

def duration_instant_ms : Int32 #

def duration_slow_ms : Int32 #

def ease_emphasized : String #

def ease_standard : String #

def spring : String #