ImagePaintMode
Defines possible modes to be used when rendering an image.
Definition
Namespace:Telerik.WinControls
Assembly:Telerik.WinControls.dll
Syntax:
public enum ImagePaintMode
Fields
Image is centered within the paint rectangle.
Center = 5
Image is centered by the X axis and stretched by the Y one.
CenterXStretchY = 6
Image is centered by the X axis and tiled by the Y one.
CenterXTileY = 8
Image is centered by the Y axis and stretched by the X one.
CenterYStretchX = 7
Image is centered by the Y axis and tiled by the X one.
CenterYTileX = 9
Image is painted without any modification.
None = 0
Image is stretched within the paint rectangle.
Stretch = 1
Image is stretched by the X axis and tiled by the Y one.
StretchXTileY = 2
Inner image segment is tiled while all others are stretched.
StretchXYTileInner = 4
Image is stretched by the Y axis and tiled by the X one.
StretchYTileX = 3
Image is tiled within the paint rectangle.
Tile = 10
Image is flipped by the X axis and tiled within the paint rectangle.
TileFlipX = 11
Image is flipped by the X and Y axis and tiled within the paint rectangle.
TileFlipXY = 12
Image is flipped by the Y axis and tiled within the paint rectangle.
TileFlipY = 13