TOlf SVGBitmap List .Bitmap Method
Get a bitmap from the SVG in "FromList" list at "AtIndex" with specified sizes.
class function Bitmap(const FromList: word; const AtIndex: word; const Width: integer; const Height: integer; const BitmapScale: single = 1): TBitmap
Parameters
- FromList
- Type: System.Word
- AtIndex
- Type: System.Word
- Width
- Type: System.Integer
- Height
- Type: System.Integer
- BitmapScale
- Type: System.Single
Return Value
Type: TBitmap
If the bitmap doesn't exist in the cache, it's added to it after drawing. If the bitmap already exists in the cache, you get a reference to it.