Module native_render

Module native_render 

Source
Available on crate feature api-20 only.

Structs§

ArkUI_CircleShape
ArkUI_ColorAnimatableProperty
ArkUI_ColorProperty
ArkUI_CommandPath
ArkUI_FloatAnimatableProperty
ArkUI_FloatProperty
ArkUI_NodeBorderColor
ArkUI_NodeBorderRadius
ArkUI_NodeBorderStyle
ArkUI_NodeBorderWidth
ArkUI_RectShape
ArkUI_RenderContentModifier
ArkUI_RenderNode
ArkUI_RenderNodeClipOption
Render node clip option.
ArkUI_RenderNodeMaskOption
Render node mask option.
ArkUI_RoundRectShape
ArkUI_Vector2AnimatableProperty
ArkUI_Vector2Property

Functions§

OH_ArkUI_RenderNodeUtils_AddChild
Add a child node to the specified RenderNode.
OH_ArkUI_RenderNodeUtils_AddRenderNode
Adds a child render node to a parent node.
OH_ArkUI_RenderNodeUtils_AttachColorAnimatableProperty
Attach a color property to the target content modifier.
OH_ArkUI_RenderNodeUtils_AttachColorProperty
Attach a color property to the target content modifier.
OH_ArkUI_RenderNodeUtils_AttachContentModifier
Attach a content modifier for the render node.
OH_ArkUI_RenderNodeUtils_AttachFloatAnimatableProperty
Attach a float animatable property to the target content modifier.
OH_ArkUI_RenderNodeUtils_AttachFloatProperty
Attach a float property to the target content modifier.
OH_ArkUI_RenderNodeUtils_AttachVector2AnimatableProperty
Attach a vector2 animatable property to the target content modifier.
OH_ArkUI_RenderNodeUtils_AttachVector2Property
Attach a vector2 property to the target content modifier.
OH_ArkUI_RenderNodeUtils_ClearChildren
Clear all children from the specified RenderNode.
OH_ArkUI_RenderNodeUtils_ClearRenderNodeChildren
Clear all child render nodes from the specified parent node.
OH_ArkUI_RenderNodeUtils_CreateCircleShapeOption
Create a CircleShape option.
OH_ArkUI_RenderNodeUtils_CreateColorAnimatableProperty
Create a color animatable property handle.
OH_ArkUI_RenderNodeUtils_CreateColorProperty
Create a color property handle.
OH_ArkUI_RenderNodeUtils_CreateCommandPathOption
Create a CommandPath option.
OH_ArkUI_RenderNodeUtils_CreateContentModifier
Create a content modifier handle.
OH_ArkUI_RenderNodeUtils_CreateFloatAnimatableProperty
Create a float animatable property handle.
OH_ArkUI_RenderNodeUtils_CreateFloatProperty
Create a float property handle.
OH_ArkUI_RenderNodeUtils_CreateNode
Create a new RenderNode handle.
OH_ArkUI_RenderNodeUtils_CreateNodeBorderColorOption
Create a NodeBorderColor option.
OH_ArkUI_RenderNodeUtils_CreateNodeBorderRadiusOption
Create a NodeBorderRadius option.
OH_ArkUI_RenderNodeUtils_CreateNodeBorderStyleOption
Create a NodeBorderStyle option.
OH_ArkUI_RenderNodeUtils_CreateNodeBorderWidthOption
Create a NodeBorderWidth option.
OH_ArkUI_RenderNodeUtils_CreateRectShapeOption
Create a RectShape option.
OH_ArkUI_RenderNodeUtils_CreateRenderNodeClipOptionFromCircleShape
Create a clip option from a CircleShape option.
OH_ArkUI_RenderNodeUtils_CreateRenderNodeClipOptionFromCommandPath
Create a clip option from a CommandPath option.
OH_ArkUI_RenderNodeUtils_CreateRenderNodeClipOptionFromOvalShape
Create a clip option from a OvalShape option.
OH_ArkUI_RenderNodeUtils_CreateRenderNodeClipOptionFromRectShape
Create a clip option from a RectShape option.
OH_ArkUI_RenderNodeUtils_CreateRenderNodeClipOptionFromRoundRectShape
Create a clip option from a RoundRectShape option.
OH_ArkUI_RenderNodeUtils_CreateRenderNodeMaskOptionFromCircleShape
Create a mask option from a CircleShape option.
OH_ArkUI_RenderNodeUtils_CreateRenderNodeMaskOptionFromCommandPath
Create a mask option from a CommandPath option.
OH_ArkUI_RenderNodeUtils_CreateRenderNodeMaskOptionFromOvalShape
Create a mask option from a OvalShape option.
OH_ArkUI_RenderNodeUtils_CreateRenderNodeMaskOptionFromRectShape
Create a mask option from a RectShape option.
OH_ArkUI_RenderNodeUtils_CreateRenderNodeMaskOptionFromRoundRectShape
Create a mask option from a RoundRectShape option.
OH_ArkUI_RenderNodeUtils_CreateRoundRectShapeOption
Create a RoundRectShape option.
OH_ArkUI_RenderNodeUtils_CreateVector2AnimatableProperty
Create a vector2 animatable property handle.
OH_ArkUI_RenderNodeUtils_CreateVector2Property
Create a vector2 property handle.
OH_ArkUI_RenderNodeUtils_DisposeCircleShapeOption
Dispose the CircleShape option.
OH_ArkUI_RenderNodeUtils_DisposeColorAnimatableProperty
Dispose the color animatable property handle.
OH_ArkUI_RenderNodeUtils_DisposeColorProperty
Dispose the color property handle.
OH_ArkUI_RenderNodeUtils_DisposeCommandPathOption
Dispose the CommandPath option.
OH_ArkUI_RenderNodeUtils_DisposeContentModifier
Dispose the content modifier handle.
OH_ArkUI_RenderNodeUtils_DisposeFloatAnimatableProperty
Dispose the float animatable property handle.
OH_ArkUI_RenderNodeUtils_DisposeFloatProperty
Dispose the float property handle.
OH_ArkUI_RenderNodeUtils_DisposeNode
Dispose a RenderNode handle.
OH_ArkUI_RenderNodeUtils_DisposeNodeBorderColorOption
Dispose the NodeBorderColor option.
OH_ArkUI_RenderNodeUtils_DisposeNodeBorderRadiusOption
Dispose the NodeBorderRadius option.
OH_ArkUI_RenderNodeUtils_DisposeNodeBorderStyleOption
Dispose the NodeBorderStyle option.
OH_ArkUI_RenderNodeUtils_DisposeNodeBorderWidthOption
Dispose the NodeBorderWidth option.
OH_ArkUI_RenderNodeUtils_DisposeRectShapeOption
Dispose the RectShape option.
OH_ArkUI_RenderNodeUtils_DisposeRenderNodeClipOption
Dispose the RenderNodeClip option.
OH_ArkUI_RenderNodeUtils_DisposeRenderNodeMaskOption
Dispose the RenderNodeMask option.
OH_ArkUI_RenderNodeUtils_DisposeRoundRectShapeOption
Dispose the RoundRectShape option.
OH_ArkUI_RenderNodeUtils_DisposeVector2AnimatableProperty
Dispose the vector2 animatable property handle.
OH_ArkUI_RenderNodeUtils_DisposeVector2Property
Dispose the vector2 property handle.
OH_ArkUI_RenderNodeUtils_GetBackgroundColor
Get the background color of a RenderNode.
OH_ArkUI_RenderNodeUtils_GetBorderColor
Get the border colors of a RenderNode.
OH_ArkUI_RenderNodeUtils_GetBorderRadius
Get the border corner radius of a RenderNode.
OH_ArkUI_RenderNodeUtils_GetBorderStyle
Get the border style of a RenderNode.
OH_ArkUI_RenderNodeUtils_GetBorderWidth
Get the border widths of a RenderNode.
OH_ArkUI_RenderNodeUtils_GetBounds
Get the bounds for a RenderNode.
OH_ArkUI_RenderNodeUtils_GetChild
Get a child node at the specified index position.
OH_ArkUI_RenderNodeUtils_GetChildren
Retrieve all child render nodes of a parent render node. This function populates a list of child render nodes for the specified parent node. The caller is responsible for freeing the allocated child node array.
OH_ArkUI_RenderNodeUtils_GetChildrenCount
Retrieve render child nodes count of a render node.
OH_ArkUI_RenderNodeUtils_GetClipToBounds
Get whether to clip content to the node’s Bounds.
OH_ArkUI_RenderNodeUtils_GetClipToFrame
Get the clip-to-frame status of a RenderNode.
OH_ArkUI_RenderNodeUtils_GetColorAnimatablePropertyValue
Get value of the color animatable property.
OH_ArkUI_RenderNodeUtils_GetColorPropertyValue
Get value of the color property.
OH_ArkUI_RenderNodeUtils_GetFirstChild
Get the first child node of the specified RenderNode.
OH_ArkUI_RenderNodeUtils_GetFloatAnimatablePropertyValue
Get value of the float animatable property.
OH_ArkUI_RenderNodeUtils_GetFloatPropertyValue
Get value of the float property.
OH_ArkUI_RenderNodeUtils_GetNextSibling
Get the next sibling node of the specified node.
OH_ArkUI_RenderNodeUtils_GetOpacity
Get the opacity value of a RenderNode.
OH_ArkUI_RenderNodeUtils_GetPivot
Get the pivot point coordinates of a RenderNode.
OH_ArkUI_RenderNodeUtils_GetPosition
Get the position coordinates of a RenderNode.
OH_ArkUI_RenderNodeUtils_GetPreviousSibling
Get the previous sibling node of the specified node.
OH_ArkUI_RenderNodeUtils_GetRotation
Get the rotation angles of a RenderNode.
OH_ArkUI_RenderNodeUtils_GetScale
Get the scaling factors of a RenderNode.
OH_ArkUI_RenderNodeUtils_GetShadowAlpha
Get the shadow transparency of a RenderNode.
OH_ArkUI_RenderNodeUtils_GetShadowColor
Get the shadow color of a RenderNode.
OH_ArkUI_RenderNodeUtils_GetShadowElevation
Get the shadow elevation of a RenderNode.
OH_ArkUI_RenderNodeUtils_GetShadowOffset
Get the shadow offset of a RenderNode.
OH_ArkUI_RenderNodeUtils_GetShadowRadius
Get the shadow radius of a RenderNode.
OH_ArkUI_RenderNodeUtils_GetSize
Get the dimensions of a RenderNode.
OH_ArkUI_RenderNodeUtils_GetTranslation
Get the translation offset of a RenderNode.
OH_ArkUI_RenderNodeUtils_GetVector2AnimatablePropertyValue
Get value of the vector2 animatable property.
OH_ArkUI_RenderNodeUtils_GetVector2PropertyValue
Get value of the vector2 property.
OH_ArkUI_RenderNodeUtils_InsertChildAfter
Insert a child node after the specified sibling node in RenderNode.
OH_ArkUI_RenderNodeUtils_Invalidate
Mark dirty the node handle. Invalidate the specified node, causing its lifecycle and triggering a rerender of its child render nodes.
OH_ArkUI_RenderNodeUtils_RemoveChild
Remove a child node from the specified RenderNode.
OH_ArkUI_RenderNodeUtils_RemoveRenderNode
Remove the specified child node from its parent node.
OH_ArkUI_RenderNodeUtils_SetBackgroundColor
Set the background color for a RenderNode.
OH_ArkUI_RenderNodeUtils_SetBorderColor
Set the border colors for a RenderNode.
OH_ArkUI_RenderNodeUtils_SetBorderRadius
Set the border corner radius for a RenderNode.
OH_ArkUI_RenderNodeUtils_SetBorderStyle
Set the border style for a RenderNode.
OH_ArkUI_RenderNodeUtils_SetBorderWidth
Set the border widths for a RenderNode.
OH_ArkUI_RenderNodeUtils_SetBounds
Set the bounds for a RenderNode.
OH_ArkUI_RenderNodeUtils_SetCircleShapeOptionCenterX
Set the centerX value of CircleShape option.
OH_ArkUI_RenderNodeUtils_SetCircleShapeOptionCenterY
Set the centerY value of CircleShape option.
OH_ArkUI_RenderNodeUtils_SetCircleShapeOptionRadius
Set the radius value of CircleShape option.
OH_ArkUI_RenderNodeUtils_SetClip
Apply a clip to a render node using the clip option.
OH_ArkUI_RenderNodeUtils_SetClipToBounds
Set whether to clip content to the node’s Bounds.
OH_ArkUI_RenderNodeUtils_SetClipToFrame
Set whether to clip content to the node’s frame.
OH_ArkUI_RenderNodeUtils_SetColorAnimatablePropertyValue
Set value of the color animatable property.
OH_ArkUI_RenderNodeUtils_SetColorPropertyValue
Set value of the color property.
OH_ArkUI_RenderNodeUtils_SetCommandPathOptionCommands
Set the commands value of CommandPath option.
OH_ArkUI_RenderNodeUtils_SetContentModifierOnDraw
Set the onDraw function of the content modifier.
OH_ArkUI_RenderNodeUtils_SetDrawRegion
Set the draw region for a RenderNode.
OH_ArkUI_RenderNodeUtils_SetFloatAnimatablePropertyValue
Set value of the float animatable property.
OH_ArkUI_RenderNodeUtils_SetFloatPropertyValue
Set value of the float property.
OH_ArkUI_RenderNodeUtils_SetMarkNodeGroup
Mark whether to preferentially draw the node and its children.
OH_ArkUI_RenderNodeUtils_SetMask
Apply a mask to a render node using the mask option.
OH_ArkUI_RenderNodeUtils_SetNodeBorderColorOptionEdgeColor
Set the edge value of NodeBorderColor option.
OH_ArkUI_RenderNodeUtils_SetNodeBorderRadiusOptionCornerRadius
Set the corner value of NodeBorderRadius option.
OH_ArkUI_RenderNodeUtils_SetNodeBorderStyleOptionEdgeStyle
Set the edge value of NodeBorderStyle option.
OH_ArkUI_RenderNodeUtils_SetNodeBorderWidthOptionEdgeWidth
Set the edge value of NodeBorderWidth option.
OH_ArkUI_RenderNodeUtils_SetOpacity
Set the opacity value for a RenderNode.
OH_ArkUI_RenderNodeUtils_SetPivot
Set the pivot point for transformations of a RenderNode.
OH_ArkUI_RenderNodeUtils_SetPosition
Set the position coordinates for a RenderNode.
OH_ArkUI_RenderNodeUtils_SetRectShapeOptionEdgeValue
Set the edge value of RectShape option.
OH_ArkUI_RenderNodeUtils_SetRenderNodeMaskOptionFillColor
Set the fill color of RenderNodeMask option.
OH_ArkUI_RenderNodeUtils_SetRenderNodeMaskOptionStrokeColor
Set the stroke color of RenderNodeMask option.
OH_ArkUI_RenderNodeUtils_SetRenderNodeMaskOptionStrokeWidth
Set the stroke width of RenderNodeMask option.
OH_ArkUI_RenderNodeUtils_SetRotation
Set the rotation angles for a RenderNode.
OH_ArkUI_RenderNodeUtils_SetRoundRectShapeOptionCornerXY
Set the coordinate value of the target corner.
OH_ArkUI_RenderNodeUtils_SetRoundRectShapeOptionEdgeValue
Set the edge value of RoundRectShape option.
OH_ArkUI_RenderNodeUtils_SetScale
Set the scaling factors for a RenderNode.
OH_ArkUI_RenderNodeUtils_SetShadowAlpha
Set the shadow transparency for a RenderNode.
OH_ArkUI_RenderNodeUtils_SetShadowColor
Set the shadow color for a RenderNode.
OH_ArkUI_RenderNodeUtils_SetShadowElevation
Set the shadow elevation for a RenderNode.
OH_ArkUI_RenderNodeUtils_SetShadowOffset
Set the shadow offset for a RenderNode.
OH_ArkUI_RenderNodeUtils_SetShadowRadius
Set the shadow radius of a RenderNode.
OH_ArkUI_RenderNodeUtils_SetSize
Set the dimensions for a RenderNode.
OH_ArkUI_RenderNodeUtils_SetTransform
Set the transformation matrix for a RenderNode.
OH_ArkUI_RenderNodeUtils_SetTranslation
Set the translation offset for a RenderNode.
OH_ArkUI_RenderNodeUtils_SetVector2AnimatablePropertyValue
Set value of the vector2 animatable property.
OH_ArkUI_RenderNodeUtils_SetVector2PropertyValue
Set value of the vector2 property.

Type Aliases§

ArkUI_CircleShapeOption
Circle shape option.
ArkUI_ColorAnimatablePropertyHandle
Handle to the ArkUI native animatable color render property.
ArkUI_ColorPropertyHandle
Handle to the ArkUI native color render property.
ArkUI_CommandPathOption
Command path option.
ArkUI_FloatAnimatablePropertyHandle
Handle to the ArkUI native animatable float render property.
ArkUI_FloatPropertyHandle
Handle to the ArkUI native float render property.
ArkUI_NodeBorderColorOption
Node border color option.
ArkUI_NodeBorderRadiusOption
Node border radius option.
ArkUI_NodeBorderStyleOption
Node border style option.
ArkUI_NodeBorderWidthOption
Node border width option.
ArkUI_RectShapeOption
Rectangle shape option.
ArkUI_RenderContentModifierHandle
Handle to ArkUI native render content modifier.
ArkUI_RenderNodeHandle
Handle to ArkUI native render node object.
ArkUI_RoundRectShapeOption
Round rect shape option.
ArkUI_Vector2AnimatablePropertyHandle
Handle to the ArkUI native animatable vector2 render property.
ArkUI_Vector2PropertyHandle
Handle to the ArkUI native vector2 render property.