FoxUI在线文档

关于FoxUI组件的说明


FoxUIBMP32Storage

<p>FoxUIBMP32Storage,FoxUI提供的图片存贮组件,我们可以方便的把图片存入其中,而且直接改成了 FoxUI专用的bmp32格式,是一个真正的BmpBank。</p> <p><strong>属性</strong> ForceHeight 强制高度 0 表示不限制 保持原图大小 ForceWidth 强制宽度 0 表示不限制 保持原图大小</p> <p>Images 图片集合</p> <p><strong>提供的方法</strong> procedure Clear;//清空图片// function AddImgFile(Sf:string;imgname:string=''):Integer;//动态加入图片、 function AddSvgTxt(SvgTxt:string;ImgName:string=''):Integer;//动态加入Svg文本</p> <p>//直接输出绘制 具体见个参数含义 procedure DrawTo(DstBmp:TBitmap32;DstRect:TRect;index:Integer); overload; procedure DrawTo(DstBmp:TBitmap32;DstRect:TRect;SrcRect:TRect;index:Integer); overload; procedure DrawTo(DstBmp:TBitmap32;X,Y:Integer;SrcRect:TRect;index:Integer); overload; procedure DrawTo(DstBmp:TBitmap32;X,Y:Integer;index:Integer); overload; procedure DrawTo(DstBmp:TBitmap32;X,Y:Integer;index:Integer;Alpha:integer); overload;</p> <p>procedure DrawTo(DstBmp:TBitmap32;DstRect:TRect;index:Integer;FrameIndex:Integer); overload;<br /> procedure DrawTo(DstBmp:TBitmap32;X,Y:Integer;index:Integer;FrameIndex:integer); overload;</p> <p>function IndexofName(imgname:string):integer;//返回索引</p> <p><strong>//注意 从0.993版本开始 FoxUIBMP32Storage开始支持Gif多帧图片,我们输出参数增加了FrameIndex</strong></p>

页面列表

ITEM_HTML