arkui_sys/native_render/
native_render_ffi.rs

1// automatically generated by rust-bindgen 0.71.1
2
3#![allow(non_upper_case_globals)]
4#![allow(non_camel_case_types)]
5#![allow(non_snake_case)]
6use crate::native_type::*;
7
8#[repr(C)]
9pub struct ArkUI_RenderNode {
10    _unused: [u8; 0],
11}
12/// Handle to ArkUI native render node object.
13///
14///
15/// Available since API-level: 20
16#[cfg(feature = "api-20")]
17#[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
18pub type ArkUI_RenderNodeHandle = *mut ArkUI_RenderNode;
19#[repr(C)]
20pub struct ArkUI_RenderContentModifier {
21    _unused: [u8; 0],
22}
23/// Handle to ArkUI native render content modifier.
24///
25///
26/// Available since API-level: 20
27#[cfg(feature = "api-20")]
28#[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
29pub type ArkUI_RenderContentModifierHandle = *mut ArkUI_RenderContentModifier;
30#[repr(C)]
31pub struct ArkUI_FloatProperty {
32    _unused: [u8; 0],
33}
34/// Handle to the ArkUI native float render property.
35///
36///
37/// Available since API-level: 20
38#[cfg(feature = "api-20")]
39#[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
40pub type ArkUI_FloatPropertyHandle = *mut ArkUI_FloatProperty;
41#[repr(C)]
42pub struct ArkUI_Vector2Property {
43    _unused: [u8; 0],
44}
45/// Handle to the ArkUI native vector2 render property.
46///
47///
48/// Available since API-level: 20
49#[cfg(feature = "api-20")]
50#[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
51pub type ArkUI_Vector2PropertyHandle = *mut ArkUI_Vector2Property;
52#[repr(C)]
53pub struct ArkUI_ColorProperty {
54    _unused: [u8; 0],
55}
56/// Handle to the ArkUI native color render property.
57///
58///
59/// Available since API-level: 20
60#[cfg(feature = "api-20")]
61#[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
62pub type ArkUI_ColorPropertyHandle = *mut ArkUI_ColorProperty;
63#[repr(C)]
64pub struct ArkUI_FloatAnimatableProperty {
65    _unused: [u8; 0],
66}
67/// Handle to the ArkUI native animatable float render property.
68///
69///
70/// Available since API-level: 20
71#[cfg(feature = "api-20")]
72#[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
73pub type ArkUI_FloatAnimatablePropertyHandle = *mut ArkUI_FloatAnimatableProperty;
74#[repr(C)]
75pub struct ArkUI_Vector2AnimatableProperty {
76    _unused: [u8; 0],
77}
78/// Handle to the ArkUI native animatable vector2 render property.
79///
80///
81/// Available since API-level: 20
82#[cfg(feature = "api-20")]
83#[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
84pub type ArkUI_Vector2AnimatablePropertyHandle = *mut ArkUI_Vector2AnimatableProperty;
85#[repr(C)]
86pub struct ArkUI_ColorAnimatableProperty {
87    _unused: [u8; 0],
88}
89/// Handle to the ArkUI native animatable color render property.
90///
91///
92/// Available since API-level: 20
93#[cfg(feature = "api-20")]
94#[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
95pub type ArkUI_ColorAnimatablePropertyHandle = *mut ArkUI_ColorAnimatableProperty;
96#[repr(C)]
97pub struct ArkUI_RectShape {
98    _unused: [u8; 0],
99}
100/// Rectangle shape option.
101///
102///
103/// Available since API-level: 20
104#[cfg(feature = "api-20")]
105#[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
106pub type ArkUI_RectShapeOption = ArkUI_RectShape;
107#[repr(C)]
108pub struct ArkUI_NodeBorderStyle {
109    _unused: [u8; 0],
110}
111/// Node border style option.
112///
113///
114/// Available since API-level: 20
115#[cfg(feature = "api-20")]
116#[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
117pub type ArkUI_NodeBorderStyleOption = ArkUI_NodeBorderStyle;
118#[repr(C)]
119pub struct ArkUI_NodeBorderWidth {
120    _unused: [u8; 0],
121}
122/// Node border width option.
123///
124///
125/// Available since API-level: 20
126#[cfg(feature = "api-20")]
127#[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
128pub type ArkUI_NodeBorderWidthOption = ArkUI_NodeBorderWidth;
129#[repr(C)]
130pub struct ArkUI_NodeBorderColor {
131    _unused: [u8; 0],
132}
133/// Node border color option.
134///
135///
136/// Available since API-level: 20
137#[cfg(feature = "api-20")]
138#[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
139pub type ArkUI_NodeBorderColorOption = ArkUI_NodeBorderColor;
140#[repr(C)]
141pub struct ArkUI_NodeBorderRadius {
142    _unused: [u8; 0],
143}
144/// Node border radius option.
145///
146///
147/// Available since API-level: 20
148#[cfg(feature = "api-20")]
149#[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
150pub type ArkUI_NodeBorderRadiusOption = ArkUI_NodeBorderRadius;
151#[repr(C)]
152pub struct ArkUI_CircleShape {
153    _unused: [u8; 0],
154}
155/// Circle shape option.
156///
157///
158/// Available since API-level: 20
159#[cfg(feature = "api-20")]
160#[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
161pub type ArkUI_CircleShapeOption = ArkUI_CircleShape;
162#[repr(C)]
163pub struct ArkUI_RoundRectShape {
164    _unused: [u8; 0],
165}
166/// Round rect shape option.
167///
168///
169/// Available since API-level: 20
170#[cfg(feature = "api-20")]
171#[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
172pub type ArkUI_RoundRectShapeOption = ArkUI_RoundRectShape;
173#[repr(C)]
174pub struct ArkUI_CommandPath {
175    _unused: [u8; 0],
176}
177/// Command path option.
178///
179///
180/// Available since API-level: 20
181#[cfg(feature = "api-20")]
182#[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
183pub type ArkUI_CommandPathOption = ArkUI_CommandPath;
184/// Render node mask option.
185///
186///
187/// Available since API-level: 20
188#[cfg(feature = "api-20")]
189#[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
190#[repr(C)]
191pub struct ArkUI_RenderNodeMaskOption {
192    _unused: [u8; 0],
193}
194/// Render node clip option.
195///
196///
197/// Available since API-level: 20
198#[cfg(feature = "api-20")]
199#[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
200#[repr(C)]
201pub struct ArkUI_RenderNodeClipOption {
202    _unused: [u8; 0],
203}
204extern "C" {
205    /// Adds a child render node to a parent node.
206    ///
207    /// # Arguments
208    ///
209    /// * `node` - the target parent node.
210    /// - Only customNode type parent nodes are supported.
211    /// - Each customNode can mount only one ArkUI_RenderNodeHandle.
212    /// - customNode cannot mount other ArkUI_NodeHandle.
213    ///
214    /// * `child` - the child RenderNode to add.
215    ///
216    /// # Returns
217    ///
218    /// * Error code.
219    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
220    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
221    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
222    /// [`ARKUI_ERROR_CODE_NOT_CUSTOM_NODE`] The node is not a customNode.
223    /// [`ARKUI_ERROR_CODE_CHILD_EXISTED`] The node already has a child.
224    /// [`ARKUI_ERROR_CODE_RENDER_PARENT_EXISTED`] The child already has a parent node.
225    ///
226    /// Available since API-level: 20
227    #[cfg(feature = "api-20")]
228    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
229    pub fn OH_ArkUI_RenderNodeUtils_AddRenderNode(
230        node: ArkUI_NodeHandle,
231        child: ArkUI_RenderNodeHandle,
232    ) -> i32;
233    /// Remove the specified child node from its parent node.
234    ///
235    /// # Arguments
236    ///
237    /// * `node` - the parent node.
238    ///
239    /// * `child` - the child RenderNode to remove.
240    ///
241    /// # Returns
242    ///
243    /// * Error code.
244    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
245    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
246    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
247    /// [`ARKUI_ERROR_CODE_NOT_CUSTOM_NODE`] The node is not a customNode.
248    ///
249    /// Available since API-level: 20
250    #[cfg(feature = "api-20")]
251    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
252    pub fn OH_ArkUI_RenderNodeUtils_RemoveRenderNode(
253        node: ArkUI_NodeHandle,
254        child: ArkUI_RenderNodeHandle,
255    ) -> i32;
256    /// Clear all child render nodes from the specified parent node.
257    ///
258    /// # Arguments
259    ///
260    /// * `node` - the target parent node.
261    ///
262    /// # Returns
263    ///
264    /// * Error code.
265    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
266    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
267    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
268    /// [`ARKUI_ERROR_CODE_NOT_CUSTOM_NODE`] The node is not a customNode.
269    ///
270    /// Available since API-level: 20
271    #[cfg(feature = "api-20")]
272    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
273    pub fn OH_ArkUI_RenderNodeUtils_ClearRenderNodeChildren(node: ArkUI_NodeHandle) -> i32;
274    /// Mark dirty the node handle. Invalidate the specified node, causing its lifecycle and triggering a
275    /// rerender of its child render nodes.
276    ///
277    /// # Arguments
278    ///
279    /// * `node` - Target node.
280    ///
281    /// # Returns
282    ///
283    /// * Error code.
284    /// [`ARKUI_ERROR_CODE_NO_ERROR`] if the operation is successful.
285    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
286    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] if a parameter error occurs.
287    ///
288    /// Available since API-level: 20
289    #[cfg(feature = "api-20")]
290    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
291    pub fn OH_ArkUI_RenderNodeUtils_Invalidate(node: ArkUI_NodeHandle) -> i32;
292    /// Create a new RenderNode handle.
293    ///
294    ///
295    /// # Returns
296    ///
297    /// * ArkUI_RenderNodeHandle pointer to receive the new node handle.
298    ///
299    /// Available since API-level: 20
300    #[cfg(feature = "api-20")]
301    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
302    pub fn OH_ArkUI_RenderNodeUtils_CreateNode() -> ArkUI_RenderNodeHandle;
303    /// Dispose a RenderNode handle.
304    ///
305    /// # Arguments
306    ///
307    /// * `node` - Handle to the render node to dispose.
308    ///
309    /// # Returns
310    ///
311    /// * Error code.
312    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
313    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
314    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
315    ///
316    /// Available since API-level: 20
317    #[cfg(feature = "api-20")]
318    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
319    pub fn OH_ArkUI_RenderNodeUtils_DisposeNode(node: ArkUI_RenderNodeHandle) -> i32;
320    /// Add a child node to the specified RenderNode.
321    ///
322    /// # Arguments
323    ///
324    /// * `node` - the parent RenderNode.
325    ///
326    /// * `child` - the child RenderNode to add.
327    ///
328    /// # Returns
329    ///
330    /// * Error code.
331    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
332    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
333    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
334    ///
335    /// Available since API-level: 20
336    #[cfg(feature = "api-20")]
337    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
338    pub fn OH_ArkUI_RenderNodeUtils_AddChild(
339        node: ArkUI_RenderNodeHandle,
340        child: ArkUI_RenderNodeHandle,
341    ) -> i32;
342    /// Insert a child node after the specified sibling node in RenderNode.
343    ///
344    /// # Arguments
345    ///
346    /// * `node` - the parent RenderNode.
347    ///
348    /// * `child` - the child RenderNode to insert.
349    ///
350    /// * `sibling` - the reference sibling node. If the sibling node does not exist in the children,
351    /// the child component will be added to the end.
352    ///
353    /// # Returns
354    ///
355    /// * Error code.
356    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
357    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
358    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
359    ///
360    /// Available since API-level: 20
361    #[cfg(feature = "api-20")]
362    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
363    pub fn OH_ArkUI_RenderNodeUtils_InsertChildAfter(
364        node: ArkUI_RenderNodeHandle,
365        child: ArkUI_RenderNodeHandle,
366        sibling: ArkUI_RenderNodeHandle,
367    ) -> i32;
368    /// Remove a child node from the specified RenderNode.
369    ///
370    /// # Arguments
371    ///
372    /// * `node` - the parent RenderNode.
373    ///
374    /// * `child` - the child RenderNode to remove.
375    ///
376    /// # Returns
377    ///
378    /// * Error code.
379    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
380    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
381    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
382    ///
383    /// Available since API-level: 20
384    #[cfg(feature = "api-20")]
385    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
386    pub fn OH_ArkUI_RenderNodeUtils_RemoveChild(
387        node: ArkUI_RenderNodeHandle,
388        child: ArkUI_RenderNodeHandle,
389    ) -> i32;
390    /// Clear all children from the specified RenderNode.
391    ///
392    /// # Arguments
393    ///
394    /// * `node` - Handle to the target render node.
395    ///
396    /// # Returns
397    ///
398    /// * Error code.
399    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
400    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
401    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
402    ///
403    /// Available since API-level: 20
404    #[cfg(feature = "api-20")]
405    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
406    pub fn OH_ArkUI_RenderNodeUtils_ClearChildren(node: ArkUI_RenderNodeHandle) -> i32;
407    /// Get a child node at the specified index position.
408    ///
409    /// # Arguments
410    ///
411    /// * `node` - the parent RenderNode.
412    ///
413    /// * `index` - Zero-based index of the child node.
414    ///
415    /// * `child` - ArkUI_RenderNodeHandle pointer to receive the child node.
416    ///
417    /// # Returns
418    ///
419    /// * Error code.
420    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
421    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
422    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
423    /// [`ARKUI_ERROR_CODE_CHILD_RENDER_NOT_EXIST`] The child does not exist.
424    ///
425    /// Available since API-level: 20
426    #[cfg(feature = "api-20")]
427    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
428    pub fn OH_ArkUI_RenderNodeUtils_GetChild(
429        node: ArkUI_RenderNodeHandle,
430        index: i32,
431        child: *mut ArkUI_RenderNodeHandle,
432    ) -> i32;
433    /// Get the first child node of the specified RenderNode.
434    ///
435    /// # Arguments
436    ///
437    /// * `node` - Handle to the target render node.
438    ///
439    /// * `child` - ArkUI_RenderNodeHandle pointer to receive the first child.
440    ///
441    /// # Returns
442    ///
443    /// * Error code.
444    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
445    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
446    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
447    /// [`ARKUI_ERROR_CODE_CHILD_RENDER_NOT_EXIST`] The child does not exist.
448    ///
449    /// Available since API-level: 20
450    #[cfg(feature = "api-20")]
451    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
452    pub fn OH_ArkUI_RenderNodeUtils_GetFirstChild(
453        node: ArkUI_RenderNodeHandle,
454        child: *mut ArkUI_RenderNodeHandle,
455    ) -> i32;
456    /// Get the next sibling node of the specified node.
457    ///
458    /// # Arguments
459    ///
460    /// * `node` - the reference node.
461    ///
462    /// * `sibling` - ArkUI_RenderNodeHandle pointer to receive the next sibling.
463    ///
464    /// # Returns
465    ///
466    /// * Error code.
467    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
468    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
469    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
470    /// [`ARKUI_ERROR_CODE_CHILD_RENDER_NOT_EXIST`] The child does not exist.
471    ///
472    /// Available since API-level: 20
473    #[cfg(feature = "api-20")]
474    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
475    pub fn OH_ArkUI_RenderNodeUtils_GetNextSibling(
476        node: ArkUI_RenderNodeHandle,
477        sibling: *mut ArkUI_RenderNodeHandle,
478    ) -> i32;
479    /// Get the previous sibling node of the specified node.
480    ///
481    /// # Arguments
482    ///
483    /// * `node` - the reference node.
484    ///
485    /// * `sibling` - ArkUI_RenderNodeHandle pointer to receive the previous sibling.
486    ///
487    /// # Returns
488    ///
489    /// * Error code.
490    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
491    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
492    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
493    /// [`ARKUI_ERROR_CODE_CHILD_RENDER_NOT_EXIST`] The child does not exist.
494    ///
495    /// Available since API-level: 20
496    #[cfg(feature = "api-20")]
497    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
498    pub fn OH_ArkUI_RenderNodeUtils_GetPreviousSibling(
499        node: ArkUI_RenderNodeHandle,
500        sibling: *mut ArkUI_RenderNodeHandle,
501    ) -> i32;
502    /// Retrieve all child render nodes of a parent render node.
503    /// This function populates a list of child render nodes for the specified parent node.
504    /// The caller is responsible for freeing the allocated child node array.
505    ///
506    /// # Arguments
507    ///
508    /// * `node` - Handle to the target parent render node.
509    ///
510    /// * `children` - Pointer to an array of child render node handles.
511    ///
512    /// * `count` - Pointer to store the number of child nodes retrieved.
513    ///
514    /// # Returns
515    ///
516    /// * Error code.
517    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
518    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
519    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
520    ///
521    /// Available since API-level: 20
522    #[cfg(feature = "api-20")]
523    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
524    pub fn OH_ArkUI_RenderNodeUtils_GetChildren(
525        node: ArkUI_RenderNodeHandle,
526        children: *mut *mut ArkUI_RenderNodeHandle,
527        count: *mut i32,
528    ) -> i32;
529    /// Retrieve render child nodes count of a render node.
530    ///
531    /// # Arguments
532    ///
533    /// * `node` - Handle to the target parent render node.
534    ///
535    /// * `count` - Pointer to store the number of child nodes retrieved.
536    ///
537    /// # Returns
538    ///
539    /// * Error code.
540    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
541    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
542    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
543    ///
544    /// Available since API-level: 20
545    #[cfg(feature = "api-20")]
546    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
547    pub fn OH_ArkUI_RenderNodeUtils_GetChildrenCount(
548        node: ArkUI_RenderNodeHandle,
549        count: *mut i32,
550    ) -> i32;
551    /// Set the background color for a RenderNode.
552    ///
553    /// # Arguments
554    ///
555    /// * `node` - Handle to the target render node
556    ///
557    /// * `color` - Packed ARGB color value (32-bit unsigned integer)
558    /// Color byte layout:
559    /// - Bits 24-31: Alpha channel (0x00 fully transparent, 0xFF fully opaque)
560    /// - Bits 16-23: Red channel
561    /// - Bits 8-15: Green channel
562    /// - Bits 0-7: Blue channel
563    ///
564    /// # Returns
565    ///
566    /// * Error code.
567    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
568    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
569    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
570    ///
571    /// Available since API-level: 20
572    #[cfg(feature = "api-20")]
573    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
574    pub fn OH_ArkUI_RenderNodeUtils_SetBackgroundColor(
575        node: ArkUI_RenderNodeHandle,
576        color: u32,
577    ) -> i32;
578    /// Get the background color of a RenderNode.
579    ///
580    /// # Arguments
581    ///
582    /// * `node` - Handle to the target render node
583    ///
584    /// * `color` - Integer pointer to store the retrieved RGBA color value.
585    /// The retrieved color is a packed 32-bit value with the following byte layout:
586    /// - Bits 24-31: Alpha channel (0x00 fully transparent, 0xFF fully opaque)
587    /// - Bits 16-23: Red channel
588    /// - Bits 8-15: Green channel
589    /// - Bits 0-7: Blue channel
590    ///
591    /// # Returns
592    ///
593    /// * Error code.
594    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
595    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
596    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
597    ///
598    /// Available since API-level: 20
599    #[cfg(feature = "api-20")]
600    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
601    pub fn OH_ArkUI_RenderNodeUtils_GetBackgroundColor(
602        node: ArkUI_RenderNodeHandle,
603        color: *mut u32,
604    ) -> i32;
605    /// Set whether to clip content to the node's frame.
606    ///
607    /// # Arguments
608    ///
609    /// * `node` - Handle to the target render node.
610    ///
611    /// * `clipToFrame` - Integer (1 = clip to frame, 0 = do not clip).
612    ///
613    /// # Returns
614    ///
615    /// * Error code.
616    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
617    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
618    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
619    /// [`ARKUI_ERROR_CODE_PARAM_OUT_OF_RANGE`] Parameter out of range.
620    ///
621    /// Available since API-level: 20
622    #[cfg(feature = "api-20")]
623    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
624    pub fn OH_ArkUI_RenderNodeUtils_SetClipToFrame(
625        node: ArkUI_RenderNodeHandle,
626        clipToFrame: i32,
627    ) -> i32;
628    /// Get the clip-to-frame status of a RenderNode.
629    ///
630    /// # Arguments
631    ///
632    /// * `node` - Handle to the target render node.
633    ///
634    /// * `clipToFrame` - Integer pointer to receive clip status (1 or 0).
635    ///
636    /// # Returns
637    ///
638    /// * Error code.
639    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
640    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
641    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
642    ///
643    /// Available since API-level: 20
644    #[cfg(feature = "api-20")]
645    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
646    pub fn OH_ArkUI_RenderNodeUtils_GetClipToFrame(
647        node: ArkUI_RenderNodeHandle,
648        clipToFrame: *mut i32,
649    ) -> i32;
650    /// Set whether to clip content to the node's Bounds.
651    ///
652    /// # Arguments
653    ///
654    /// * `node` - Handle to the target render node.
655    ///
656    /// * `clipToBounds` - Clipping flag (1: clip to bounds, 0: do not clip)
657    ///
658    /// # Returns
659    ///
660    /// * Error code.
661    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
662    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
663    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
664    /// [`ARKUI_ERROR_CODE_PARAM_OUT_OF_RANGE`] Parameter out of range.
665    ///
666    /// Available since API-level: 20
667    #[cfg(feature = "api-20")]
668    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
669    pub fn OH_ArkUI_RenderNodeUtils_SetClipToBounds(
670        node: ArkUI_RenderNodeHandle,
671        clipToBounds: i32,
672    ) -> i32;
673    /// Get whether to clip content to the node's Bounds.
674    ///
675    /// # Arguments
676    ///
677    /// * `node` - Handle to the target render node.
678    ///
679    /// * `clipToBounds` - Integer pointer (1 = clip to bounds, 0 = do not clip).
680    ///
681    /// # Returns
682    ///
683    /// * Error code.
684    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
685    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
686    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
687    ///
688    /// Available since API-level: 20
689    #[cfg(feature = "api-20")]
690    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
691    pub fn OH_ArkUI_RenderNodeUtils_GetClipToBounds(
692        node: ArkUI_RenderNodeHandle,
693        clipToBounds: *mut i32,
694    ) -> i32;
695    /// Set the opacity value for a RenderNode.
696    ///
697    /// # Arguments
698    ///
699    /// * `node` - Handle to the target render node.
700    ///
701    /// * `opacity` - Opacity value (0.0-1.0).
702    ///
703    /// # Returns
704    ///
705    /// * Error code.
706    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
707    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
708    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
709    /// [`ARKUI_ERROR_CODE_PARAM_OUT_OF_RANGE`] Parameter out of range.
710    ///
711    /// Available since API-level: 20
712    #[cfg(feature = "api-20")]
713    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
714    pub fn OH_ArkUI_RenderNodeUtils_SetOpacity(node: ArkUI_RenderNodeHandle, opacity: f32) -> i32;
715    /// Get the opacity value of a RenderNode.
716    ///
717    /// # Arguments
718    ///
719    /// * `node` - Handle to the target render node.
720    ///
721    /// * `opacity` - Pointer to receive opacity value (0.0-1.0).
722    ///
723    /// # Returns
724    ///
725    /// * Error code.
726    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
727    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
728    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
729    ///
730    /// Available since API-level: 20
731    #[cfg(feature = "api-20")]
732    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
733    pub fn OH_ArkUI_RenderNodeUtils_GetOpacity(
734        node: ArkUI_RenderNodeHandle,
735        opacity: *mut f32,
736    ) -> i32;
737    /// Set the dimensions for a RenderNode.
738    ///
739    /// # Arguments
740    ///
741    /// * `node` - Handle to the target render node.
742    ///
743    /// * `width` - Width value in pixels.
744    ///
745    /// * `height` - Height value in pixels.
746    ///
747    /// # Returns
748    ///
749    /// * Error code.
750    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
751    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
752    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
753    /// [`ARKUI_ERROR_CODE_PARAM_OUT_OF_RANGE`] Parameter out of range.
754    ///
755    /// Available since API-level: 20
756    #[cfg(feature = "api-20")]
757    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
758    pub fn OH_ArkUI_RenderNodeUtils_SetSize(
759        node: ArkUI_RenderNodeHandle,
760        width: i32,
761        height: i32,
762    ) -> i32;
763    /// Get the dimensions of a RenderNode.
764    ///
765    /// # Arguments
766    ///
767    /// * `node` - Handle to the target render node.
768    ///
769    /// * `width` - Pointer to receive width value in pixels.
770    ///
771    /// * `height` - Pointer to receive height value in pixels.
772    ///
773    /// # Returns
774    ///
775    /// * Error code.
776    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
777    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
778    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
779    ///
780    /// Available since API-level: 20
781    #[cfg(feature = "api-20")]
782    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
783    pub fn OH_ArkUI_RenderNodeUtils_GetSize(
784        node: ArkUI_RenderNodeHandle,
785        width: *mut i32,
786        height: *mut i32,
787    ) -> i32;
788    /// Set the position coordinates for a RenderNode.
789    ///
790    /// # Arguments
791    ///
792    /// * `node` - Handle to the target render node.
793    ///
794    /// * `x` - X-coordinate value in pixels.
795    ///
796    /// * `y` - Y-coordinate value in pixels.
797    ///
798    /// # Returns
799    ///
800    /// * Error code.
801    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
802    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
803    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
804    ///
805    /// Available since API-level: 20
806    #[cfg(feature = "api-20")]
807    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
808    pub fn OH_ArkUI_RenderNodeUtils_SetPosition(
809        node: ArkUI_RenderNodeHandle,
810        x: i32,
811        y: i32,
812    ) -> i32;
813    /// Get the position coordinates of a RenderNode.
814    ///
815    /// # Arguments
816    ///
817    /// * `node` - Handle to the target render node.
818    ///
819    /// * `x` - Pointer to receive X-coordinate value in pixels.
820    ///
821    /// * `y` - Pointer to receive Y-coordinate value in pixels.
822    ///
823    /// # Returns
824    ///
825    /// * Error code.
826    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
827    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
828    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
829    ///
830    /// Available since API-level: 20
831    #[cfg(feature = "api-20")]
832    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
833    pub fn OH_ArkUI_RenderNodeUtils_GetPosition(
834        node: ArkUI_RenderNodeHandle,
835        x: *mut i32,
836        y: *mut i32,
837    ) -> i32;
838    /// Set the pivot point for transformations of a RenderNode.
839    ///
840    /// # Arguments
841    ///
842    /// * `node` - Handle to the target render node.
843    ///
844    /// * `x` - The X-coordinate of pivot (normalized 0.0-1.0).
845    ///
846    /// * `y` - The Y-coordinate of pivot (normalized 0.0-1.0).
847    ///
848    /// # Returns
849    ///
850    /// * Error code.
851    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
852    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
853    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
854    ///
855    /// Available since API-level: 20
856    #[cfg(feature = "api-20")]
857    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
858    pub fn OH_ArkUI_RenderNodeUtils_SetPivot(node: ArkUI_RenderNodeHandle, x: f32, y: f32) -> i32;
859    /// Get the pivot point coordinates of a RenderNode.
860    ///
861    /// # Arguments
862    ///
863    /// * `node` - Handle to the target render node.
864    ///
865    /// * `x` - Pointer to receive the X-coordinate of pivot.
866    ///
867    /// * `y` - Pointer to receive the Y-coordinate of pivot.
868    ///
869    /// # Returns
870    ///
871    /// * Error code.
872    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
873    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
874    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
875    ///
876    /// Available since API-level: 20
877    #[cfg(feature = "api-20")]
878    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
879    pub fn OH_ArkUI_RenderNodeUtils_GetPivot(
880        node: ArkUI_RenderNodeHandle,
881        x: *mut f32,
882        y: *mut f32,
883    ) -> i32;
884    /// Set the scaling factors for a RenderNode.
885    ///
886    /// # Arguments
887    ///
888    /// * `node` - Handle to the target render node.
889    ///
890    /// * `x` - Horizontal scale factor.
891    ///
892    /// * `y` - Vertical scale factor.
893    ///
894    /// # Returns
895    ///
896    /// * Error code.
897    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
898    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
899    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
900    ///
901    /// Available since API-level: 20
902    #[cfg(feature = "api-20")]
903    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
904    pub fn OH_ArkUI_RenderNodeUtils_SetScale(node: ArkUI_RenderNodeHandle, x: f32, y: f32) -> i32;
905    /// Get the scaling factors of a RenderNode.
906    ///
907    /// # Arguments
908    ///
909    /// * `node` - Handle to the target render node.
910    ///
911    /// * `x` - Pointer to receive horizontal scale factor.
912    ///
913    /// * `y` - Pointer to receive vertical scale factor.
914    ///
915    /// # Returns
916    ///
917    /// * Error code.
918    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
919    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
920    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
921    ///
922    /// Available since API-level: 20
923    #[cfg(feature = "api-20")]
924    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
925    pub fn OH_ArkUI_RenderNodeUtils_GetScale(
926        node: ArkUI_RenderNodeHandle,
927        x: *mut f32,
928        y: *mut f32,
929    ) -> i32;
930    /// Set the translation offset for a RenderNode.
931    ///
932    /// # Arguments
933    ///
934    /// * `node` - Handle to the target render node.
935    ///
936    /// * `x` - Horizontal translation in pixels.
937    ///
938    /// * `y` - Vertical translation in pixels.
939    ///
940    /// # Returns
941    ///
942    /// * Error code.
943    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
944    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
945    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
946    ///
947    /// Available since API-level: 20
948    #[cfg(feature = "api-20")]
949    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
950    pub fn OH_ArkUI_RenderNodeUtils_SetTranslation(
951        node: ArkUI_RenderNodeHandle,
952        x: f32,
953        y: f32,
954    ) -> i32;
955    /// Get the translation offset of a RenderNode.
956    ///
957    /// # Arguments
958    ///
959    /// * `node` - Handle to the target render node.
960    ///
961    /// * `x` - Pointer to receive horizontal translation.
962    ///
963    /// * `y` - Pointer to receive vertical translation.
964    ///
965    /// # Returns
966    ///
967    /// * Error code.
968    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
969    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
970    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
971    ///
972    /// Available since API-level: 20
973    #[cfg(feature = "api-20")]
974    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
975    pub fn OH_ArkUI_RenderNodeUtils_GetTranslation(
976        node: ArkUI_RenderNodeHandle,
977        x: *mut f32,
978        y: *mut f32,
979    ) -> i32;
980    /// Set the rotation angles for a RenderNode.
981    ///
982    /// # Arguments
983    ///
984    /// * `node` - Handle to the target render node.
985    ///
986    /// * `x` - Rotation angle around X-axis in degrees.
987    ///
988    /// * `y` - Rotation angle around Y-axis in degrees.
989    ///
990    /// * `z` - Rotation angle around Z-axis in degrees.
991    ///
992    /// # Returns
993    ///
994    /// * Error code.
995    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
996    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
997    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
998    ///
999    /// Available since API-level: 20
1000    #[cfg(feature = "api-20")]
1001    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
1002    pub fn OH_ArkUI_RenderNodeUtils_SetRotation(
1003        node: ArkUI_RenderNodeHandle,
1004        x: f32,
1005        y: f32,
1006        z: f32,
1007    ) -> i32;
1008    /// Get the rotation angles of a RenderNode.
1009    ///
1010    /// # Arguments
1011    ///
1012    /// * `node` - Handle to the target render node.
1013    ///
1014    /// * `x` - Pointer to receive X-axis rotation angle in degrees.
1015    ///
1016    /// * `y` - Pointer to receive Y-axis rotation angle in degrees.
1017    ///
1018    /// * `z` - Pointer to receive Z-axis rotation angle in degrees.
1019    ///
1020    /// # Returns
1021    ///
1022    /// * Error code.
1023    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
1024    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
1025    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
1026    ///
1027    /// Available since API-level: 20
1028    #[cfg(feature = "api-20")]
1029    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
1030    pub fn OH_ArkUI_RenderNodeUtils_GetRotation(
1031        node: ArkUI_RenderNodeHandle,
1032        x: *mut f32,
1033        y: *mut f32,
1034        z: *mut f32,
1035    ) -> i32;
1036    /// Set the transformation matrix for a RenderNode.
1037    ///
1038    /// # Arguments
1039    ///
1040    /// * `node` - Handle to the target render node.
1041    ///
1042    /// * `matrix` - Pointer to a 4x4 transformation matrix (16 consecutive values).
1043    /// The transformation matrix should be provided as 16 consecutive floating-point values in row-major order:
1044    /// [m00, m01, m02, m03,
1045    /// m10, m11, m12, m13,
1046    /// m20, m21, m22, m23,
1047    /// m30, m31, m32, m33]
1048    /// Where the matrix represents:
1049    /// | m00 m01 m02 m03 |
1050    /// | m10 m11 m12 m13 |
1051    /// | m20 m21 m22 m23 |
1052    /// | m30 m31 m32 m33 |
1053    /// Matrix components:
1054    /// | m00 | Scaling value of the x-axis. The default value is **1** for the identity matrix. |
1055    /// | m01 | The second value, which is affected by the rotation or tilt of the x, y, and z axes. |
1056    /// | m02 | The third value, which is affected by the rotation of the x, y, and z axes. |
1057    /// | m03 | The fourth value, which is affected by perspective projection. |
1058    /// | m10 | The fifth value, which is affected by the rotation or tilt of the x, y, and z axes. |
1059    /// | m11 | Scaling value of the y-axis. The default value is **1** for the identity matrix. |
1060    /// | m12 | The seventh value, which is affected by the rotation of the x, y, and z axes. |
1061    /// | m13 | The eighth value, which is affected by perspective projection. |
1062    /// | m20 | The ninth value, which is affected by the rotation of the x, y, and z axes. |
1063    /// | m21 | The tenth value, which is affected by the rotation of the x, y, and z axes. |
1064    /// | m22 | Scaling value of the z-axis. The default value is **1** for the identity matrix. |
1065    /// | m23 | The 12th value, which is affected by perspective projection. |
1066    /// | m30 | Translation value of the x-axis, in px. The default value is **0** for the identity matrix.|
1067    /// | m31 | Translation value of the y-axis, in px. The default value is **0** for the identity matrix.|
1068    /// | m32 | Translation value of the z-axis, in px. The default value is **0** for the identity matrix.|
1069    /// | m33 | Valid in homogeneous coordinates, presenting the perspective projection effect. |
1070    ///
1071    /// # Returns
1072    ///
1073    /// * Error code.
1074    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
1075    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
1076    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
1077    /// [`ARKUI_ERROR_CODE_PARAM_OUT_OF_RANGE`] Parameter out of range.
1078    ///
1079    /// Available since API-level: 20
1080    #[cfg(feature = "api-20")]
1081    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
1082    pub fn OH_ArkUI_RenderNodeUtils_SetTransform(
1083        node: ArkUI_RenderNodeHandle,
1084        matrix: *mut f32,
1085    ) -> i32;
1086    /// Set the shadow color for a RenderNode.
1087    ///
1088    /// # Arguments
1089    ///
1090    /// * `node` - Handle to the target render node.
1091    ///
1092    /// * `color` - Packed ARGB color value (32-bit unsigned integer)
1093    /// Color byte layout:
1094    /// - Bits 24-31: Alpha channel (0x00 fully transparent, 0xFF fully opaque)
1095    /// - Bits 16-23: Red channel
1096    /// - Bits 8-15: Green channel
1097    /// - Bits 0-7: Blue channel
1098    ///
1099    /// # Returns
1100    ///
1101    /// * Error code.
1102    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
1103    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
1104    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
1105    ///
1106    /// Available since API-level: 20
1107    #[cfg(feature = "api-20")]
1108    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
1109    pub fn OH_ArkUI_RenderNodeUtils_SetShadowColor(node: ArkUI_RenderNodeHandle, color: u32)
1110        -> i32;
1111    /// Get the shadow color of a RenderNode.
1112    ///
1113    /// # Arguments
1114    ///
1115    /// * `node` - Handle to the target render node.
1116    ///
1117    /// * `color` - Integer pointer to store the retrieved RGBA color value.
1118    /// The retrieved color is a packed 32-bit value with the following byte layout:
1119    /// - Bits 24-31: Alpha channel (0x00 fully transparent, 0xFF fully opaque)
1120    /// - Bits 16-23: Red channel
1121    /// - Bits 8-15: Green channel
1122    /// - Bits 0-7: Blue channel
1123    ///
1124    /// # Returns
1125    ///
1126    /// * Error code.
1127    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
1128    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
1129    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
1130    ///
1131    /// Available since API-level: 20
1132    #[cfg(feature = "api-20")]
1133    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
1134    pub fn OH_ArkUI_RenderNodeUtils_GetShadowColor(
1135        node: ArkUI_RenderNodeHandle,
1136        color: *mut u32,
1137    ) -> i32;
1138    /// Set the shadow offset for a RenderNode.
1139    ///
1140    /// # Arguments
1141    ///
1142    /// * `node` - Handle to the target render node.
1143    ///
1144    /// * `x` - Horizontal offset value in pixels.
1145    ///
1146    /// * `y` - Vertical offset value in pixels.
1147    ///
1148    /// # Returns
1149    ///
1150    /// * Error code.
1151    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
1152    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
1153    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
1154    ///
1155    /// Available since API-level: 20
1156    #[cfg(feature = "api-20")]
1157    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
1158    pub fn OH_ArkUI_RenderNodeUtils_SetShadowOffset(
1159        node: ArkUI_RenderNodeHandle,
1160        x: i32,
1161        y: i32,
1162    ) -> i32;
1163    /// Get the shadow offset of a RenderNode.
1164    ///
1165    /// # Arguments
1166    ///
1167    /// * `node` - Handle to the target render node.
1168    ///
1169    /// * `x` - Pointer to receive horizontal offset value.
1170    ///
1171    /// * `y` - Pointer to receive vertical offset value.
1172    ///
1173    /// # Returns
1174    ///
1175    /// * Error code.
1176    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
1177    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
1178    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
1179    ///
1180    /// Available since API-level: 20
1181    #[cfg(feature = "api-20")]
1182    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
1183    pub fn OH_ArkUI_RenderNodeUtils_GetShadowOffset(
1184        node: ArkUI_RenderNodeHandle,
1185        x: *mut i32,
1186        y: *mut i32,
1187    ) -> i32;
1188    /// Set the shadow transparency for a RenderNode.
1189    ///
1190    /// # Arguments
1191    ///
1192    /// * `node` - Handle to the target render node.
1193    ///
1194    /// * `alpha` - Shadow alpha value (0.0-1.0).
1195    ///
1196    /// # Returns
1197    ///
1198    /// * Error code.
1199    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
1200    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
1201    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
1202    /// [`ARKUI_ERROR_CODE_PARAM_OUT_OF_RANGE`] Parameter out of range.
1203    ///
1204    /// Available since API-level: 20
1205    #[cfg(feature = "api-20")]
1206    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
1207    pub fn OH_ArkUI_RenderNodeUtils_SetShadowAlpha(node: ArkUI_RenderNodeHandle, alpha: f32)
1208        -> i32;
1209    /// Get the shadow transparency of a RenderNode.
1210    ///
1211    /// # Arguments
1212    ///
1213    /// * `node` - Handle to the target render node.
1214    ///
1215    /// * `alpha` - Pointer to receive shadow alpha value.
1216    ///
1217    /// # Returns
1218    ///
1219    /// * Error code.
1220    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
1221    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
1222    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
1223    ///
1224    /// Available since API-level: 20
1225    #[cfg(feature = "api-20")]
1226    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
1227    pub fn OH_ArkUI_RenderNodeUtils_GetShadowAlpha(
1228        node: ArkUI_RenderNodeHandle,
1229        alpha: *mut f32,
1230    ) -> i32;
1231    /// Set the shadow elevation for a RenderNode.
1232    ///
1233    /// # Arguments
1234    ///
1235    /// * `node` - Handle to the target render node.
1236    ///
1237    /// * `elevation` - Elevation value.
1238    ///
1239    /// # Returns
1240    ///
1241    /// * Error code.
1242    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
1243    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
1244    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
1245    /// [`ARKUI_ERROR_CODE_PARAM_OUT_OF_RANGE`] Parameter out of range.
1246    ///
1247    /// Available since API-level: 20
1248    #[cfg(feature = "api-20")]
1249    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
1250    pub fn OH_ArkUI_RenderNodeUtils_SetShadowElevation(
1251        node: ArkUI_RenderNodeHandle,
1252        elevation: f32,
1253    ) -> i32;
1254    /// Get the shadow elevation of a RenderNode.
1255    ///
1256    /// # Arguments
1257    ///
1258    /// * `node` - Handle to the target render node.
1259    ///
1260    /// * `elevation` - Pointer to receive elevation value.
1261    ///
1262    /// # Returns
1263    ///
1264    /// * Error code.
1265    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
1266    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
1267    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
1268    ///
1269    /// Available since API-level: 20
1270    #[cfg(feature = "api-20")]
1271    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
1272    pub fn OH_ArkUI_RenderNodeUtils_GetShadowElevation(
1273        node: ArkUI_RenderNodeHandle,
1274        elevation: *mut f32,
1275    ) -> i32;
1276    /// Set the shadow radius of a RenderNode.
1277    ///
1278    /// # Arguments
1279    ///
1280    /// * `node` - Handle to the target render node.
1281    ///
1282    /// * `radius` - Radius value.
1283    ///
1284    /// # Returns
1285    ///
1286    /// * Error code.
1287    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
1288    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
1289    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
1290    /// [`ARKUI_ERROR_CODE_PARAM_OUT_OF_RANGE`] Parameter out of range.
1291    ///
1292    /// Available since API-level: 20
1293    #[cfg(feature = "api-20")]
1294    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
1295    pub fn OH_ArkUI_RenderNodeUtils_SetShadowRadius(
1296        node: ArkUI_RenderNodeHandle,
1297        radius: f32,
1298    ) -> i32;
1299    /// Get the shadow radius of a RenderNode.
1300    ///
1301    /// # Arguments
1302    ///
1303    /// * `node` - Handle to the target render node.
1304    ///
1305    /// * `radius` - Pointer to receive radius value.
1306    ///
1307    /// # Returns
1308    ///
1309    /// * Error code.
1310    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
1311    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
1312    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
1313    ///
1314    /// Available since API-level: 20
1315    #[cfg(feature = "api-20")]
1316    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
1317    pub fn OH_ArkUI_RenderNodeUtils_GetShadowRadius(
1318        node: ArkUI_RenderNodeHandle,
1319        radius: *mut f32,
1320    ) -> i32;
1321    /// Set the border style for a RenderNode.
1322    ///
1323    /// # Arguments
1324    ///
1325    /// * `node` - Handle to the target render node.
1326    ///
1327    /// * `borderStyle` - Handle to border style option.
1328    ///
1329    /// # Returns
1330    ///
1331    /// * Error code.
1332    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
1333    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
1334    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
1335    ///
1336    /// Available since API-level: 20
1337    #[cfg(feature = "api-20")]
1338    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
1339    pub fn OH_ArkUI_RenderNodeUtils_SetBorderStyle(
1340        node: ArkUI_RenderNodeHandle,
1341        borderStyle: *mut ArkUI_NodeBorderStyleOption,
1342    ) -> i32;
1343    /// Get the border style of a RenderNode.
1344    ///
1345    /// # Arguments
1346    ///
1347    /// * `node` - Handle to the target render node.
1348    ///
1349    /// * `borderStyle` - Pointer to receive border style option.
1350    ///
1351    /// # Returns
1352    ///
1353    /// * Error code.
1354    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
1355    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
1356    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
1357    ///
1358    /// Available since API-level: 20
1359    #[cfg(feature = "api-20")]
1360    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
1361    pub fn OH_ArkUI_RenderNodeUtils_GetBorderStyle(
1362        node: ArkUI_RenderNodeHandle,
1363        borderStyle: *mut *mut ArkUI_NodeBorderStyleOption,
1364    ) -> i32;
1365    /// Set the border widths for a RenderNode.
1366    ///
1367    /// # Arguments
1368    ///
1369    /// * `node` - Handle to the target render node.
1370    ///
1371    /// * `borderWidth` - Handle to border width option.
1372    ///
1373    /// # Returns
1374    ///
1375    /// * Error code.
1376    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
1377    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
1378    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
1379    ///
1380    /// Available since API-level: 20
1381    #[cfg(feature = "api-20")]
1382    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
1383    pub fn OH_ArkUI_RenderNodeUtils_SetBorderWidth(
1384        node: ArkUI_RenderNodeHandle,
1385        borderWidth: *mut ArkUI_NodeBorderWidthOption,
1386    ) -> i32;
1387    /// Get the border widths of a RenderNode.
1388    ///
1389    /// # Arguments
1390    ///
1391    /// * `node` - Handle to the target render node.
1392    ///
1393    /// * `borderWidth` - Pointer to receive border width option.
1394    ///
1395    /// # Returns
1396    ///
1397    /// * Error code.
1398    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
1399    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
1400    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
1401    ///
1402    /// Available since API-level: 20
1403    #[cfg(feature = "api-20")]
1404    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
1405    pub fn OH_ArkUI_RenderNodeUtils_GetBorderWidth(
1406        node: ArkUI_RenderNodeHandle,
1407        borderWidth: *mut *mut ArkUI_NodeBorderWidthOption,
1408    ) -> i32;
1409    /// Set the border colors for a RenderNode.
1410    ///
1411    /// # Arguments
1412    ///
1413    /// * `node` - Handle to the target render node.
1414    ///
1415    /// * `borderColor` - Handle to border color option.
1416    ///
1417    /// # Returns
1418    ///
1419    /// * Error code.
1420    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
1421    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
1422    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
1423    ///
1424    /// Available since API-level: 20
1425    #[cfg(feature = "api-20")]
1426    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
1427    pub fn OH_ArkUI_RenderNodeUtils_SetBorderColor(
1428        node: ArkUI_RenderNodeHandle,
1429        borderColor: *mut ArkUI_NodeBorderColorOption,
1430    ) -> i32;
1431    /// Get the border colors of a RenderNode.
1432    ///
1433    /// # Arguments
1434    ///
1435    /// * `node` - Handle to the target render node.
1436    ///
1437    /// * `borderColor` - Pointer to receive border color option.
1438    ///
1439    /// # Returns
1440    ///
1441    /// * Error code.
1442    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
1443    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
1444    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
1445    ///
1446    /// Available since API-level: 20
1447    #[cfg(feature = "api-20")]
1448    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
1449    pub fn OH_ArkUI_RenderNodeUtils_GetBorderColor(
1450        node: ArkUI_RenderNodeHandle,
1451        borderColor: *mut *mut ArkUI_NodeBorderColorOption,
1452    ) -> i32;
1453    /// Set the border corner radius for a RenderNode.
1454    ///
1455    /// # Arguments
1456    ///
1457    /// * `node` - Handle to the target render node.
1458    ///
1459    /// * `borderRadius` - Handle to border radius option.
1460    /// eturn Error code.
1461    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
1462    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
1463    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
1464    ///
1465    /// Available since API-level: 20
1466    #[cfg(feature = "api-20")]
1467    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
1468    pub fn OH_ArkUI_RenderNodeUtils_SetBorderRadius(
1469        node: ArkUI_RenderNodeHandle,
1470        borderRadius: *mut ArkUI_NodeBorderRadiusOption,
1471    ) -> i32;
1472    /// Get the border corner radius of a RenderNode.
1473    ///
1474    /// # Arguments
1475    ///
1476    /// * `node` - Handle to the target render node.
1477    ///
1478    /// * `borderRadius` - Pointer to receive border radius option.
1479    ///
1480    /// # Returns
1481    ///
1482    /// * Error code.
1483    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
1484    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
1485    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
1486    ///
1487    /// Available since API-level: 20
1488    #[cfg(feature = "api-20")]
1489    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
1490    pub fn OH_ArkUI_RenderNodeUtils_GetBorderRadius(
1491        node: ArkUI_RenderNodeHandle,
1492        borderRadius: *mut *mut ArkUI_NodeBorderRadiusOption,
1493    ) -> i32;
1494    /// Apply a mask to a render node using the mask option.
1495    ///
1496    /// # Arguments
1497    ///
1498    /// * `node` - Handle to the target render node.
1499    ///
1500    /// * `mask` - Handle to the mask option.
1501    ///
1502    /// # Returns
1503    ///
1504    /// * Error code.
1505    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
1506    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
1507    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
1508    ///
1509    /// Available since API-level: 20
1510    #[cfg(feature = "api-20")]
1511    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
1512    pub fn OH_ArkUI_RenderNodeUtils_SetMask(
1513        node: ArkUI_RenderNodeHandle,
1514        mask: *mut ArkUI_RenderNodeMaskOption,
1515    ) -> i32;
1516    /// Apply a clip to a render node using the clip option.
1517    ///
1518    /// # Arguments
1519    ///
1520    /// * `node` - Handle to the target render node.
1521    ///
1522    /// * `clip` - Handle to the clip option.
1523    ///
1524    /// # Returns
1525    ///
1526    /// * Error code.
1527    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
1528    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
1529    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
1530    ///
1531    /// Available since API-level: 20
1532    #[cfg(feature = "api-20")]
1533    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
1534    pub fn OH_ArkUI_RenderNodeUtils_SetClip(
1535        node: ArkUI_RenderNodeHandle,
1536        clip: *mut ArkUI_RenderNodeClipOption,
1537    ) -> i32;
1538    /// Mark whether to preferentially draw the node and its children.
1539    ///
1540    /// # Arguments
1541    ///
1542    /// * `node` - Handle to the target render node.
1543    ///
1544    /// * `markNodeGroup` - Boolean flag indicates whether to preferentially draw the node and its children.
1545    ///
1546    /// # Returns
1547    ///
1548    /// * Error code.
1549    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
1550    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
1551    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
1552    ///
1553    /// Available since API-level: 20
1554    #[cfg(feature = "api-20")]
1555    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
1556    pub fn OH_ArkUI_RenderNodeUtils_SetMarkNodeGroup(
1557        node: ArkUI_RenderNodeHandle,
1558        markNodeGroup: bool,
1559    ) -> i32;
1560    /// Set the bounds for a RenderNode.
1561    ///
1562    /// # Arguments
1563    ///
1564    /// * `node` - Handle to the target render node.
1565    ///
1566    /// * `x` - X-coordinate of the bounds's top-left corner (in pixels)
1567    ///
1568    /// * `y` - Y-coordinate of the bounds's top-left corner (in pixels)
1569    ///
1570    /// * `width` - Width of the bounds (in pixels).
1571    ///
1572    /// * `height` - Height of the bounds (in pixels).
1573    ///
1574    /// # Returns
1575    ///
1576    /// * Error code.
1577    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
1578    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
1579    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
1580    /// [`ARKUI_ERROR_CODE_PARAM_OUT_OF_RANGE`] Parameter out of range.
1581    ///
1582    /// Available since API-level: 20
1583    #[cfg(feature = "api-20")]
1584    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
1585    pub fn OH_ArkUI_RenderNodeUtils_SetBounds(
1586        node: ArkUI_RenderNodeHandle,
1587        x: i32,
1588        y: i32,
1589        width: i32,
1590        height: i32,
1591    ) -> i32;
1592    /// Get the bounds for a RenderNode.
1593    ///
1594    /// # Arguments
1595    ///
1596    /// * `node` - Handle to the target render node.
1597    ///
1598    /// * `x` - Pointer to receive x-coordinate value of the bounds's top-left corner (in pixels)
1599    ///
1600    /// * `y` - Pointer to receive y-coordinate value of the bounds's top-left corner (in pixels)
1601    ///
1602    /// * `width` - Pointer to receive width value in pixels.
1603    ///
1604    /// * `height` - Pointer to receive height value in pixels.
1605    ///
1606    /// # Returns
1607    ///
1608    /// * Error code.
1609    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
1610    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
1611    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
1612    ///
1613    /// Available since API-level: 20
1614    #[cfg(feature = "api-20")]
1615    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
1616    pub fn OH_ArkUI_RenderNodeUtils_GetBounds(
1617        node: ArkUI_RenderNodeHandle,
1618        x: *mut i32,
1619        y: *mut i32,
1620        width: *mut i32,
1621        height: *mut i32,
1622    ) -> i32;
1623    /// Set the draw region for a RenderNode.
1624    ///
1625    /// # Arguments
1626    ///
1627    /// * `node` - Handle to the target render node.
1628    ///
1629    /// * `x` - X-coordinate of the bounds's top-left corner (in pixels).
1630    ///
1631    /// * `y` - Y-coordinate of the bounds's top-left corner (in pixels).
1632    ///
1633    /// * `w` - Width of the bounds (in pixels).
1634    ///
1635    /// * `h` - Height of the bounds (in pixels).
1636    ///
1637    /// # Returns
1638    ///
1639    /// * Error code.
1640    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
1641    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
1642    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
1643    ///
1644    /// Available since API-level: 20
1645    #[cfg(feature = "api-20")]
1646    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
1647    pub fn OH_ArkUI_RenderNodeUtils_SetDrawRegion(
1648        node: ArkUI_RenderNodeHandle,
1649        x: f32,
1650        y: f32,
1651        w: f32,
1652        h: f32,
1653    ) -> i32;
1654    /// Attach a content modifier for the render node.
1655    ///
1656    /// # Arguments
1657    ///
1658    /// * `node` - Handle to the target render node.
1659    ///
1660    /// * `modifier` - [`ArkUI_RenderContentModifierHandle`] The content modifier handle.
1661    ///
1662    /// # Returns
1663    ///
1664    /// * Error code.
1665    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
1666    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
1667    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
1668    ///
1669    /// Available since API-level: 20
1670    #[cfg(feature = "api-20")]
1671    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
1672    pub fn OH_ArkUI_RenderNodeUtils_AttachContentModifier(
1673        node: ArkUI_RenderNodeHandle,
1674        modifier: ArkUI_RenderContentModifierHandle,
1675    ) -> i32;
1676    /// Create a content modifier handle.
1677    ///
1678    ///
1679    /// # Returns
1680    ///
1681    /// * Error code.
1682    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
1683    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
1684    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
1685    ///
1686    /// Available since API-level: 20
1687    #[cfg(feature = "api-20")]
1688    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
1689    pub fn OH_ArkUI_RenderNodeUtils_CreateContentModifier() -> ArkUI_RenderContentModifierHandle;
1690    /// Dispose the content modifier handle.
1691    ///
1692    /// # Arguments
1693    ///
1694    /// * `modifier` - [`ArkUI_RenderContentModifierHandle`] Handle to the content modifier.
1695    ///
1696    /// Available since API-level: 20
1697    #[cfg(feature = "api-20")]
1698    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
1699    pub fn OH_ArkUI_RenderNodeUtils_DisposeContentModifier(
1700        modifier: ArkUI_RenderContentModifierHandle,
1701    );
1702    /// Attach a float property to the target content modifier.
1703    ///
1704    /// # Arguments
1705    ///
1706    /// * `modifier` - [`ArkUI_RenderContentModifierHandle`] Set float property to the target content modifier.
1707    ///
1708    /// * `property` - [`ArkUI_FloatPropertyHandle`] Handle to the float property.
1709    ///
1710    /// # Returns
1711    ///
1712    /// * Error code.
1713    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
1714    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
1715    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
1716    ///
1717    /// Available since API-level: 20
1718    #[cfg(feature = "api-20")]
1719    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
1720    pub fn OH_ArkUI_RenderNodeUtils_AttachFloatProperty(
1721        modifier: ArkUI_RenderContentModifierHandle,
1722        property: ArkUI_FloatPropertyHandle,
1723    ) -> i32;
1724    /// Attach a vector2 property to the target content modifier.
1725    ///
1726    /// # Arguments
1727    ///
1728    /// * `modifier` - [`ArkUI_RenderContentModifierHandle`] Set vector2 property to the target content modifier.
1729    ///
1730    /// * `property` - [`ArkUI_Vector2PropertyHandle`] Handle to the vector2 property.
1731    ///
1732    /// # Returns
1733    ///
1734    /// * Error code.
1735    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
1736    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
1737    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
1738    ///
1739    /// Available since API-level: 20
1740    #[cfg(feature = "api-20")]
1741    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
1742    pub fn OH_ArkUI_RenderNodeUtils_AttachVector2Property(
1743        modifier: ArkUI_RenderContentModifierHandle,
1744        property: ArkUI_Vector2PropertyHandle,
1745    ) -> i32;
1746    /// Attach a color property to the target content modifier.
1747    ///
1748    /// # Arguments
1749    ///
1750    /// * `modifier` - [`ArkUI_RenderContentModifierHandle`] Set color property to the target content modifier.
1751    ///
1752    /// * `property` - [`ArkUI_ColorPropertyHandle`] Handle to the color property.
1753    ///
1754    /// # Returns
1755    ///
1756    /// * Error code.
1757    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
1758    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
1759    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
1760    ///
1761    /// Available since API-level: 20
1762    #[cfg(feature = "api-20")]
1763    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
1764    pub fn OH_ArkUI_RenderNodeUtils_AttachColorProperty(
1765        modifier: ArkUI_RenderContentModifierHandle,
1766        property: ArkUI_ColorPropertyHandle,
1767    ) -> i32;
1768    /// Attach a float animatable property to the target content modifier.
1769    ///
1770    /// # Arguments
1771    ///
1772    /// * `modifier` - [`ArkUI_RenderContentModifierHandle`] Set float animatable property to the target content
1773    /// modifier.
1774    ///
1775    /// * `property` - [`ArkUI_FloatAnimatablePropertyHandle`] Handle to the float animatable property.
1776    ///
1777    /// # Returns
1778    ///
1779    /// * Error code.
1780    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
1781    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
1782    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
1783    ///
1784    /// Available since API-level: 20
1785    #[cfg(feature = "api-20")]
1786    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
1787    pub fn OH_ArkUI_RenderNodeUtils_AttachFloatAnimatableProperty(
1788        modifier: ArkUI_RenderContentModifierHandle,
1789        property: ArkUI_FloatAnimatablePropertyHandle,
1790    ) -> i32;
1791    /// Attach a vector2 animatable property to the target content modifier.
1792    ///
1793    /// # Arguments
1794    ///
1795    /// * `modifier` - [`ArkUI_RenderContentModifierHandle`] Set vector2 animatable property to the target content
1796    /// modifier.
1797    ///
1798    /// * `property` - [`ArkUI_Vector2AnimatablePropertyHandle`] Handle to the vector2 animatable property.
1799    ///
1800    /// # Returns
1801    ///
1802    /// * Error code.
1803    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
1804    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
1805    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
1806    ///
1807    /// Available since API-level: 20
1808    #[cfg(feature = "api-20")]
1809    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
1810    pub fn OH_ArkUI_RenderNodeUtils_AttachVector2AnimatableProperty(
1811        modifier: ArkUI_RenderContentModifierHandle,
1812        property: ArkUI_Vector2AnimatablePropertyHandle,
1813    ) -> i32;
1814    /// Attach a color property to the target content modifier.
1815    ///
1816    /// # Arguments
1817    ///
1818    /// * `modifier` - [`ArkUI_RenderContentModifierHandle`] Set color animatable property to the target content
1819    /// modifier.
1820    ///
1821    /// * `property` - [`ArkUI_ColorAnimatablePropertyHandle`] Handle to the color animatable property.
1822    ///
1823    /// # Returns
1824    ///
1825    /// * Error code.
1826    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
1827    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
1828    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
1829    ///
1830    /// Available since API-level: 20
1831    #[cfg(feature = "api-20")]
1832    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
1833    pub fn OH_ArkUI_RenderNodeUtils_AttachColorAnimatableProperty(
1834        modifier: ArkUI_RenderContentModifierHandle,
1835        property: ArkUI_ColorAnimatablePropertyHandle,
1836    ) -> i32;
1837    /// Create a float property handle.
1838    ///
1839    /// # Arguments
1840    ///
1841    /// * `value` - The property value.
1842    ///
1843    /// # Returns
1844    ///
1845    /// * Handle to the float property.
1846    ///
1847    /// Available since API-level: 20
1848    #[cfg(feature = "api-20")]
1849    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
1850    pub fn OH_ArkUI_RenderNodeUtils_CreateFloatProperty(value: f32) -> ArkUI_FloatPropertyHandle;
1851    /// Set value of the float property.
1852    ///
1853    /// # Arguments
1854    ///
1855    /// * `property` - [`ArkUI_FloatPropertyHandle`] The float property handle.
1856    ///
1857    /// * `value` - The property value.
1858    ///
1859    /// # Returns
1860    ///
1861    /// * Error code.
1862    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
1863    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
1864    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
1865    ///
1866    /// Available since API-level: 20
1867    #[cfg(feature = "api-20")]
1868    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
1869    pub fn OH_ArkUI_RenderNodeUtils_SetFloatPropertyValue(
1870        property: ArkUI_FloatPropertyHandle,
1871        value: f32,
1872    ) -> i32;
1873    /// Get value of the float property.
1874    ///
1875    /// # Arguments
1876    ///
1877    /// * `property` - [`ArkUI_FloatPropertyHandle`] The float property handle.
1878    ///
1879    /// * `value` - The pointer to receive property value.
1880    ///
1881    /// # Returns
1882    ///
1883    /// * Error code.
1884    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
1885    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
1886    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
1887    ///
1888    /// Available since API-level: 20
1889    #[cfg(feature = "api-20")]
1890    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
1891    pub fn OH_ArkUI_RenderNodeUtils_GetFloatPropertyValue(
1892        property: ArkUI_FloatPropertyHandle,
1893        value: *mut f32,
1894    ) -> i32;
1895    /// Dispose the float property handle.
1896    ///
1897    /// # Arguments
1898    ///
1899    /// * `property` - [`ArkUI_FloatPropertyHandle`] Handle to the float property.
1900    ///
1901    /// Available since API-level: 20
1902    #[cfg(feature = "api-20")]
1903    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
1904    pub fn OH_ArkUI_RenderNodeUtils_DisposeFloatProperty(property: ArkUI_FloatPropertyHandle);
1905    /// Create a vector2 property handle.
1906    ///
1907    /// # Arguments
1908    ///
1909    /// * `x` - X-coordinate value of the property.
1910    ///
1911    /// * `y` - Y-coordinate value of the property.
1912    ///
1913    /// # Returns
1914    ///
1915    /// * Handle to the vector2 property.
1916    ///
1917    /// Available since API-level: 20
1918    #[cfg(feature = "api-20")]
1919    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
1920    pub fn OH_ArkUI_RenderNodeUtils_CreateVector2Property(
1921        x: f32,
1922        y: f32,
1923    ) -> ArkUI_Vector2PropertyHandle;
1924    /// Set value of the vector2 property.
1925    ///
1926    /// # Arguments
1927    ///
1928    /// * `property` - [`ArkUI_Vector2PropertyHandle`] The vector2 property handle.
1929    ///
1930    /// * `x` - X-coordinate value of the property.
1931    ///
1932    /// * `y` - Y-coordinate value of the property.
1933    ///
1934    /// # Returns
1935    ///
1936    /// * Error code.
1937    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
1938    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
1939    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
1940    ///
1941    /// Available since API-level: 20
1942    #[cfg(feature = "api-20")]
1943    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
1944    pub fn OH_ArkUI_RenderNodeUtils_SetVector2PropertyValue(
1945        property: ArkUI_Vector2PropertyHandle,
1946        x: f32,
1947        y: f32,
1948    ) -> i32;
1949    /// Get value of the vector2 property.
1950    ///
1951    /// # Arguments
1952    ///
1953    /// * `property` - [`ArkUI_Vector2PropertyHandle`] The Vector2 property handle.
1954    ///
1955    /// * `x` - The pointer to receive x-coordinate value of the property.
1956    ///
1957    /// * `y` - The pointer to receive y-coordinate value of the property.
1958    ///
1959    /// # Returns
1960    ///
1961    /// * Error code.
1962    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
1963    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
1964    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
1965    ///
1966    /// Available since API-level: 20
1967    #[cfg(feature = "api-20")]
1968    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
1969    pub fn OH_ArkUI_RenderNodeUtils_GetVector2PropertyValue(
1970        property: ArkUI_Vector2PropertyHandle,
1971        x: *mut f32,
1972        y: *mut f32,
1973    ) -> i32;
1974    /// Dispose the vector2 property handle.
1975    ///
1976    /// # Arguments
1977    ///
1978    /// * `property` - [`ArkUI_Vector2PropertyHandle`] Handle to the vector2 property.
1979    ///
1980    /// Available since API-level: 20
1981    #[cfg(feature = "api-20")]
1982    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
1983    pub fn OH_ArkUI_RenderNodeUtils_DisposeVector2Property(property: ArkUI_Vector2PropertyHandle);
1984    /// Create a color property handle.
1985    ///
1986    /// # Arguments
1987    ///
1988    /// * `value` - The property value.
1989    ///
1990    /// # Returns
1991    ///
1992    /// * Handle to the color property.
1993    ///
1994    /// Available since API-level: 20
1995    #[cfg(feature = "api-20")]
1996    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
1997    pub fn OH_ArkUI_RenderNodeUtils_CreateColorProperty(value: u32) -> ArkUI_ColorPropertyHandle;
1998    /// Set value of the color property.
1999    ///
2000    /// # Arguments
2001    ///
2002    /// * `property` - [`ArkUI_ColorPropertyHandle`] The color property handle.
2003    ///
2004    /// * `value` - The property value.
2005    ///
2006    /// # Returns
2007    ///
2008    /// * Error code.
2009    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
2010    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
2011    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
2012    ///
2013    /// Available since API-level: 20
2014    #[cfg(feature = "api-20")]
2015    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2016    pub fn OH_ArkUI_RenderNodeUtils_SetColorPropertyValue(
2017        property: ArkUI_ColorPropertyHandle,
2018        value: u32,
2019    ) -> i32;
2020    /// Get value of the color property.
2021    ///
2022    /// # Arguments
2023    ///
2024    /// * `property` - [`ArkUI_ColorPropertyHandle`] The color property handle.
2025    ///
2026    /// * `value` - The pointer to receive property value.
2027    ///
2028    /// # Returns
2029    ///
2030    /// * Error code.
2031    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
2032    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
2033    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
2034    ///
2035    /// Available since API-level: 20
2036    #[cfg(feature = "api-20")]
2037    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2038    pub fn OH_ArkUI_RenderNodeUtils_GetColorPropertyValue(
2039        property: ArkUI_ColorPropertyHandle,
2040        value: *mut u32,
2041    ) -> i32;
2042    /// Dispose the color property handle.
2043    ///
2044    /// # Arguments
2045    ///
2046    /// * `property` - [`ArkUI_ColorPropertyHandle`] Handle to the color property.
2047    ///
2048    /// Available since API-level: 20
2049    #[cfg(feature = "api-20")]
2050    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2051    pub fn OH_ArkUI_RenderNodeUtils_DisposeColorProperty(property: ArkUI_ColorPropertyHandle);
2052    /// Create a float animatable property handle.
2053    ///
2054    /// # Arguments
2055    ///
2056    /// * `value` - The property value.
2057    ///
2058    /// # Returns
2059    ///
2060    /// * Handle to the float animatable property.
2061    ///
2062    /// Available since API-level: 20
2063    #[cfg(feature = "api-20")]
2064    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2065    pub fn OH_ArkUI_RenderNodeUtils_CreateFloatAnimatableProperty(
2066        value: f32,
2067    ) -> ArkUI_FloatAnimatablePropertyHandle;
2068    /// Set value of the float animatable property.
2069    ///
2070    /// # Arguments
2071    ///
2072    /// * `property` - [`ArkUI_FloatAnimatablePropertyHandle`] The float animatable property handle.
2073    ///
2074    /// * `value` - The property value.
2075    ///
2076    /// # Returns
2077    ///
2078    /// * Error code.
2079    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
2080    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
2081    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
2082    ///
2083    /// Available since API-level: 20
2084    #[cfg(feature = "api-20")]
2085    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2086    pub fn OH_ArkUI_RenderNodeUtils_SetFloatAnimatablePropertyValue(
2087        property: ArkUI_FloatAnimatablePropertyHandle,
2088        value: f32,
2089    ) -> i32;
2090    /// Get value of the float animatable property.
2091    ///
2092    /// # Arguments
2093    ///
2094    /// * `property` - [`ArkUI_FloatAnimatablePropertyHandle`] The float animatable property handle.
2095    ///
2096    /// * `value` - The pointer to receive property value.
2097    ///
2098    /// # Returns
2099    ///
2100    /// * Error code.
2101    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
2102    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
2103    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
2104    ///
2105    /// Available since API-level: 20
2106    #[cfg(feature = "api-20")]
2107    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2108    pub fn OH_ArkUI_RenderNodeUtils_GetFloatAnimatablePropertyValue(
2109        property: ArkUI_FloatAnimatablePropertyHandle,
2110        value: *mut f32,
2111    ) -> i32;
2112    /// Dispose the float animatable property handle.
2113    ///
2114    /// # Arguments
2115    ///
2116    /// * `property` - [`ArkUI_FloatAnimatablePropertyHandle`] Handle to the float animatable property.
2117    ///
2118    /// Available since API-level: 20
2119    #[cfg(feature = "api-20")]
2120    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2121    pub fn OH_ArkUI_RenderNodeUtils_DisposeFloatAnimatableProperty(
2122        property: ArkUI_FloatAnimatablePropertyHandle,
2123    );
2124    /// Create a vector2 animatable property handle.
2125    ///
2126    /// # Arguments
2127    ///
2128    /// * `x` - X-coordinate value of the property.
2129    ///
2130    /// * `y` - Y-coordinate value of the property.
2131    ///
2132    /// # Returns
2133    ///
2134    /// * Handle to the vector2 animatable property.
2135    ///
2136    /// Available since API-level: 20
2137    #[cfg(feature = "api-20")]
2138    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2139    pub fn OH_ArkUI_RenderNodeUtils_CreateVector2AnimatableProperty(
2140        x: f32,
2141        y: f32,
2142    ) -> ArkUI_Vector2AnimatablePropertyHandle;
2143    /// Set value of the vector2 animatable property.
2144    ///
2145    /// # Arguments
2146    ///
2147    /// * `property` - [`ArkUI_Vector2AnimatablePropertyHandle`] The vector2 animatable property handle.
2148    ///
2149    /// * `x` - X-coordinate value of the property.
2150    ///
2151    /// * `y` - Y-coordinate value of the property.
2152    ///
2153    /// # Returns
2154    ///
2155    /// * Error code.
2156    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
2157    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
2158    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
2159    ///
2160    /// Available since API-level: 20
2161    #[cfg(feature = "api-20")]
2162    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2163    pub fn OH_ArkUI_RenderNodeUtils_SetVector2AnimatablePropertyValue(
2164        property: ArkUI_Vector2AnimatablePropertyHandle,
2165        x: f32,
2166        y: f32,
2167    ) -> i32;
2168    /// Get value of the vector2 animatable property.
2169    ///
2170    /// # Arguments
2171    ///
2172    /// * `property` - [`ArkUI_Vector2AnimatablePropertyHandle`] The Vector2 animatable property handle.
2173    ///
2174    /// * `x` - The pointer to receive x-coordinate value of the property.
2175    ///
2176    /// * `y` - The pointer to receive y-coordinate value of the property.
2177    ///
2178    /// # Returns
2179    ///
2180    /// * Error code.
2181    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
2182    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
2183    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
2184    ///
2185    /// Available since API-level: 20
2186    #[cfg(feature = "api-20")]
2187    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2188    pub fn OH_ArkUI_RenderNodeUtils_GetVector2AnimatablePropertyValue(
2189        property: ArkUI_Vector2AnimatablePropertyHandle,
2190        x: *mut f32,
2191        y: *mut f32,
2192    ) -> i32;
2193    /// Dispose the vector2 animatable property handle.
2194    ///
2195    /// # Arguments
2196    ///
2197    /// * `property` - [`ArkUI_Vector2AnimatablePropertyHandle`] Handle to the vector2 animatable property.
2198    ///
2199    /// Available since API-level: 20
2200    #[cfg(feature = "api-20")]
2201    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2202    pub fn OH_ArkUI_RenderNodeUtils_DisposeVector2AnimatableProperty(
2203        property: ArkUI_Vector2AnimatablePropertyHandle,
2204    );
2205    /// Create a color animatable property handle.
2206    ///
2207    /// # Arguments
2208    ///
2209    /// * `value` - The property value.
2210    ///
2211    /// # Returns
2212    ///
2213    /// * Handle to the color animatable property.
2214    ///
2215    /// Available since API-level: 20
2216    #[cfg(feature = "api-20")]
2217    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2218    pub fn OH_ArkUI_RenderNodeUtils_CreateColorAnimatableProperty(
2219        value: u32,
2220    ) -> ArkUI_ColorAnimatablePropertyHandle;
2221    /// Set value of the color animatable property.
2222    ///
2223    /// # Arguments
2224    ///
2225    /// * `property` - [`ArkUI_ColorAnimatablePropertyHandle`] The color animatable property handle.
2226    ///
2227    /// * `value` - The property value.
2228    ///
2229    /// # Returns
2230    ///
2231    /// * Error code.
2232    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
2233    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
2234    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
2235    ///
2236    /// Available since API-level: 20
2237    #[cfg(feature = "api-20")]
2238    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2239    pub fn OH_ArkUI_RenderNodeUtils_SetColorAnimatablePropertyValue(
2240        property: ArkUI_ColorAnimatablePropertyHandle,
2241        value: u32,
2242    ) -> i32;
2243    /// Get value of the color animatable property.
2244    ///
2245    /// # Arguments
2246    ///
2247    /// * `property` - [`ArkUI_ColorAnimatablePropertyHandle`] The color animatable property handle.
2248    ///
2249    /// * `value` - The pointer to receive property value.
2250    ///
2251    /// # Returns
2252    ///
2253    /// * Error code.
2254    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
2255    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
2256    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
2257    ///
2258    /// Available since API-level: 20
2259    #[cfg(feature = "api-20")]
2260    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2261    pub fn OH_ArkUI_RenderNodeUtils_GetColorAnimatablePropertyValue(
2262        property: ArkUI_ColorAnimatablePropertyHandle,
2263        value: *mut u32,
2264    ) -> i32;
2265    /// Dispose the color animatable property handle.
2266    ///
2267    /// # Arguments
2268    ///
2269    /// * `property` - [`ArkUI_ColorAnimatablePropertyHandle`] Handle to the color animatable property.
2270    ///
2271    /// Available since API-level: 20
2272    #[cfg(feature = "api-20")]
2273    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2274    pub fn OH_ArkUI_RenderNodeUtils_DisposeColorAnimatableProperty(
2275        property: ArkUI_ColorAnimatablePropertyHandle,
2276    );
2277    /// Set the onDraw function of the content modifier.
2278    ///
2279    /// # Arguments
2280    ///
2281    /// * `modifier` - The target content modifier handle.
2282    ///
2283    /// * `userData` - Custom data to be passed to the callback.
2284    ///
2285    /// * `callback` - The draw event receiver callback.
2286    ///
2287    /// # Returns
2288    ///
2289    /// * Error code.
2290    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
2291    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
2292    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
2293    ///
2294    /// Available since API-level: 20
2295    #[cfg(feature = "api-20")]
2296    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2297    pub fn OH_ArkUI_RenderNodeUtils_SetContentModifierOnDraw(
2298        modifier: ArkUI_RenderContentModifierHandle,
2299        userData: *mut ::core::ffi::c_void,
2300        callback: ::core::option::Option<
2301            unsafe extern "C" fn(
2302                context: *mut ArkUI_DrawContext,
2303                userData: *mut ::core::ffi::c_void,
2304            ),
2305        >,
2306    ) -> i32;
2307    /// Create a RectShape option.
2308    ///
2309    ///
2310    /// # Returns
2311    ///
2312    /// * A pointer to the RectShape option.
2313    ///
2314    /// Available since API-level: 20
2315    #[cfg(feature = "api-20")]
2316    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2317    pub fn OH_ArkUI_RenderNodeUtils_CreateRectShapeOption() -> *mut ArkUI_RectShapeOption;
2318    /// Dispose the RectShape option.
2319    ///
2320    /// # Arguments
2321    ///
2322    /// * `option` - Pointer to the RectShape option.
2323    ///
2324    /// Available since API-level: 20
2325    #[cfg(feature = "api-20")]
2326    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2327    pub fn OH_ArkUI_RenderNodeUtils_DisposeRectShapeOption(option: *mut ArkUI_RectShapeOption);
2328    /// Set the edge value of RectShape option.
2329    ///
2330    /// # Arguments
2331    ///
2332    /// * `option` - Pointer to the RectShape option.
2333    ///
2334    /// * `edgeValue` - The edge value of the RectShape.
2335    ///
2336    /// * `direction` - [`ArkUI_EdgeDirection`] The direction of the edge.
2337    ///
2338    /// Available since API-level: 20
2339    #[cfg(feature = "api-20")]
2340    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2341    pub fn OH_ArkUI_RenderNodeUtils_SetRectShapeOptionEdgeValue(
2342        option: *mut ArkUI_RectShapeOption,
2343        edgeValue: f32,
2344        direction: ArkUI_EdgeDirection,
2345    );
2346    /// Create a NodeBorderStyle option.
2347    ///
2348    ///
2349    /// # Returns
2350    ///
2351    /// * A pointer to the NodeBorderStyle option.
2352    ///
2353    /// Available since API-level: 20
2354    #[cfg(feature = "api-20")]
2355    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2356    pub fn OH_ArkUI_RenderNodeUtils_CreateNodeBorderStyleOption() -> *mut ArkUI_NodeBorderStyleOption;
2357    /// Dispose the NodeBorderStyle option.
2358    ///
2359    /// # Arguments
2360    ///
2361    /// * `option` - Pointer to the NodeBorderStyle option.
2362    ///
2363    /// Available since API-level: 20
2364    #[cfg(feature = "api-20")]
2365    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2366    pub fn OH_ArkUI_RenderNodeUtils_DisposeNodeBorderStyleOption(
2367        option: *mut ArkUI_NodeBorderStyleOption,
2368    );
2369    /// Set the edge value of NodeBorderStyle option.
2370    ///
2371    /// # Arguments
2372    ///
2373    /// * `option` - Pointer to the NodeBorderStyle option.
2374    ///
2375    /// * `edgeStyle` - [`ArkUI_BorderStyle`] The edge border style value of the NodeBorderStyle option.
2376    ///
2377    /// * `direction` - [`ArkUI_EdgeDirection`] The direction of the edge.
2378    ///
2379    /// Available since API-level: 20
2380    #[cfg(feature = "api-20")]
2381    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2382    pub fn OH_ArkUI_RenderNodeUtils_SetNodeBorderStyleOptionEdgeStyle(
2383        option: *mut ArkUI_NodeBorderStyleOption,
2384        edgeStyle: ArkUI_BorderStyle,
2385        direction: ArkUI_EdgeDirection,
2386    );
2387    /// Create a NodeBorderWidth option.
2388    ///
2389    ///
2390    /// # Returns
2391    ///
2392    /// * A pointer to the NodeBorderWidth option.
2393    ///
2394    /// Available since API-level: 20
2395    #[cfg(feature = "api-20")]
2396    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2397    pub fn OH_ArkUI_RenderNodeUtils_CreateNodeBorderWidthOption() -> *mut ArkUI_NodeBorderWidthOption;
2398    /// Dispose the NodeBorderWidth option.
2399    ///
2400    /// # Arguments
2401    ///
2402    /// * `option` - Pointer to the NodeBorderWidth option.
2403    ///
2404    /// Available since API-level: 20
2405    #[cfg(feature = "api-20")]
2406    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2407    pub fn OH_ArkUI_RenderNodeUtils_DisposeNodeBorderWidthOption(
2408        option: *mut ArkUI_NodeBorderWidthOption,
2409    );
2410    /// Set the edge value of NodeBorderWidth option.
2411    ///
2412    /// # Arguments
2413    ///
2414    /// * `option` - Pointer to the NodeBorderWidth option.
2415    ///
2416    /// * `edgeWidth` - The edge width value of the NodeBorderWidth option.
2417    ///
2418    /// * `direction` - [`ArkUI_EdgeDirection`] The direction of the edge.
2419    ///
2420    /// Available since API-level: 20
2421    #[cfg(feature = "api-20")]
2422    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2423    pub fn OH_ArkUI_RenderNodeUtils_SetNodeBorderWidthOptionEdgeWidth(
2424        option: *mut ArkUI_NodeBorderWidthOption,
2425        edgeWidth: f32,
2426        direction: ArkUI_EdgeDirection,
2427    );
2428    /// Create a NodeBorderColor option.
2429    ///
2430    ///
2431    /// # Returns
2432    ///
2433    /// * A pointer to the NodeBorderColor option.
2434    ///
2435    /// Available since API-level: 20
2436    #[cfg(feature = "api-20")]
2437    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2438    pub fn OH_ArkUI_RenderNodeUtils_CreateNodeBorderColorOption() -> *mut ArkUI_NodeBorderColorOption;
2439    /// Dispose the NodeBorderColor option.
2440    ///
2441    /// # Arguments
2442    ///
2443    /// * `option` - Pointer to the NodeBorderColor option.
2444    ///
2445    /// Available since API-level: 20
2446    #[cfg(feature = "api-20")]
2447    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2448    pub fn OH_ArkUI_RenderNodeUtils_DisposeNodeBorderColorOption(
2449        option: *mut ArkUI_NodeBorderColorOption,
2450    );
2451    /// Set the edge value of NodeBorderColor option.
2452    ///
2453    /// # Arguments
2454    ///
2455    /// * `option` - Pointer to the NodeBorderColor option.
2456    ///
2457    /// * `edgeColor` - The edge color value of the NodeBorderColor option.
2458    ///
2459    /// * `direction` - [`ArkUI_EdgeDirection`] The direction of the edge.
2460    ///
2461    /// Available since API-level: 20
2462    #[cfg(feature = "api-20")]
2463    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2464    pub fn OH_ArkUI_RenderNodeUtils_SetNodeBorderColorOptionEdgeColor(
2465        option: *mut ArkUI_NodeBorderColorOption,
2466        edgeColor: u32,
2467        direction: ArkUI_EdgeDirection,
2468    );
2469    /// Create a NodeBorderRadius option.
2470    ///
2471    ///
2472    /// # Returns
2473    ///
2474    /// * A pointer to the NodeBorderRadius option.
2475    ///
2476    /// Available since API-level: 20
2477    #[cfg(feature = "api-20")]
2478    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2479    pub fn OH_ArkUI_RenderNodeUtils_CreateNodeBorderRadiusOption(
2480    ) -> *mut ArkUI_NodeBorderRadiusOption;
2481    /// Dispose the NodeBorderRadius option.
2482    ///
2483    /// # Arguments
2484    ///
2485    /// * `option` - Pointer to the NodeBorderRadius option.
2486    ///
2487    /// Available since API-level: 20
2488    #[cfg(feature = "api-20")]
2489    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2490    pub fn OH_ArkUI_RenderNodeUtils_DisposeNodeBorderRadiusOption(
2491        option: *mut ArkUI_NodeBorderRadiusOption,
2492    );
2493    /// Set the corner value of NodeBorderRadius option.
2494    ///
2495    /// # Arguments
2496    ///
2497    /// * `option` - Pointer to the NodeBorderRadius option.
2498    ///
2499    /// * `cornerRadius` - The corner radius value of the NodeBorderRadius option.
2500    ///
2501    /// * `direction` - [`ArkUI_CornerDirection`] The direction of the corner.
2502    ///
2503    /// Available since API-level: 20
2504    #[cfg(feature = "api-20")]
2505    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2506    pub fn OH_ArkUI_RenderNodeUtils_SetNodeBorderRadiusOptionCornerRadius(
2507        option: *mut ArkUI_NodeBorderRadiusOption,
2508        cornerRadius: u32,
2509        direction: ArkUI_CornerDirection,
2510    );
2511    /// Create a CircleShape option.
2512    ///
2513    ///
2514    /// # Returns
2515    ///
2516    /// * A pointer to the CircleShape option.
2517    ///
2518    /// Available since API-level: 20
2519    #[cfg(feature = "api-20")]
2520    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2521    pub fn OH_ArkUI_RenderNodeUtils_CreateCircleShapeOption() -> *mut ArkUI_CircleShapeOption;
2522    /// Dispose the CircleShape option.
2523    ///
2524    /// # Arguments
2525    ///
2526    /// * `option` - Pointer to the CircleShape option.
2527    ///
2528    /// Available since API-level: 20
2529    #[cfg(feature = "api-20")]
2530    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2531    pub fn OH_ArkUI_RenderNodeUtils_DisposeCircleShapeOption(option: *mut ArkUI_CircleShapeOption);
2532    /// Set the centerX value of CircleShape option.
2533    ///
2534    /// # Arguments
2535    ///
2536    /// * `option` - Pointer to the CircleShape option.
2537    ///
2538    /// * `centerX` - The centerX value.
2539    ///
2540    /// Available since API-level: 20
2541    #[cfg(feature = "api-20")]
2542    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2543    pub fn OH_ArkUI_RenderNodeUtils_SetCircleShapeOptionCenterX(
2544        option: *mut ArkUI_CircleShapeOption,
2545        centerX: f32,
2546    );
2547    /// Set the centerY value of CircleShape option.
2548    ///
2549    /// # Arguments
2550    ///
2551    /// * `option` - Pointer to the CircleShape option.
2552    ///
2553    /// * `centerY` - The centerY value.
2554    ///
2555    /// Available since API-level: 20
2556    #[cfg(feature = "api-20")]
2557    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2558    pub fn OH_ArkUI_RenderNodeUtils_SetCircleShapeOptionCenterY(
2559        option: *mut ArkUI_CircleShapeOption,
2560        centerY: f32,
2561    );
2562    /// Set the radius value of CircleShape option.
2563    ///
2564    /// # Arguments
2565    ///
2566    /// * `option` - Pointer to the CircleShape option.
2567    ///
2568    /// * `radius` - The radius value.
2569    ///
2570    /// Available since API-level: 20
2571    #[cfg(feature = "api-20")]
2572    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2573    pub fn OH_ArkUI_RenderNodeUtils_SetCircleShapeOptionRadius(
2574        option: *mut ArkUI_CircleShapeOption,
2575        radius: f32,
2576    );
2577    /// Create a RoundRectShape option.
2578    ///
2579    ///
2580    /// # Returns
2581    ///
2582    /// * A pointer to the RoundRectShape option.
2583    ///
2584    /// Available since API-level: 20
2585    #[cfg(feature = "api-20")]
2586    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2587    pub fn OH_ArkUI_RenderNodeUtils_CreateRoundRectShapeOption() -> *mut ArkUI_RoundRectShapeOption;
2588    /// Dispose the RoundRectShape option.
2589    ///
2590    /// # Arguments
2591    ///
2592    /// * `option` - Pointer to the RoundRectShape option.
2593    ///
2594    /// Available since API-level: 20
2595    #[cfg(feature = "api-20")]
2596    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2597    pub fn OH_ArkUI_RenderNodeUtils_DisposeRoundRectShapeOption(
2598        option: *mut ArkUI_RoundRectShapeOption,
2599    );
2600    /// Set the edge value of RoundRectShape option.
2601    ///
2602    /// # Arguments
2603    ///
2604    /// * `option` - Pointer to the RoundRectShape option.
2605    ///
2606    /// * `edgeValue` - The edge value of the RoundRectShape.
2607    ///
2608    /// * `direction` - [`ArkUI_EdgeDirection`] The direction of the edge.
2609    ///
2610    /// Available since API-level: 20
2611    #[cfg(feature = "api-20")]
2612    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2613    pub fn OH_ArkUI_RenderNodeUtils_SetRoundRectShapeOptionEdgeValue(
2614        option: *mut ArkUI_RoundRectShapeOption,
2615        edgeValue: f32,
2616        direction: ArkUI_EdgeDirection,
2617    );
2618    /// Set the coordinate value of the target corner.
2619    ///
2620    /// # Arguments
2621    ///
2622    /// * `option` - Pointer to the RoundRectShape option.
2623    ///
2624    /// * `x` - X-coordinate of the target corner (in pixels).
2625    ///
2626    /// * `y` - Y-coordinate of the target corner (in pixels).
2627    ///
2628    /// * `direction` - [`ArkUI_CornerDirection`] The direction of the corner.
2629    ///
2630    /// Available since API-level: 20
2631    #[cfg(feature = "api-20")]
2632    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2633    pub fn OH_ArkUI_RenderNodeUtils_SetRoundRectShapeOptionCornerXY(
2634        option: *mut ArkUI_RoundRectShapeOption,
2635        x: f32,
2636        y: f32,
2637        direction: ArkUI_CornerDirection,
2638    );
2639    /// Create a CommandPath option.
2640    ///
2641    ///
2642    /// # Returns
2643    ///
2644    /// * A pointer to the CommandPath option.
2645    ///
2646    /// Available since API-level: 20
2647    #[cfg(feature = "api-20")]
2648    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2649    pub fn OH_ArkUI_RenderNodeUtils_CreateCommandPathOption() -> *mut ArkUI_CommandPathOption;
2650    /// Dispose the CommandPath option.
2651    ///
2652    /// # Arguments
2653    ///
2654    /// * `option` - Pointer to the CommandPath option.
2655    ///
2656    /// Available since API-level: 20
2657    #[cfg(feature = "api-20")]
2658    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2659    pub fn OH_ArkUI_RenderNodeUtils_DisposeCommandPathOption(option: *mut ArkUI_CommandPathOption);
2660    /// Set the commands value of CommandPath option.
2661    ///
2662    /// # Arguments
2663    ///
2664    /// * `option` - Pointer to the CommandPath option.
2665    ///
2666    /// * `commands` - The commands value.
2667    ///
2668    /// Available since API-level: 20
2669    #[cfg(feature = "api-20")]
2670    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2671    pub fn OH_ArkUI_RenderNodeUtils_SetCommandPathOptionCommands(
2672        option: *mut ArkUI_CommandPathOption,
2673        commands: *mut ::core::ffi::c_char,
2674    );
2675    /// Create a mask option from a RectShape option.
2676    ///
2677    /// # Arguments
2678    ///
2679    /// * `shape` - [`ArkUI_RectShapeOption`] Pointer to the RectShape option.
2680    ///
2681    /// # Returns
2682    ///
2683    /// * A pointer to the RenderNodeMask option.
2684    ///
2685    /// Available since API-level: 20
2686    #[cfg(feature = "api-20")]
2687    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2688    pub fn OH_ArkUI_RenderNodeUtils_CreateRenderNodeMaskOptionFromRectShape(
2689        shape: *mut ArkUI_RectShapeOption,
2690    ) -> *mut ArkUI_RenderNodeMaskOption;
2691    /// Create a mask option from a RoundRectShape option.
2692    ///
2693    /// # Arguments
2694    ///
2695    /// * `shape` - [`ArkUI_RoundRectShapeOption`] Pointer to the RoundRectShape option.
2696    ///
2697    /// # Returns
2698    ///
2699    /// * A pointer to the RenderNodeMask option.
2700    ///
2701    /// Available since API-level: 20
2702    #[cfg(feature = "api-20")]
2703    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2704    pub fn OH_ArkUI_RenderNodeUtils_CreateRenderNodeMaskOptionFromRoundRectShape(
2705        shape: *mut ArkUI_RoundRectShapeOption,
2706    ) -> *mut ArkUI_RenderNodeMaskOption;
2707    /// Create a mask option from a CircleShape option.
2708    ///
2709    /// # Arguments
2710    ///
2711    /// * `shape` - [`ArkUI_CircleShapeOption`] Pointer to the CircleShape option.
2712    ///
2713    /// # Returns
2714    ///
2715    /// * A pointer to the RenderNodeMask option.
2716    ///
2717    /// Available since API-level: 20
2718    #[cfg(feature = "api-20")]
2719    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2720    pub fn OH_ArkUI_RenderNodeUtils_CreateRenderNodeMaskOptionFromCircleShape(
2721        shape: *mut ArkUI_CircleShapeOption,
2722    ) -> *mut ArkUI_RenderNodeMaskOption;
2723    /// Create a mask option from a OvalShape option.
2724    ///
2725    /// # Arguments
2726    ///
2727    /// * `shape` - [`ArkUI_RectShapeOption`] Pointer to the OvalShape option.
2728    ///
2729    /// # Returns
2730    ///
2731    /// * A pointer to the RenderNodeMask option.
2732    ///
2733    /// Available since API-level: 20
2734    #[cfg(feature = "api-20")]
2735    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2736    pub fn OH_ArkUI_RenderNodeUtils_CreateRenderNodeMaskOptionFromOvalShape(
2737        shape: *mut ArkUI_RectShapeOption,
2738    ) -> *mut ArkUI_RenderNodeMaskOption;
2739    /// Create a mask option from a CommandPath option.
2740    ///
2741    /// # Arguments
2742    ///
2743    /// * `path` - [`ArkUI_CommandPathOption`] Pointer to the CommandPath option.
2744    ///
2745    /// # Returns
2746    ///
2747    /// * A pointer to the RenderNodeMask option.
2748    ///
2749    /// Available since API-level: 20
2750    #[cfg(feature = "api-20")]
2751    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2752    pub fn OH_ArkUI_RenderNodeUtils_CreateRenderNodeMaskOptionFromCommandPath(
2753        path: *mut ArkUI_CommandPathOption,
2754    ) -> *mut ArkUI_RenderNodeMaskOption;
2755    /// Dispose the RenderNodeMask option.
2756    ///
2757    /// # Arguments
2758    ///
2759    /// * `option` - Pointer to the RenderNodeMask option.
2760    ///
2761    /// Available since API-level: 20
2762    #[cfg(feature = "api-20")]
2763    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2764    pub fn OH_ArkUI_RenderNodeUtils_DisposeRenderNodeMaskOption(
2765        option: *mut ArkUI_RenderNodeMaskOption,
2766    );
2767    /// Set the fill color of RenderNodeMask option.
2768    ///
2769    /// # Arguments
2770    ///
2771    /// * `mask` - Pointer to the RenderNodeMask option.
2772    ///
2773    /// * `fillColor` - The fill color of the mask.
2774    ///
2775    /// # Returns
2776    ///
2777    /// * Error code.
2778    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
2779    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
2780    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
2781    ///
2782    /// Available since API-level: 20
2783    #[cfg(feature = "api-20")]
2784    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2785    pub fn OH_ArkUI_RenderNodeUtils_SetRenderNodeMaskOptionFillColor(
2786        mask: *mut ArkUI_RenderNodeMaskOption,
2787        fillColor: u32,
2788    );
2789    /// Set the stroke color of RenderNodeMask option.
2790    ///
2791    /// # Arguments
2792    ///
2793    /// * `mask` - Pointer to the RenderNodeMask option.
2794    ///
2795    /// * `strokeColor` - The stroke color of the mask.
2796    ///
2797    /// # Returns
2798    ///
2799    /// * Error code.
2800    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
2801    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
2802    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
2803    ///
2804    /// Available since API-level: 20
2805    #[cfg(feature = "api-20")]
2806    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2807    pub fn OH_ArkUI_RenderNodeUtils_SetRenderNodeMaskOptionStrokeColor(
2808        mask: *mut ArkUI_RenderNodeMaskOption,
2809        strokeColor: u32,
2810    );
2811    /// Set the stroke width of RenderNodeMask option.
2812    ///
2813    /// # Arguments
2814    ///
2815    /// * `mask` - Pointer to the RenderNodeMask option.
2816    ///
2817    /// * `strokeWidth` - The stroke width of the mask.
2818    ///
2819    /// # Returns
2820    ///
2821    /// * Error code.
2822    /// [`ARKUI_ERROR_CODE_NO_ERROR`] Success.
2823    /// [`ARKUI_ERROR_CODE_PARAM_INVALID`] Function parameter exception.
2824    /// [`ARKUI_ERROR_CODE_CAPI_INIT_ERROR`] if CAPI init error.
2825    ///
2826    /// Available since API-level: 20
2827    #[cfg(feature = "api-20")]
2828    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2829    pub fn OH_ArkUI_RenderNodeUtils_SetRenderNodeMaskOptionStrokeWidth(
2830        mask: *mut ArkUI_RenderNodeMaskOption,
2831        strokeWidth: f32,
2832    );
2833    /// Create a clip option from a RectShape option.
2834    ///
2835    /// # Arguments
2836    ///
2837    /// * `shape` - [`ArkUI_RectShapeOption`] Pointer to the RectShape option.
2838    ///
2839    /// # Returns
2840    ///
2841    /// * A pointer to the RenderNodeClip option.
2842    ///
2843    /// Available since API-level: 20
2844    #[cfg(feature = "api-20")]
2845    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2846    pub fn OH_ArkUI_RenderNodeUtils_CreateRenderNodeClipOptionFromRectShape(
2847        shape: *mut ArkUI_RectShapeOption,
2848    ) -> *mut ArkUI_RenderNodeClipOption;
2849    /// Create a clip option from a RoundRectShape option.
2850    ///
2851    /// # Arguments
2852    ///
2853    /// * `shape` - [`ArkUI_RoundRectShapeOption`] Pointer to the RoundRectShape option.
2854    ///
2855    /// # Returns
2856    ///
2857    /// * A pointer to the RenderNodeClip option.
2858    ///
2859    /// Available since API-level: 20
2860    #[cfg(feature = "api-20")]
2861    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2862    pub fn OH_ArkUI_RenderNodeUtils_CreateRenderNodeClipOptionFromRoundRectShape(
2863        shape: *mut ArkUI_RoundRectShapeOption,
2864    ) -> *mut ArkUI_RenderNodeClipOption;
2865    /// Create a clip option from a CircleShape option.
2866    ///
2867    /// # Arguments
2868    ///
2869    /// * `shape` - [`ArkUI_CircleShapeOption`] Pointer to the CircleShape option.
2870    ///
2871    /// # Returns
2872    ///
2873    /// * A pointer to the RenderNodeClip option.
2874    ///
2875    /// Available since API-level: 20
2876    #[cfg(feature = "api-20")]
2877    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2878    pub fn OH_ArkUI_RenderNodeUtils_CreateRenderNodeClipOptionFromCircleShape(
2879        shape: *mut ArkUI_CircleShapeOption,
2880    ) -> *mut ArkUI_RenderNodeClipOption;
2881    /// Create a clip option from a OvalShape option.
2882    ///
2883    /// # Arguments
2884    ///
2885    /// * `shape` - [`ArkUI_RectShapeOption`] Pointer to the OvalShape option.
2886    ///
2887    /// # Returns
2888    ///
2889    /// * A pointer to the RenderNodeClip option.
2890    ///
2891    /// Available since API-level: 20
2892    #[cfg(feature = "api-20")]
2893    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2894    pub fn OH_ArkUI_RenderNodeUtils_CreateRenderNodeClipOptionFromOvalShape(
2895        shape: *mut ArkUI_RectShapeOption,
2896    ) -> *mut ArkUI_RenderNodeClipOption;
2897    /// Create a clip option from a CommandPath option.
2898    ///
2899    /// # Arguments
2900    ///
2901    /// * `path` - [`ArkUI_CommandPathOption`] Pointer to the CommandPath option.
2902    ///
2903    /// # Returns
2904    ///
2905    /// * A pointer to the RenderNodeClip option.
2906    ///
2907    /// Available since API-level: 20
2908    #[cfg(feature = "api-20")]
2909    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2910    pub fn OH_ArkUI_RenderNodeUtils_CreateRenderNodeClipOptionFromCommandPath(
2911        path: *mut ArkUI_CommandPathOption,
2912    ) -> *mut ArkUI_RenderNodeClipOption;
2913    /// Dispose the RenderNodeClip option.
2914    ///
2915    /// # Arguments
2916    ///
2917    /// * `option` - Pointer to the RenderNodeClip option.
2918    ///
2919    /// Available since API-level: 20
2920    #[cfg(feature = "api-20")]
2921    #[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
2922    pub fn OH_ArkUI_RenderNodeUtils_DisposeRenderNodeClipOption(
2923        option: *mut ArkUI_RenderNodeClipOption,
2924    );
2925}