struct Layout::Primitive

Overview

A value of measurement. These appear within Block.

Defined in:

layout.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def constant : Bool #

[View source]
def value : Number #

[View source]
def value=(value : Float) #

Forcebly assign a value. This causes the Primitive to become a constant.


[View source]
def variable : Kiwi::Variable #

[View source]