OverlayOffset

class OverlayOffset(val x: Float, val y: Float)(source)

A displacement from where an overlay would otherwise sit, as a fraction of the frame it is drawn on.

Positive x moves the overlay towards the end edge and positive y moves it down, the same origin every other normalised measurement in filmstrip uses. An offset large enough to carry the overlay off the frame is allowed, and the part that leaves the frame is not drawn.

Constructors

Link copied to clipboard
constructor(x: Float, y: Float)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val x: Float

Horizontal displacement as a fraction of the frame width.

Link copied to clipboard
val y: Float

Vertical displacement as a fraction of the frame height.