hi_cover

说明

定义覆盖参数结构体。

定义

typedef struct {
    hi_cover_type type;
    union {
        hi_rect rect;
        hi_quad_cover quad;
    };
    hi_u32 color;
} hi_cover;

成员

成员名称

描述

type

覆盖类型。

rect

覆盖区域。

quad

自定义覆盖区域。

color

覆盖区域的颜色值。