AutoFillRect (System API)

AutoFillRect describes the rectangle used for auto-fill.

NOTE

The initial APIs of this module are supported since API version 12. Newly added APIs will be marked with a superscript to indicate their earliest API version. The APIs provided by this module are system APIs. The APIs of this module can be used only in the stage model.

Attributes

System capability: SystemCapability.Ability.AbilityRuntime.AbilityCore

Name Type Mandatory Description
left number Yes Distance between the AutoFill form or page node and the left boundary of the page.
top number Yes Distance between the AutoFill form or page node and the upper boundary of the page.
height number Yes Height of the AutoFill form or page node.
width number Yes Width of the AutoFill form or page node.