@motion-script/core / EllipseState
Interface: EllipseState
Defined in: render/descriptors/ellipse.ts:2
Per-shape descriptor state. Shapes carry geometry and a local transform
(rotation/scale baked into the path before it joins the union) but not
layer effects: effects are applied to the whole drawn union via
Graphics.effects, not per shape. So ShapeState omits
TransformState.effects (which remains for node-level transforms).
Extends
Properties
blend?
optionalblend?:"color"|"multiply"|"screen"|"overlay"|"darken"|"lighten"|"color-dodge"|"color-burn"|"hard-light"|"soft-light"|"difference"|"exclusion"|"hue"|"saturation"|"luminosity"|"normal"|"pass-through"
Defined in: render/descriptors/transform.ts:12
Layer blend mode. 'pass-through' (the default) does not isolate the node; any other mode isolates it and blends its flattened result against the backdrop. Optional so per-shape descriptors that extend this state needn't carry it.
Inherited from
end
end:
number
Defined in: render/descriptors/shape.ts:14
Inherited from
height
height:
number
Defined in: render/descriptors/ellipse.ts:4
Overrides
opacity
opacity:
number
Defined in: render/descriptors/transform.ts:10
Inherited from
pivot
pivot:
Anchor
Defined in: render/descriptors/shape.ts:22
Pivot for the shape's local rotation/scale. Widened from a Vector2 to a
Anchor so a shape can pivot about a named anchor
(.rect({ pivot: 'topRight' })) as well as an explicit Vector2.
with*Descriptor normalises it to a Vector2 (via resolveShapePivot),
so the resolved state the renderer reads always carries a concrete pivot.
Inherited from
ratio
ratio:
number
Defined in: render/descriptors/ellipse.ts:5
rotation
rotation:
number
Defined in: render/descriptors/transform.ts:13
Inherited from
scale
scale:
number
Defined in: render/descriptors/transform.ts:14
Inherited from
start
start:
number
Defined in: render/descriptors/shape.ts:13
Inherited from
startAngle
startAngle:
number
Defined in: render/descriptors/ellipse.ts:7
sweep
sweep:
number
Defined in: render/descriptors/ellipse.ts:6
width
width:
number
Defined in: render/descriptors/ellipse.ts:3
Overrides
x
x:
number
Defined in: render/descriptors/transform.ts:6
Inherited from
y
y:
number
Defined in: render/descriptors/transform.ts:7