Options
All
  • Public
  • Public/Protected
  • All
Menu

A generic helper for drawing a standard Control Icon

Hierarchy

  • any
    • ControlIcon

Index

Constructors

  • new ControlIcon(__namedParameters?: { texture: any; size: number; borderColor: number; tint: any }, ...args: any[]): ControlIcon
  • Parameters

    • __namedParameters: { texture: any; size: number; borderColor: number; tint: any } = {}
      • texture: any
      • size: number
      • borderColor: number
      • tint: any
    • Rest ...args: any[]

    Returns ControlIcon

Properties

iconSrc: any
size: number
rect: number[]
borderColor: number
tintColor: number

The color of the icon tint, if any

interactive: boolean
interactiveChildren: boolean
hitArea: Rectangle
buttonMode: boolean
bg: any
icon: any
border: any
texture: any

Methods