Options
All
  • Public
  • Public/Protected
  • All
Menu

Activity bounds contain the visual bounds of and the reference to an activity. They are the result of a call to an activity renderer (see ActivityRenderer). They are needed for hitpoint detection, so that activities can be located based on x and y coordinates (e.g. pointer event coordinates).

since

1.0

Hierarchy

Index

Constructors

constructor

Properties

height

height: number

maxX

maxX: number

maxY

maxY: number

minX

minX: number

minY

minY: number

width

width: number

Methods

contains

  • contains(x: number, y: number): boolean
  • Parameters

    • x: number
    • y: number

    Returns boolean

contains1

getActivity

  • Returns Activity

getActivityRef

  • Returns ActivityRef

getHeight

  • getHeight(): number

getLayer

  • Returns Layer

getLayout

  • Returns Layout

getLineIndex

  • getLineIndex(): number
  • Returns number

getMaxX

  • getMaxX(): number

getMaxY

  • getMaxY(): number

getMinX

  • getMinX(): number

getMinY

  • getMinY(): number

getPosition

  • Returns ViewPosition

getRow

  • getRow(): Row
  • Returns Row

getWidth

  • getWidth(): number

intersects

  • intersects(x: number, y: number, w: number, h: number): boolean
  • Parameters

    • x: number
    • y: number
    • w: number
    • h: number

    Returns boolean

intersects1

setLayout

  • setLayout(layout: Layout): void
  • Parameters

    Returns void

setPosition

  • Parameters

    Returns void