Contents

directionPadContents(label:size:style:direction:controller:)

The direction pad contents for the specified label, size, style, and direction.

Declaration

class func directionPadContents(label: TCControlLabel, size: CGSize, style: TCControlContents.DpadElementStyle, direction: TCControlContents.DpadDirection, controller: TCTouchController) -> TCControlContents

Parameters

  • label:

    The label for the direction pad.

  • size:

    The size of the direction pad in points.

  • style:

    The style of the direction pad.

  • direction:

    The direction of the direction pad visual.

  • controller:

    The touch controller to create control contents for.

Return Value

The TCControlContents for the direction pad.

See Also

Accessing directional pad contents