Table of Contents

Class ImageDrawable

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

Implements image drawing.

public class ImageDrawable : BaseDrawable, IBaseObject, IBaseDrawable
Inheritance
ImageDrawable
Implements
Derived

Fields

CenterHorz

Gets whether or not to center this object horizontally. Default is true.

CenterVert

Gets whether or not to center this object vertically. Default is true.

Image

Gets or sets image to draw.

ImageSet

Gets or sets image to draw.

SourceRect

Gets or sets source rectangle which specifies part of the image to draw.

Stretch

Gets whether or not to stretch this object. Default is true.

SvgImage

Gets or sets svg image to draw.

Properties

CenterHorzOrVert

Gets whether or not center this object horizontally or vertically.

Methods

DefaultDrawImage(Control, Graphics)

Performs default drawing of the image.

Draw(Control, Graphics)

Draws object on the canvas.

GetImage()

Gets image to draw.