Compartilhar via


Throttle axis styling component

The styling attributes for an axes of a throttle control.

Properties

opacity - number, optional. The opacity to be applied to the component.

stroke - object, optional. Styling instructions for stroke to be used on the outline of the joystick's interactable area.

cap - object, optional. A color object representing the styling instructions for the cap that is sits on the end of the axis.

Sample

{
    "axisUp": {
        "stroke" : {
            "type": "solid",
            "color":  "#107C10"
        },
        "cap" : {
            "type": "color",
            "value": "#107C10"
        }
    },
}

Remarks

The outline is a component of the joystick control that represents the outline of the circular interactable area and the directional indicator.

Joystick

See also

Touch Adaptation Kit Reference