toggle menu
RootEncoder
androidJvm
switch theme
search in API
encoder
/
com.pedro.encoder.input.gl
/
SpriteGestureController
Sprite
Gesture
Controller
@
RequiresApi
(
api
=
Build.VERSION_CODES.JELLY_BEAN_MR2
)
open
class
SpriteGestureController
Created by pedro on 9/09/17.
Members
Constructors
Sprite
Gesture
Controller
Link copied to clipboard
constructor
(
)
constructor
(
sprite
:
BaseObjectFilterRender
)
constructor
(
sprite
:
AndroidViewFilterRender
)
Functions
get
Filter
Render
Link copied to clipboard
open
fun
getFilterRender
(
)
:
BaseFilterRender
move
Sprite
Link copied to clipboard
open
fun
moveSprite
(
view
:
View
,
motionEvent
:
MotionEvent
)
scale
Sprite
Link copied to clipboard
open
fun
scaleSprite
(
motionEvent
:
MotionEvent
)
set
Base
Object
Filter
Render
Link copied to clipboard
open
fun
setBaseObjectFilterRender
(
androidViewFilterRender
:
AndroidViewFilterRender
)
open
fun
setBaseObjectFilterRender
(
baseObjectFilterRender
:
BaseObjectFilterRender
)
set
Prevent
Move
Outside
Link copied to clipboard
open
fun
setPreventMoveOutside
(
preventMoveOutside
:
Boolean
)
sprite
Touched
Link copied to clipboard
open
fun
spriteTouched
(
view
:
View
,
motionEvent
:
MotionEvent
)
:
Boolean
stop
Listener
Link copied to clipboard
open
fun
stopListener
(
)