struct
Tessell::Constraints
- Tessell::Constraints
- Struct
- Value
- Object
Overview
布局输入:两遍布局的约束下行阶段使用。
Defined in:
tessell/geometry.crConstructors
Class Method Summary
Instance Method Summary
- #constrain(size : Size) : Size
- #loosen : Constraints
- #max_height : Float32
- #max_width : Float32
- #min_height : Float32
- #min_width : Float32
Constructor Detail
def self.new(min_width : Float32 = 0.0_f32, max_width : Float32 = Float32::INFINITY, min_height : Float32 = 0.0_f32, max_height : Float32 = Float32::INFINITY)
#