Resource class

Resource class

Represents HTML resource such as font, style, image or graphics.

The Resource type exposes the following members:

Constructors

Constructor Description
init Initializes a new Resource instance.
init Initializes a new Resource instance.

Methods

Method Description
to_string Returns a string that represents the current object.

Properties

Property Description
file_name The resource file name.
nested The property indicates whether the resource resides inside another resource, e.g. a font resource that resides in a CSS or SVG resource.

See Also