C# Class LayoutFarm.HtmlBoxes.CssBoxImage

CSS box for image element.
Inheritance: CssBox
Afficher le fichier Open project: prepare/HTML-Renderer Class Usage Examples

Méthodes publiques

Méthode Description
Clear ( ) : void
CssBoxImage ( Css boxSpec, RootGraphic rootgfx, ImageBinder binder ) : System

Init.

MeasureRunsSize ( LayoutVisitor lay ) : void

Assigns words its width and height

Paint ( PaintVisitor p, RectangleF rect ) : void

Méthodes protégées

Méthode Description
PaintImp ( PaintVisitor p ) : void

Paints the fragment

Private Methods

Méthode Description
MeasureImageSize ( CssImageRun imgRun, LayoutVisitor lay ) : void

Measure image box size by the width\height set on the box and the actual rendered image size.
If no image exists for the box error icon will be set.

Method Details

Clear() public méthode

public Clear ( ) : void
Résultat void

CssBoxImage() public méthode

Init.
public CssBoxImage ( Css boxSpec, RootGraphic rootgfx, ImageBinder binder ) : System
boxSpec Css
rootgfx RootGraphic
binder ImageBinder
Résultat System

MeasureRunsSize() public méthode

Assigns words its width and height
public MeasureRunsSize ( LayoutVisitor lay ) : void
lay LayoutVisitor
Résultat void

Paint() public méthode

public Paint ( PaintVisitor p, RectangleF rect ) : void
p PaintVisitor
rect PixelFarm.Drawing.RectangleF
Résultat void

PaintImp() protected méthode

Paints the fragment
protected PaintImp ( PaintVisitor p ) : void
p PaintVisitor
Résultat void