Class NinePatchImagePaintParams
Defines parameters for the nine patch image drawing.
public class NinePatchImagePaintParams
- Inheritance
-
NinePatchImagePaintParams
Constructors
- NinePatchImagePaintParams(Image)
Initializes a new instance of the NinePatchImagePaintParams class.
Properties
- DestRect
Gets or sets destination rectangle. It supposed to be larger than SourceRect. In this case all parts except top-left, top-right, bottom-right, bottom-left parts will be filled with TextureBrush constructed with correspoding parts of the image.
- Image
Gets or sets image that will be painted.
- PatchRect
Rectangle that slices image into 9 parts.
- SourceRect
Gets or sets rectangle inside the image that will be used for painting.