Aspose.Svg.Dom.Css

The Aspose.Svg.Dom.Css namespace is for all CSS related manipulations. It concentrates around CSS property name - value pairs specified by CSS official documents.

Classes

ClassDescription
CounterThe Counter interface is used to represent any counter or counters function value. This interface reflects the values in the underlying style property.
CSSPrimitiveValueThe CSSPrimitiveValue interface represents a single CSS value. This interface may be used to determine the value of a specific style property currently set in a block or to set a specific style property explicitly within the block. An instance of this interface might be obtained from the getPropertyCSSValue method of the CSSStyleDeclaration interface. A CSSPrimitiveValue object only occurs in a context of a CSS property.
CSSValueRepresents a simple or a complex value. A CSSValue object only occurs in a context of a CSS property.
CSSValueListThe CSSValueList interface provides the abstraction of an ordered collection of CSS values.
RectThe Rect interface is used to represent any rect value. This interface reflects the values in the underlying style property. Hence, modifications made to the CSSPrimitiveValue objects modify the style property.
RGBColorThe RGBColor interface is used to represent any RGB color value. This interface reflects the values in the underlying style property. Hence, modifications made to the CSSPrimitiveValue objects modify the style property.

Interfaces

InterfaceDescription
ICSS2PropertiesProvides interface for CSS2 properties set values manipulation in the context of certain HTML element
ICSSCharsetRuleThe CSSCharsetRule interface represents a @charset rule in a CSS style sheet. The value of the encoding attribute does not affect the encoding of text data in the DOM objects; this encoding is always UTF-16. After a stylesheet is loaded, the value of the encoding attribute is the value found in the @charset rule. If there was no @charset in the original document, then no CSSCharsetRule is created. The value of the encoding attribute may also be used as a hint for the encoding used on serialization of the style sheet.
ICSSCounterStyleRuleThe @counter-style rule allows authors to define a custom counter style.
ICSSFontFaceRuleThe CSSFontFaceRule interface represents a @font-face rule in a CSS style sheet. The @font-face rule is used to hold a set of font descriptions.
ICSSImportRuleThe CSSImportRule interface represents a @import rule within a CSS style sheet. The @import rule is used to import style rules from other style sheets.
ICSSKeyframeRuleThe CSSKeyframeRule interface represents the style rule for a single key.
ICSSKeyframesRuleThe CSSKeyframesRule interface represents a complete set of keyframes for a single animation
ICSSMarginRuleThe CSSMarginRule interface represents a margin at-rule.
ICSSMediaRuleThe CSSMediaRule interface represents a @media rule in a CSS style sheet. A @media rule can be used to delimit style rules for specific media types.
ICSSPageRuleThe CSSPageRule interface represents a @page rule within a CSS style sheet. The @page rule is used to specify the dimensions, orientation, margins, etc. of a page box for paged media.
ICSSRuleThe CSSRule interface is the abstract base interface for any type of CSS statement. This includes both rule sets and at-rules. An implementation is expected to preserve all rules specified in a CSS style sheet, even if the rule is not recognized by the parser. Unrecognized rules are represented using the ICSSUnknownRule interface.
ICSSRuleListThe CSSRuleList interface provides the abstraction of an ordered collection of CSS rules.
ICSSStyleDeclarationThe CSSStyleDeclaration interface represents a single CSS declaration block. This interface may be used to determine the style properties currently set in a block or to set style properties explicitly within the block.
ICSSStyleRuleThe CSSStyleRule interface represents a single rule set in a CSS style sheet.
ICSSStyleSheetThe CSSStyleSheet interface is a concrete interface used to represent a CSS style sheet i.e., a style sheet whose content type is “text/css”.
ICSSUnknownRuleThe CSSUnknownRule interface represents an at-rule not supported by this user agent.
ICSSValueListThe interface provides the abstraction of an ordered collection of CSS values.
IDocumentCSSThis interface represents a document with a CSS view.
IDocumentStyleThe DocumentStyle interface provides a mechanism by which the style sheets embedded in a document can be retrieved. The expectation is that an instance of the DocumentStyle interface can be obtained by using binding-specific casting methods on an instance of the Document interface.
IElementCSSInlineStyleInline style information attached to elements is exposed through the style attribute. This represents the contents of the STYLE attribute for HTML elements (or elements in other schemas or DTDs which use the STYLE attribute in the same way).
ILinkStyleThe LinkStyle interface provides a mechanism by which a style sheet can be retrieved from the node responsible for linking it into a document. An instance of the LinkStyle interface can be obtained using binding-specific casting methods on an instance of a linking node (HTMLLinkElement, HTMLStyleElement or ProcessingInstruction in DOM Level 2).
IMediaListThe MediaList interface provides the abstraction of an ordered collection of media, without defining or constraining how this collection is implemented. An empty list is the same as a list that contains the medium “all”.
IPercentResolvingContextRepresents a context for resolving percentage values during layout calculations.
IResolvedStyleDeclarationRepresents a resolved style declaration that provides access to various style properties.
IStyleSheetThe StyleSheet interface is the abstract base interface for any type of style sheet. It represents a single style sheet associated with a structured document.
IStyleSheetListThe StyleSheetList interface provides the abstraction of an ordered collection of style sheets.
IViewCSSThis interface represents a CSS view.

Enumeration

EnumerationDescription
CSSEngineModeSpecifies CSSEngine mode