Defines the ways that an image can be drawn within the boundaries of a rectangle
Namespace: RSChartConsts
Delphi
|
type
TImageOption = (
ioCenter,
ioStretch,
ioProportional,
ioTiled,
ioTransparent);
|
|
Name
|
Description
|
|
ioCenter
|
Centers an image graphic within the rectangle
|
|
ioProportional
|
Stretches the image proportionally to fill as much as possible the rectangle. This option preserves the aspect ratio of the image. However, it may not completely fill the rectangle
|
|
ioStretch
|
Stretches the width and height of the graphic to fill the rectangle. Note that the image can look warped if the width and height were not changed proportionally
|
|
ioTiled
|
Fills the rectangle with multiple copies of the image by painting it again and again side to side and top to bottom. The size of the tile is the original image's dimensions
|
|
ioTransparent
|
Draws the image with its background transparent.
|
Top
|