TextLayerSettings

open class TextLayerSettings

Constructors

TextLayerSettings
Link copied to clipboard
fun TextLayerSettings(stickerConfig: <ERROR CLASS>)

Types

Companion
Link copied to clipboard
object Companion
Event
Link copied to clipboard
object Event

Functions

createLayer
Link copied to clipboard
open fun createLayer(): TextGlLayer
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
flipHorizontal
Link copied to clipboard

Flips the layer in horizontal direction.

open fun flipHorizontal(): TextLayerSettings
flipVertical
Link copied to clipboard

Flips the layer in vertical direction.

open fun flipVertical(): TextLayerSettings
getColorMatrix
Link copied to clipboard

Returns the color matrix of the text sticker.

open fun getColorMatrix(): <ERROR CLASS>
getInkColor
Link copied to clipboard

Retunrs the ink color of the sticker.

open fun getInkColor(): Int
getLayerToolId
Link copied to clipboard

Returns the unique identifier of the corresponding tool.

open fun getLayerToolId(): String
getScaleDownFactor
Link copied to clipboard
open fun getScaleDownFactor(): Float
getStickerRotation
Link copied to clipboard

Returns the rotation value of the sticker in degree.

open fun getStickerRotation(): Float
getStickerX
Link copied to clipboard

Returns the horizontal sticker position.

open fun getStickerX(): Double
getStickerY
Link copied to clipboard

Returns the vertical sticker position.

open fun getStickerY(): Double
getTintColor
Link copied to clipboard

Retunrs the tint color of the sticker.

open fun getTintColor(): Int
hashCode
Link copied to clipboard
open override fun hashCode(): Int
hasInitialPosition
Link copied to clipboard

Checks if the sticker got an initial position.

open fun hasInitialPosition(): Boolean
hasNonDefaults
Link copied to clipboard
open fun hasNonDefaults(): Boolean
isAllowedWithLicensed
Link copied to clipboard

Checks if there is a valid license for the text feature.

fun isAllowedWithLicensed(): Boolean
isHorizontalFlipped
Link copied to clipboard

Checks if the text layer is horizontal flipped.

open fun isHorizontalFlipped(): <ERROR CLASS>
isSingleton
Link copied to clipboard
open fun isSingleton(): Boolean
layerCanvasMode
Link copied to clipboard

Returns the mode of the canvas.

open fun layerCanvasMode(): <ERROR CLASS>
refreshConfig
Link copied to clipboard

Calls the event Event.CONFIG.

open fun refreshConfig()
setColorMatrix
Link copied to clipboard

Sets the color matrix of the text sticker.

open fun setColorMatrix(filter: <ERROR CLASS>?): TextLayerSettings
setPosition
Link copied to clipboard

Sets the position of the text sticker.

open fun setPosition(x: Double, y: Double, angle: Float, textSize: Double): TextLayerSettings
open fun setPosition(x: Double, y: Double, angle: Float, textSize: Double, stickerWidth: Double): TextLayerSettings
setStickerInk
Link copied to clipboard

Sets the ink color of the sticker.

open fun setStickerInk(color: Int)
setStickerRotation
Link copied to clipboard

Sets the sticker rotation value in degree.

open fun setStickerRotation(stickerRotation: Float): TextLayerSettings
setStickerTint
Link copied to clipboard

Sets the tint color of the sticker.

open fun setStickerTint(color: Int)
toString
Link copied to clipboard
open override fun toString(): String

Properties

stickerConfig
Link copied to clipboard

The configuration ot the text sticker.

var stickerConfig: <ERROR CLASS>
stickerTextSize
Link copied to clipboard

The size of the sticker relative to the shorter side of the source.

val stickerTextSize: <ERROR CLASS>
stickerWidth
Link copied to clipboard

The width of the text sticker bounding box.

var stickerWidth: Double