CanvasComponent

class CanvasComponent(layerType: CanvasLayerType = DEFAULT_CANVAS_LAYER_TYPE, matrixPoolSize: Int = CanvasState.DEFAULT_MATRIX_POOL_SIZE, pathCacheSize: Int = CanvasState.DEFAULT_PATH_CACHE_SIZE, style: Style? = null, block: CanvasScope.() -> Unit) : PrimitiveComponent

The Canvas Component which provides a means for drawing 2D graphics.

Constructors

Link copied to clipboard
constructor(layerType: CanvasLayerType = DEFAULT_CANVAS_LAYER_TYPE, matrixPoolSize: Int = CanvasState.DEFAULT_MATRIX_POOL_SIZE, pathCacheSize: Int = CanvasState.DEFAULT_PATH_CACHE_SIZE, style: Style? = null, block: CanvasScope.() -> Unit)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
operator override fun equals(@Nullable other: Any?): Boolean
Link copied to clipboard
Link copied to clipboard
open fun <T : Any> getDebugAttribute(p0: AttributeKey<T>): T & Any
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
override fun getSimpleName(): String
Link copied to clipboard
fun getTypeId(): Int
Link copied to clipboard
override fun hashCode(): Int
Link copied to clipboard
override fun isEquivalentProps(other: Component?, shouldCompareCommonProps: Boolean): Boolean
Link copied to clipboard
override fun isEquivalentTo(@Nullable other: Component?): Boolean
override fun isEquivalentTo(other: Component?, shouldCompareCommonProps: Boolean): Boolean
Link copied to clipboard
override fun makeShallowCopy(): Component
Link copied to clipboard
fun measure(p0: ComponentContext, p1: Int, p2: Int, p3: Size)
fun measure(p0: ComponentContext, p1: Int, p2: Int, p3: Size, p4: Boolean)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun <T : Any> setDebugAttributeKey(attributeKey: AttributeKey<T>, value: T & Any)
Link copied to clipboard
override fun toString(): String