class CSS2Azimuth

# class CSS2Azimuth | The `CSS2Azimuth` interface represents the More...
Full name | `DOM::CSS2Azimuth`
Definition | `#include <css_extensions.h>`
Inherits | DOM::CSSValue [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- CSS2Azimuth ()
- CSS2Azimuth (const CSS2Azimuth &other)
- CSS2Azimuth (CSS2AzimuthImpl *impl)
- CSS2Azimuth & operator = (const CSS2Azimuth &other)
- ~CSS2Azimuth ()
- unsigned short azimuthType () const
- DOM::DOMString identifier () const
- bool behind () const
- void setAngleValue ( const unsigned short unitType, const float floatValue )
- float getAngleValue ( const unsigned short unitType )
- void setIdentifier ( const DOM::DOMString &identifier, const bool behind )

## Detailed Description

The `CSS2Azimuth` interface represents the azimuth CSS Level 2 property.

CSS2Azimuth () | ### CSS2Azimuth

CSS2Azimuth (const CSS2Azimuth &other) | ### CSS2Azimuth

CSS2Azimuth (CSS2AzimuthImpl *impl) | ### CSS2Azimuth

CSS2Azimuth & operator = (const CSS2Azimuth &other) | ### operator =

Reimplemented from CSSValue.

~CSS2Azimuth () | ### ~CSS2Azimuth

unsigned short azimuthType () | ### azimuthType

[const]

A code defining the type of the value as defined in `CSSValue` . It would be one of `CSS_DEG` , `CSS_RAD` , `CSS_GRAD` or `CSS_IDENT` .

DOM::DOMString identifier () | ### identifier

[const]

If `azimuthType` is `CSS_IDENT` , `identifier` contains one of left-side, far-left, left, center-left, center, center-right, right, far-right, right-side, leftwards, rightwards. The empty string if none is set.

bool behind () | ### behind

[const]

`behind` indicates whether the behind identifier has been set.

void setAngleValue ( const unsigned short unitType, const float floatValue ) | ### setAngleValue

A method to set the angle value with a specified unit. This method will unset any previously set identifiers values.

NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

Parameters:

unitType | The unitType could only be one of `CSS_DEG` , `CSS_RAD` or `CSS_GRAD` ).
floatValue | The new float value of the angle.

Throws: DOMException, INVALID_ACCESS_ERR:, Raised, if, the, unit, type, is, invalid.

float getAngleValue ( const unsigned short unitType ) | ### getAngleValue

Used to retrieved the float value of the azimuth property.

Parameters:

unitType | The unit type can be only an angle unit type ( `CSS_DEG` , `CSS_RAD` or `CSS_GRAD` ).

Returns: The float value.

Throws: DOMException, INVALID_ACCESS_ERR:, Raised, if, the, unit, type, is, invalid.

void setIdentifier ( const DOM::DOMString &identifier, const bool behind ) | ### setIdentifier

Setting the identifier for the azimuth property will unset any previously set angle value. The value of `azimuthType` is set to `CSS_IDENT`

NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

Parameters:

identifier | The new identifier. If the identifier is "leftwards" or "rightward", the behind attribute is ignored.
behind | The new value for behind.

Throws: DOMException, SYNTAX_ERR:, Raised, if, the, specified, `, identifier,` , has, a, syntax, error, and, is, unparsable.

Generated by: root on macppc.ports.openbsd.org on Sat Sep 6 10:37:43 2003, using kdoc 2.0a54.