Interface ICanvasMediaMutableProps

Extended mutable properties for the CanvasMedia class.

interface ICanvasMediaMutableProps {
    __mutableProp?: null;
    dpr?: number | "auto";
    height?: number | "auto";
    rule?:
        | "cover"
        | "contain"
        | "top-left"
        | "top-right"
        | "bottom-left"
        | "bottom-right"
        | "center";
    width?: number
    | "auto";
}

Hierarchy (View Summary, Expand)

Properties

__mutableProp?: null
dpr?: number | "auto"

Device Pixel Ratio (DPR). Use 'auto' for automatic detection.

'auto'
height?: number | "auto"

Canvas height. Use 'auto' to match the container's height.

'auto'
rule?:
    | "cover"
    | "contain"
    | "top-left"
    | "top-right"
    | "bottom-left"
    | "bottom-right"
    | "center"

Defines how the media element is positioned within the canvas.

'cover'
width?: number | "auto"

Canvas width. Use 'auto' to match the container's width.

'auto'
MMNEPVFCICPMFPCPTTAAATR