Skip to content

hm5-types (source format) / BitmapFill

Interface: BitmapFill ​

Flash bitmap fill: an image asset painted inside a shape's fill.

Properties ​

PropertyTypeDescription
assetIdstringa type: "bitmap" asset
clamp?booleantrue = outside the image its edge pixels stretch on (Flash "clipped"); absent = the image tiles (Flash's default)
matrixMat2Dimage pixels → the shape's own space (natural size = scale 1)
smooth?booleanfalse = nearest-neighbour pixels; absent = smoothed

HereSplash — 2D animation for the web