跳至主要內容

类: Img

大约 2 分钟

类: Img

类属性

属性 offsetX

类型: number

访问: 可读, 可写

该属性是对 LVGL C API lv_image_get_offset_x, lv_image_set_offset_x 的封装, 具体用法请参考 LVGL文档open in new window

属性 offsetY

类型: number

访问: 可读, 可写

该属性是对 LVGL C API lv_image_get_offset_y, lv_image_set_offset_y 的封装, 具体用法请参考 LVGL文档open in new window

属性 rotation

类型: number

访问: 可读, 可写

该属性是对 LVGL C API lv_image_get_rotation, lv_image_set_rotation 的封装, 具体用法请参考 LVGL文档open in new window

属性 scale

类型: number

访问: 可读, 可写

该属性是对 LVGL C API lv_image_get_scale, lv_image_set_scale 的封装, 具体用法请参考 LVGL文档open in new window

属性 scaleX

类型: number

访问: 可读, 可写

该属性是对 LVGL C API lv_image_get_scale_x, lv_image_set_scale_x 的封装, 具体用法请参考 LVGL文档open in new window

属性 scaleY

类型: number

访问: 可读, 可写

该属性是对 LVGL C API lv_image_get_scale_y, lv_image_set_scale_y 的封装, 具体用法请参考 LVGL文档open in new window

属性 blendMode

类型: LV-CONST

访问: 可读, 可写

该属性是对 LVGL C API lv_image_get_blend_mode, lv_image_set_blend_mode 的封装, 具体用法请参考 LVGL文档open in new window

属性 antialias

类型: number

访问: 可读, 可写

该属性是对 LVGL C API lv_image_get_antialias, lv_image_set_antialias 的封装, 具体用法请参考 LVGL文档open in new window

属性 align

类型: LV-CONST

访问: 可读, 可写

该属性是对 LVGL C API lv_image_get_align, lv_image_set_align 的封装, 具体用法请参考 LVGL文档open in new window

类方法

方法 setPivot

原型: setPivot ()

该方法是对 LVGL C API lv_image_set_pivot 的封装,具体用法请参考 LVGL文档open in new window

返回值:

undefined

上次编辑于:
贡献者: alee