RepaintBoundaryNode

class RepaintBoundaryNode : ComponentNode
kotlin.Any
   ↳ androidx.ui.core.ComponentNode
   ↳ androidx.ui.core.RepaintBoundaryNode

Summary

Public constructors

<init>(name: String?)

Inherited functions

Inherited extension functions

From androidx.ui.core
Unit

Inserts a child ComponentNode at a last index.

ComponentNode?

Executes selector on every parent of this ComponentNode and returns the closest ComponentNode to return true from selector or null if selector returns false for all ancestors.

LayoutNode?

Executes block on first level of LayoutNode descendants of this ComponentNode and returns the last LayoutNode to return true from block.

Boolean

Returns true if this ComponentNode has no descendant LayoutNodes.

Boolean

Returns true if this ComponentNode currently has an ComponentNode.owner.

Owner

Returns ComponentNode.owner or throws if it is null.

Unit

Executes block on first level of LayoutNode descendants of this ComponentNode.

Properties

Boolean

If true RepaintBoundary will be clipped by the outline of it's shape

Dp

The z-coordinate at which to place this physical object.

String?

Float

The fraction of children's alpha value.

RepaintBoundaryNode?

If this is a RepaintBoundaryNode, this is returned, otherwise the nearest ancestor RepaintBoundaryNode or null if there are no ancestor RepaintBoundaryNodes.

Shape?

The shape used to calculate an outline of the RepaintBoundary.

Inherited properties

Public constructors

<init>

RepaintBoundaryNode(name: String?)

Properties

clipToShape

var clipToShape: Boolean

If true RepaintBoundary will be clipped by the outline of it's shape

elevation

var elevation: Dp

The z-coordinate at which to place this physical object.

name

val name: String?

opacity

var opacity: Float

The fraction of children's alpha value.

repaintBoundary

val repaintBoundary: RepaintBoundaryNode?

If this is a RepaintBoundaryNode, this is returned, otherwise the nearest ancestor RepaintBoundaryNode or null if there are no ancestor RepaintBoundaryNodes.

shape

var shape: Shape?

The shape used to calculate an outline of the RepaintBoundary.