背景对象对齐方式(bkObject_align_flag_)

枚举

enum  bkObject_align_flag_ {
  bkObject_align_flag_no = 0x000 , bkObject_align_flag_left = 0x001 , bkObject_align_flag_top = 0x002 , bkObject_align_flag_right = 0x004 ,
  bkObject_align_flag_bottom = 0x008 , bkObject_align_flag_center = 0x010 , bkObject_align_flag_center_v = 0x020
}
 

详细描述

枚举类型说明

◆ bkObject_align_flag_

枚举值
bkObject_align_flag_no 

bkObject_align_flag_left 

左对齐, 当设置此标识时,外间距(margin.left)代表左侧间距; 当right未设置时,那么外间距(margin.right)代表宽度;

bkObject_align_flag_top 

顶对齐, 当设置此标识时,外间距(margin.top)代表顶部间距; 当bottom未设置时,那么外间距(margin.bottom)代表高度;

bkObject_align_flag_right 

右对齐, 当设置此标识时,外间距(margin.right)代表右侧间距; 当left未设置时,那么外间距(margin.left)代表宽度;

bkObject_align_flag_bottom 

底对齐, 当设置此标识时,外间距(margin.bottom)代表底部间距; 当top未设置时,那么外间距(margin.top)代表高度;

bkObject_align_flag_center 

水平居中, 当设置此标识时,外间距(margin.left)代表宽度;

bkObject_align_flag_center_v 

垂直居中, 当设置此标识时,外间距(margin.top)代表高度;