AndroidViewSprite

Created by pedro on 3/2/22.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open var rotation: Int
Link copied to clipboard
Link copied to clipboard
open val scale: PointF

Functions

Link copied to clipboard
open fun calculateDefaultScale(previewX: Float, previewY: Float)
Calculate default scale if none is indicated after load the filter.
Link copied to clipboard
open fun getCanvasPosition(previewX: Float, previewY: Float): PointF
Traduce position in percent to work with canvas.
Link copied to clipboard
open fun getCanvasScale(previewX: Float, previewY: Float): PointF
Traduce scale in percent to work with canvas.
Link copied to clipboard
Link copied to clipboard
open fun reset()
Link copied to clipboard
open fun scale(deltaX: Float, deltaY: Float)
Link copied to clipboard
open fun setView(view: View)
Link copied to clipboard
open fun translate(translation: TranslateTo)
open fun translate(deltaX: Float, deltaY: Float)