kopia lustrzana https://github.com/ryukoposting/Signal-Android
16 wiersze
366 B
Kotlin
16 wiersze
366 B
Kotlin
package org.signal.imageeditor.core
|
|
|
|
import android.graphics.RectF
|
|
|
|
/**
|
|
* Renderer that can maintain a "selected" state
|
|
*/
|
|
interface SelectableRenderer : Renderer {
|
|
fun onSelected(selected: Boolean)
|
|
|
|
/**
|
|
* Get the sub bounds in local coordinates in case the selection should be shown smaller than full bounds
|
|
*/
|
|
fun getSelectionBounds(bounds: RectF)
|
|
}
|