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

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(any : TLV::Any) #

[View source]

Class Method Detail

def self.from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) #

[View source]
def self.from_slice(bytes : Bytes) #

[View source]
def self.from_tlv(any : TLV::Any) #

[View source]
def self.from_tlv(data : Bytes) #

[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 to_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) : Nil #

[View source]
def to_slice : Bytes #

[View source]
def to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any #

[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]