struct UI::EdgeInsets

Overview

Value type representing edge insets (padding/margins)

Defined in:

ui/view.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(top : Float64 = 0.0, trailing : Float64 = 0.0, bottom : Float64 = 0.0, leading : Float64 = 0.0) #

[View source]

Instance Method Detail

def bottom : Float64 #

def clone #

[View source]
def copy_with(top _top = @top, trailing _trailing = @trailing, bottom _bottom = @bottom, leading _leading = @leading) #

[View source]
def leading : Float64 #

def top : Float64 #

def trailing : Float64 #