Compartilhar via


Stroke

The styling attributes for outline of the object being referenced.

Properties

type - string. The type of stroke to be drawn. Only available value is "solid"

color - string. The hex color or color reference to be used.

opacity - number. The opacity that should be applied. Defaults to 1.0.

Sample

{
    "type": "solid",
    "color": "#0e7a0d",
    "opacity": 1.0
}

Remarks

The stroke applies to the outline of the object that is being referenced.

Directional Pad
Joystick
Throttle

See also

Touch Adaptation Kit Reference