diff --git a/api/arkui/RenderNode.static.d.ets b/api/arkui/RenderNode.static.d.ets index 6bd6560309568fe98a7b2f1b4d4fafdd2ae220f1..0f8ba9ca3f2f77b069efc1a336a89e4f7953cecc 100644 --- a/api/arkui/RenderNode.static.d.ets +++ b/api/arkui/RenderNode.static.d.ets @@ -433,11 +433,11 @@ export declare class RenderNode { /** * Get border style of the RenderNode. * - * @returns { Edges } - Returns the border style of the RenderNode. + * @returns { Edges | undefined } - Returns the border style of the RenderNode. * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - get borderStyle(): Edges; + get borderStyle(): Edges | undefined; /** * Set border width of the RenderNode. @@ -451,12 +451,12 @@ export declare class RenderNode { /** * Get border width of the RenderNode. * - * @returns { Edges } - Returns the border width of the RenderNode. + * @returns { Edges | undefined } - Returns the border width of the RenderNode. * @default 0 * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - get borderWidth(): Edges; + get borderWidth(): Edges | undefined; /** * Set border color of the RenderNode. @@ -470,12 +470,11 @@ export declare class RenderNode { /** * Get border color of the RenderNode. * - * @returns { Edges } - Returns the border color of the RenderNode. - * @default 0XFF000000 + * @returns { Edges | undefined } - Returns the border color of the RenderNode. * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - get borderColor(): Edges; + get borderColor(): Edges | undefined; /** * Set border radius of the RenderNode. @@ -489,7 +488,7 @@ export declare class RenderNode { /** * Get border radius of the RenderNode. * - * @returns { NodeBorderRadiuses } - Returns the border radius of the RenderNode. + * @returns { NodeBorderRadiuses | undefined } - Returns the border radius of the RenderNode. * @default 0 * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 @@ -508,11 +507,11 @@ export declare class RenderNode { /** * Get shape mask of the RenderNode. * - * @returns { ShapeMask } - Returns the shape mask of the RenderNode. + * @returns { ShapeMask | undefined } - Returns the shape mask of the RenderNode. * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - get shapeMask(): ShapeMask; + get shapeMask(): ShapeMask | undefined; /** * Set shape clip of the RenderNode.