Offset
data class Offset(val offsetX: Float, val offsetY: Float, val input: LithoRenderEffect? = null) : LithoRenderEffect
A LithoRenderEffect instance that will offset the drawing content by the provided x and y offset.
Parameters
offsetX
offset along the x axis in pixels
offsetY
offset along the y axis in pixels
input
target LithoRenderEffect used to render in the offset coordinates.
Properties
Functions
Link copied to clipboard
Creates a RenderEffect instance from this LithoRenderEffect.