struct
Matter::Cluster::Definitions::ContentLauncher::Dimension
- Matter::Cluster::Definitions::ContentLauncher::Dimension
- Struct
- Value
- Object
Overview
This object defines dimension which can be used for defining Size of background images.
Included Modules
- TLV::Serializable
Defined in:
matter/cluster/definitions/content_launcher.crConstructors
Class Method Summary
- .from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian)
- .from_slice(bytes : Bytes)
- .from_tlv(any : TLV::Any)
- .from_tlv(data : Bytes)
Instance Method Summary
-
#height : Float64
This indicates the height using the metric defined in Metric
-
#height=(height : Float64)
This indicates the height using the metric defined in Metric
-
#metric : MetricType
This shall indicate metric used for defining Height/Width.
-
#metric=(metric : MetricType)
This shall indicate metric used for defining Height/Width.
- #to_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) : Nil
- #to_slice : Bytes
- #to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
-
#width : Float64
This indicates the width using the metric defined in Metric
-
#width=(width : Float64)
This indicates the width using the metric defined in Metric
Constructor Detail
Class Method Detail
Instance Method Detail
def to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
#