HitArea

final case
class HitArea(area: Closed, state: ButtonState, onUp: () => List[GlobalEvent], onDown: () => List[GlobalEvent], onHoverOver: () => List[GlobalEvent], onHoverOut: () => List[GlobalEvent], onClick: () => List[GlobalEvent], onHoldDown: () => List[GlobalEvent])
Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def moveBy(x: Int, y: Int): HitArea
def moveBy(positionDiff: Point): HitArea
def moveTo(x: Int, y: Int): HitArea
def moveTo(newPosition: Point): HitArea
def update(mouse: Mouse): Outcome[HitArea]
def withClickActions(actions: GlobalEvent*): HitArea
def withClickActions(actions: => List[GlobalEvent]): HitArea
def withDownActions(actions: GlobalEvent*): HitArea
def withDownActions(actions: => List[GlobalEvent]): HitArea
def withHoldDownActions(actions: GlobalEvent*): HitArea
def withHoldDownActions(actions: => List[GlobalEvent]): HitArea
def withHoverOutActions(actions: GlobalEvent*): HitArea
def withHoverOutActions(actions: => List[GlobalEvent]): HitArea
def withHoverOverActions(actions: GlobalEvent*): HitArea
def withHoverOverActions(actions: => List[GlobalEvent]): HitArea
def withUpActions(actions: GlobalEvent*): HitArea
def withUpActions(actions: => List[GlobalEvent]): HitArea

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product