CssRectImage

TheArtOfDev.HtmlRenderer.Core.Dom

Represents a word inside an inline box

继承自: CssRect

构造函数

CssRectImage(CssBox)

Creates a new BoxWord which represents an image

owner
the CSS box owner of the word

属性

Image : RImage

Gets the image this words represents (if one exists)

ImageRectangle : RRect

the image rectange restriction as returned from image load event

IsImage : bool

Gets if the word represents an image.

方法

ToString() : string

Represents this word for debugging purposes

字段

_image : RImage

the image object if it is image word (can be null if not loaded)

_imageRectangle : RRect

the image rectangle restriction as returned from image load event