react-native-mobilex 开发文档
    Preparing search index...

    Interface ScreenImageItem

    屏幕图片动画元素。

    interface ScreenImageItem {
        anchor?: TAnchor;
        animations: IScreenAnimation[];
        name: string;
        position: { x: number; y: number };
        size?: { width?: number };
        type: "image";
        url: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    anchor?: TAnchor

    对象锚点 默认 top-left

    animations: IScreenAnimation[]
    name: string

    屏幕动画名字

    position: { x: number; y: number }

    图片相对屏幕的位置 范围 0 - 100

    size?: { width?: number }

    Type declaration

    • Optionalwidth?: number

      pixle

    type: "image"
    url: string