[−][src]Enum sciter::dom::ELEMENT_AREAS
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.
Implementations
impl ELEMENT_AREAS
[src]
pub fn self_content() -> u32
[src]
Size of content (i.e (0, 0, width, height)
).
pub fn self_rect() -> u32
[src]
Size of rect (i.e (left, top, width, height)
)
Trait Implementations
impl Debug for ELEMENT_AREAS
[src]
impl PartialEq<ELEMENT_AREAS> for ELEMENT_AREAS
[src]
pub fn eq(&self, other: &ELEMENT_AREAS) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialOrd<ELEMENT_AREAS> for ELEMENT_AREAS
[src]
pub fn partial_cmp(&self, other: &ELEMENT_AREAS) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralPartialEq for ELEMENT_AREAS
[src]
Auto Trait Implementations
impl RefUnwindSafe for ELEMENT_AREAS
impl Send for ELEMENT_AREAS
impl Sync for ELEMENT_AREAS
impl Unpin for ELEMENT_AREAS
impl UnwindSafe for ELEMENT_AREAS
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,