|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use IStruct | |
---|---|
twaver | |
twaver.network |
Uses of IStruct in twaver |
---|
Classes in twaver that implement IStruct | |
---|---|
class |
Insets
间隙,包含上下左右四个参数,可用于图形填充量,间隙等 下面的方法设置网元文本间隙 |
class |
PathSegment
路径片段,用于描述路径,包含类型和坐标信息 路径有三种类型:moveTo, lineTo, quadTo,分别对应2D绘制的三种画法:移动画笔,绘制线条,绘制曲线 该类可用于连线的走向,多边形的定义 |
static class |
PathSegment.LineSegment
路径片段,对应路径绘制的 Path#lineTo(float, float) 方法 |
static class |
PathSegment.MoveSegment
路径片段,对应路径绘制的 Path#moveTo(float, float) 方法 |
static class |
PathSegment.QuadSegment
路径片段,对应路径绘制的 Path#quadTo(float, float, float, float) 方法 |
class |
Point
点对象,用于描述二维坐标点信息,包含x,y两个参数 |
class |
Rect
矩形,继承于Size,增加了x,y两个位置参数 |
class |
RoundRect
圆角矩形,继承于Rect,增加了radius参数,用来表示圆角半径 |
class |
Size
用于描述对象的尺寸或者大小,包含宽度和高度两个参数,默认宽高为0 |
Uses of IStruct in twaver.network |
---|
Classes in twaver.network that implement IStruct | |
---|---|
class |
UIBounds
UI元素范围,继承于矩形,为UI主体部分的范围大小,主体之外还可设置padding, selection border和outline,共同构成UI的范围信息 UI范围分四种,从小到大分别为:body,fill bounds, content bounds, view bounds fill bounds = body + padding content bounds = fill bounds + outline view bounds = content bounds + selection border |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |