MotionScript

@motion-script/core


@motion-script/core / ImageFillResolved

Interface: ImageFillResolved

Defined in: attributes/shape/fill/implementations/image.ts:102

Properties

anchor?

optional anchor?: Vector2

Defined in: attributes/shape/fill/implementations/image.ts:110

Normalised [-1, 1] y-up point.


blend?

optional blend?: "color" | "multiply" | "screen" | "overlay" | "darken" | "lighten" | "color-dodge" | "color-burn" | "hard-light" | "soft-light" | "difference" | "exclusion" | "hue" | "saturation" | "luminosity" | "normal"

Defined in: attributes/shape/fill/implementations/image.ts:114


crop?

optional crop?: InsetsResolved

Defined in: attributes/shape/fill/implementations/image.ts:107

Fractional insets, all four sides present.


filters?

optional filters?: MediaFilter[]

Defined in: attributes/shape/fill/implementations/image.ts:112


fit?

optional fit?: ImageFit

Defined in: attributes/shape/fill/implementations/image.ts:105


matrix?

optional matrix?: ImageMatrix

Defined in: attributes/shape/fill/implementations/image.ts:111


opacity?

optional opacity?: number

Defined in: attributes/shape/fill/implementations/image.ts:113


src

src: string

Defined in: attributes/shape/fill/implementations/image.ts:104


type

type: "image"

Defined in: attributes/shape/fill/implementations/image.ts:103


zoom?

optional zoom?: number

Defined in: attributes/shape/fill/implementations/image.ts:108