For AI agents: the complete documentation index is available at /next/zh/llms.txt, the full documentation bundle is available at /next/zh/llms-full.txt, and this page is available as Markdown at /next/zh/lynxtron/api/@lynx-js/lynxtron/Interface.AddRepresentationOptions.md.
  • 简体中文
  • @lynx-js/lynxtron / AddRepresentationOptions

    AddRepresentationOptions

    属性

    buffer?

    optional buffer: any;

    The buffer containing the raw image data.

    定义于

    apis/api/native-image.d.ts:48


    dataURL?

    optional dataURL: string;

    The data URL containing either a base 64 encoded PNG or JPEG image.

    定义于

    apis/api/native-image.d.ts:52


    height?

    optional height: number;

    Defaults to 0. Required if a bitmap buffer is specified as buffer.

    定义于

    apis/api/native-image.d.ts:44


    scaleFactor?

    optional scaleFactor: number;

    The scale factor to add the image representation for.

    定义于

    apis/api/native-image.d.ts:36


    width?

    optional width: number;

    Defaults to 0. Required if a bitmap buffer is specified as buffer.

    定义于

    apis/api/native-image.d.ts:40

    除非另有说明,本项目采用知识共享署名 4.0 国际许可协议进行许可,代码示例采用 Apache License 2.0 许可协议进行许可。