struct
UI::EdgeInsets
- UI::EdgeInsets
- Struct
- Value
- Object
Overview
Value type representing edge insets (padding/margins)
Defined in:
ui/view.crConstructors
- .new(top : Float64 = 0.0, trailing : Float64 = 0.0, bottom : Float64 = 0.0, leading : Float64 = 0.0)
Instance Method Summary
- #bottom : Float64
- #clone
- #copy_with(top _top = @top, trailing _trailing = @trailing, bottom _bottom = @bottom, leading _leading = @leading)
- #leading : Float64
- #top : Float64
- #trailing : Float64
Constructor Detail
def self.new(top : Float64 = 0.0, trailing : Float64 = 0.0, bottom : Float64 = 0.0, leading : Float64 = 0.0)
#
Instance Method Detail
def copy_with(top _top = @top, trailing _trailing = @trailing, bottom _bottom = @bottom, leading _leading = @leading)
#