Enum sciter::dom::ELEMENT_AREAS [] [src]

#[repr(C)]
pub enum ELEMENT_AREAS { ROOT_RELATIVE, SELF_RELATIVE, CONTAINER_RELATIVE, VIEW_RELATIVE, CONTENT_BOX, PADDING_BOX, BORDER_BOX, MARGIN_BOX, BACK_IMAGE_AREA, FORE_IMAGE_AREA, SCROLLABLE_AREA, }

Bounding rectangle of the element.

Variants

or this flag if you want to get Sciter window relative coordinates, otherwise it will use nearest windowed container e.g. popup window.

or this flag if you want to get coordinates relative to the origin of element iself.

Position inside immediate container.

Position relative to view - Sciter window.

Content (inner) box.

Content + paddings.

Content + paddings + border.

Content + paddings + border + margins.

Relative to content origin - location of background image (if it set no-repeat).

Relative to content origin - location of foreground image (if it set no-repeat).

Scroll_area - scrollable area in content box.

Methods

impl ELEMENT_AREAS
[src]

[src]

Size of content (i.e (0, 0, width, height)).

[src]

Size of rect (i.e (left, top, width, height))

Trait Implementations

impl Debug for ELEMENT_AREAS
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialOrd for ELEMENT_AREAS
[src]

[src]

This method returns an ordering between self and other values if one exists. Read more

1.0.0
[src]

This method tests less than (for self and other) and is used by the < operator. Read more

1.0.0
[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

1.0.0
[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

1.0.0
[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl PartialEq for ELEMENT_AREAS
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

Auto Trait Implementations

impl Send for ELEMENT_AREAS

impl Sync for ELEMENT_AREAS