struct

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

Inherits TLV::Serializable < Struct < Value < Object

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

Constructors

new(any : TLV::Any)
Source

Class methods

from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian)
Source
from_slice(bytes : Bytes)
Source
from_tlv(any : TLV::Any)
Source
from_tlv(data : Bytes)
Source

Instance methods

height

This indicates the height using the metric defined in Metric

Source
height=(height : Float64)

This indicates the height using the metric defined in Metric

Source
metric

This shall indicate metric used for defining Height/Width.

Source
metric=(metric : MetricType)

This shall indicate metric used for defining Height/Width.

Source
to_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) : Nil
Source
to_slice
Source
to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
Source
width

This indicates the width using the metric defined in Metric

Source
width=(width : Float64)

This indicates the width using the metric defined in Metric

Source