Aller au contenu

Message HrzProtocol.ImageSymbolElement

Defined in hrz/protocol/vector/symbol_repr.proto.


url: string

http_headers: HrzProtocol.HttpHeaderList

color: HrzProtocol.ColorProperty

sprites: HrzProtocol.ImageSprite[]

sprite_index: HrzProtocol.IntProperty

If the sprite_name doesn’t point to a valid sprite, the sprite in the sprites array at this index is used, if it is valid.


sprite_name: HrzProtocol.StringProperty

If this is defined and corresponds to a sprite name in the sprites array, that sprite is used.


color_blend_mode: HrzProtocol.BlendMode

Determines how the image colour and the colour property are combined.


color_blend_strength: float

The proportion of the colour property to combine with the image colour.


scale: HrzProtocol.FloatProperty

fit_axes: HrzProtocol.BoxFitAxes

What axes will be taken into account to fit the content box to the constraints.


fit_mode: HrzProtocol.BoxFit

What method to use to fit the content box to the constraints.


alignment: HrzProtocol.Vec2fProperty

In the unlikely scenario where there is no way to make the content box small enough while satisfying other constraints to fit the parent’s constraints, this indicated how to layout the extra space of the content box.