struct Matter::Cluster::Definitions::ContentLauncher::StyleInformation

Overview

This object defines style information which can be used by content providers to change the Media Player’s style related properties.

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 color : String | Nil #

This shall indicate the color, in RGB or RGBA, used for styling different Video Player sections like Logo, Watermark, etc. The value shall conform to the 6-digit or 8-digit format defined for CSS sRGB hexadecimal color notation [https://www.w3.org/TR/css-color-4/#hex-notation]. Examples:

• #76DE19 for R=0x76, G=0xDE, B=0x19, A absent

• #76DE1980 for R=0x76, G=0xDE, B=0x19, A=0x80


[View source]
def color=(color : String | Nil) #

This shall indicate the color, in RGB or RGBA, used for styling different Video Player sections like Logo, Watermark, etc. The value shall conform to the 6-digit or 8-digit format defined for CSS sRGB hexadecimal color notation [https://www.w3.org/TR/css-color-4/#hex-notation]. Examples:

• #76DE19 for R=0x76, G=0xDE, B=0x19, A absent

• #76DE1980 for R=0x76, G=0xDE, B=0x19, A=0x80


[View source]
def image_url : String | Nil #

This shall indicate the URL of image used for Styling different Video Player sections like Logo, Watermark etc.


[View source]
def image_url=(image_url : String | Nil) #

This shall indicate the URL of image used for Styling different Video Player sections like Logo, Watermark etc.


[View source]
def size : Dimension | Nil #

This shall indicate the size of the image used for Styling different Video Player sections like Logo, Watermark etc.


[View source]
def size=(size : Dimension | Nil) #

This shall indicate the size of the image used for Styling different Video Player sections like Logo, Watermark etc.


[View source]