struct Matter::Cluster::Definitions::ContentLauncher::Dimension

Overview

This object defines dimension which can be used for defining Size of background images.

Included Modules

Defined in:

matter/cluster/definitions/content_launcher.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(data : Slice(UInt8)) #

[View source]

Instance Method Detail

def height : Float64 #

This indicates the height using the metric defined in Metric


[View source]
def height=(height : Float64) #

This indicates the height using the metric defined in Metric


[View source]
def metric : MetricType #

This shall indicate metric used for defining Height/Width.


[View source]
def metric=(metric : MetricType) #

This shall indicate metric used for defining Height/Width.


[View source]
def width : Float64 #

This indicates the width using the metric defined in Metric


[View source]
def width=(width : Float64) #

This indicates the width using the metric defined in Metric


[View source]