effect-motion
API Referenceeffect-motionNamespacesEntityVariables

Ellipse

const Ellipse: TaggedStruct<"Ellipse", {

Variable: Ellipse

const Ellipse: TaggedStruct<"Ellipse", {
  fillColor: withConstructorDefault<typeof Color>;
  opacity: withConstructorDefault<Number>;
  position: withConstructorDefault<TaggedStruct<"Vec3", {
     x: withConstructorDefault<Number>;
     y: withConstructorDefault<Number>;
     z: withConstructorDefault<Number>;
  }>>;
  radiusX: withConstructorDefault<Number>;
  radiusY: withConstructorDefault<Number>;
  rotation: withConstructorDefault<TaggedStruct<"Vec3", {
     x: withConstructorDefault<Number>;
     y: withConstructorDefault<Number>;
     z: withConstructorDefault<Number>;
  }>>;
  scale: withConstructorDefault<TaggedStruct<"Vec3", {
     x: withConstructorDefault<Number>;
     y: withConstructorDefault<Number>;
     z: withConstructorDefault<Number>;
  }>>;
  strokeColor: optionalKey<typeof Color>;
  strokeWidth: withConstructorDefault<Number>;
  visible: withConstructorDefault<Boolean>;
}>;

Defined in: packages/motion/src/Entity.ts:196

An ellipse with independent radiusX and radiusY.

On this page