struct

Phosphor::Ratio

Inherits Phosphor::Constraint < Struct < Value < Object

Occupies a proportional share of the space pooled by every Ratio constraint in the layout, sized as a / b.

Constructors

new(a : Int32, b : Int32)
Source

Instance methods

a
b
clone
Source
copy_with(a _a = @a, b _b = @b)
Source