left | Specifies the left edge of the rectangle to be filled, in pixels (at the image location). |
top | Specifies the top edge of the rectangle to be filled, in pixels (at the image location). |
width | Specifies the width of the filled rectangle in pixels (at the image position). |
height | Specifies the height of the filled rectangle in pixels (at the image position). |
value | Specify the fill color and value. The meaning of this value depends on the value of the Layer.face property. dfAlpha (or dfBoth) : Specify opacity and color in 0xAARRGGBB format. Both the main and the mask are filled. dfAddAlpha : Specify opacity and color in 0xAARRGGBB format. Both the main and the mask are filled. dfOpaque (or dfMain) : Please specify the color in 0xRRGGBB format. When the Layer.holdAlpha property is true, only the main is filled and the mask remains. When false, as in dfAlpha and dfAddAlpha, the opacity and color specification in 0xAARRGGBB format is accepted, and both the main and mask are filled. dfMask : Specify the mask (opacity) value (0 to 255). Only the mask is filled, the main remains. dfProvince : Specify an area value (0 to 255). Only the area is filled. |