Skip to content

hm5-types (source format) / ResizeRule

Interface: ResizeRule ​

§15.3 — what a future Resize panel writes instead of code.

Properties ​

PropertyTypeDescription
anchorobject-
anchor.xnumber | "center" | "left" | "right"float = 0..1
anchor.ynumber | "center" | "top" | "bottom"-
objectIdstring-
offset?object-
offset.xnumber-
offset.ynumber-
scale?object-
scale.max?number-
scale.min?number-
scale.mode"none" | "fit" | "fill"-

HereSplash — 2D animation for the web