DOM::CSS2BackgroundPosition Class Reference
TheCSS2BackgroundPosition
interface represents the background-position CSS Level 2 property.
More...
#include <css_extensions.h>
Inheritance diagram for DOM::CSS2BackgroundPosition:


Public Member Functions | |
CSS2BackgroundPosition (const CSS2BackgroundPosition &other) | |
CSS2BackgroundPosition (CSS2BackgroundPositionImpl *impl) | |
CSS2BackgroundPosition & | operator= (const CSS2BackgroundPosition &other) |
unsigned short | horizontalType () const |
unsigned short | verticalType () const |
DOM::DOMString | horizontalIdentifier () const |
DOM::DOMString | verticalIdentifier () const |
float | getHorizontalPosition (const float horizontalType) |
float | getVerticalPosition (const float verticalType) |
void | setHorizontalPosition (const unsigned short horizontalType, const float value) |
void | setVerticalPosition (const unsigned short verticalType, const float value) |
void | setPositionIdentifier (const DOM::DOMString &horizontalIdentifier, const DOM::DOMString &verticalIdentifier) |
Detailed Description
TheCSS2BackgroundPosition
interface represents the background-position CSS Level 2 property.
Definition at line 145 of file css_extensions.h.
Member Function Documentation
|
A code defining the type of the horizontal value.
It would be one Definition at line 112 of file css_extensions.cpp. |
|
A code defining the type of the horizontal value.
The code can be one of the following units : Definition at line 118 of file css_extensions.cpp. |
|
If
Definition at line 124 of file css_extensions.cpp. |
|
If
The value is Definition at line 130 of file css_extensions.cpp. |
|
This method is used to get the float value in a specified unit if the
If the float doesn't contain a float value or can't be converted into the specified unit, a
Definition at line 136 of file css_extensions.cpp. |
|
This method is used to get the float value in a specified unit if the
If the float doesn't contain a float value or can't be converted into the specified unit, a
Definition at line 142 of file css_extensions.cpp. |
|
This method is used to set the horizontal position with a specified unit.
If the vertical value is not a percentage or a length, it sets the vertical position to
Definition at line 148 of file css_extensions.cpp. |
|
This method is used to set the vertical position with a specified unit.
If the horizontal value is not a percentage or a length, it sets the vertical position to
Definition at line 154 of file css_extensions.cpp. |
|
Sets the identifiers.
If the second identifier is the empty string, the vertical identifier is set to his default value (
Definition at line 160 of file css_extensions.cpp. |
The documentation for this class was generated from the following files: