多态竖向三分法
<p>对应的横向多态三分法,我们也需要
多态竖向三分法,比如滚动条滑块不可能只有一个状态,
如图
<img src="https://www.showdoc.cc/server/api/common/visitfile/sign/9684776fb5c15a8a5e1d79da3937f0d0?showdoc=.jpg" alt="" /></p>
<p>foxuiutils 也提供了多态竖向三分法
VerThreeDrawBmp32ByIndex(DstBmp,SrcBmp:TBitmap32;AW:Integer;ImgSplit:TFoxUIPadding;DstRect,SrcRect:TRect;index:Integer);overload;</p>
<p>VerThreeDrawBmp32ByIndex(DstBmp,SrcBmp:TBitmap32;AW:Integer;ImgSplit,DstRect,SrcRect:TRect;index:Integer);overload;</p>
<p>dstbmp 目标图片
srcbmp 原图
aw 单态的宽度 注意我们所有的多态图都是横向拼接的
imgsplit 设定 竖向分割 top bottom
dstrect 目标区域
srcrect 原图区域
index 取当前那个状态 0为第一态</p>