Defines the ways that an image can be drawn within the boundaries of a TRSChartLayer
Namespace: RSChartConsts
Delphi
|
type
TImageMode = (
imCenter,
imLeft,
imRight,
imTop,
imBottom,
imStretch,
imTile,
imProportional,
imProportionalCenter);
|
|
Name
|
Description
|
|
imBottom
|
Draw the image graphic at the bottom of the layer and centered in the horizontal direction. The image is drawn at full size.
|
|
imCenter
|
Centers an image graphic within the layer. The image is drawn at full size.
|
|
imLeft
|
Draw the image graphic at the left of the layer and centered in the vertical direction. The image is drawn at full size.
|
|
imProportional
|
Stretches the image as much as possible to fill the layer while preserving the proportion of the image
|
|
imProportionalCenter
|
Stretches the image as much as possible to fill the layer while preserving the proportion of the image and centers the image in the layer
|
|
imRight
|
Draw the image graphic at the right of the layer and centered in the vertical direction. The image is drawn at full size.
|
|
imStretch
|
Stretches the width and height of the graphic to fill the layer. Note that the image can look warped if the width and height were not changed proportionally
|
|
imTile
|
Fills the layer 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.
|
|
imTop
|
Draw the image graphic at the top of the layer and centered in the horizontal direction. The image is drawn at full size.
|
Top
|