RelativeContext

open class RelativeContext

Constructors

RelativeContext
Link copied to clipboard
open fun RelativeContext(rect: Rect)

Functions

toAbsolute
Link copied to clipboard
open fun toAbsolute(relativePoint: Array<Float>): Array<Float>
toAbsoluteSize
Link copied to clipboard
open fun toAbsoluteSize(relativeSize: Double): Double
toAbsoluteX
Link copied to clipboard
open fun toAbsoluteX(relativeX: Double): Double
toAbsoluteY
Link copied to clipboard
open fun toAbsoluteY(relativeY: Double): Double
toRelative
Link copied to clipboard
open fun toRelative(absolutePoint: Array<Float>): Array<Float>
toRelativeSize
Link copied to clipboard
open fun toRelativeSize(relativeWidth: Double): Double
toRelativeX
Link copied to clipboard
open fun toRelativeX(absoluteX: Double): Double
toRelativeY
Link copied to clipboard
open fun toRelativeY(absoluteY: Double): Double