Appearance
hm5-types (source format) / BitmapFill
Interface: BitmapFill
Flash bitmap fill: an image asset painted inside a shape's fill.
Properties
| Property | Type | Description |
|---|---|---|
assetId | string | a type: "bitmap" asset |
clamp? | boolean | true = outside the image its edge pixels stretch on (Flash "clipped"); absent = the image tiles (Flash's default) |
matrix | Mat2D | image pixels → the shape's own space (natural size = scale 1) |
smooth? | boolean | false = nearest-neighbour pixels; absent = smoothed |