Trait script::dom::bindings::codegen::Bindings::PointerEventBinding::PointerEvent_Binding::PointerEventMethods
source · pub trait PointerEventMethods<D: DomTypes> {
Show 16 methods
// Required methods
fn PointerId(&self) -> i32;
fn Width(&self) -> i32;
fn Height(&self) -> i32;
fn Pressure(&self) -> Finite<f32>;
fn TangentialPressure(&self) -> Finite<f32>;
fn TiltX(&self) -> i32;
fn TiltY(&self) -> i32;
fn Twist(&self) -> i32;
fn AltitudeAngle(&self) -> Finite<f64>;
fn AzimuthAngle(&self) -> Finite<f64>;
fn PointerType(&self) -> DOMString;
fn IsPrimary(&self) -> bool;
fn GetCoalescedEvents(&self) -> Vec<Root<Dom<PointerEvent>>>;
fn GetPredictedEvents(&self) -> Vec<Root<Dom<PointerEvent>>>;
fn IsTrusted(&self) -> bool;
fn Constructor(
global: &Window,
proto: Option<HandleObject<'_>>,
can_gc: CanGc,
type_: DOMString,
eventInitDict: &PointerEventInit,
) -> Root<Dom<PointerEvent>>;
}
Required Methods§
fn PointerId(&self) -> i32
fn Width(&self) -> i32
fn Height(&self) -> i32
fn Pressure(&self) -> Finite<f32>
fn TangentialPressure(&self) -> Finite<f32>
fn TiltX(&self) -> i32
fn TiltY(&self) -> i32
fn Twist(&self) -> i32
fn AltitudeAngle(&self) -> Finite<f64>
fn AzimuthAngle(&self) -> Finite<f64>
fn PointerType(&self) -> DOMString
fn IsPrimary(&self) -> bool
fn GetCoalescedEvents(&self) -> Vec<Root<Dom<PointerEvent>>>
fn GetPredictedEvents(&self) -> Vec<Root<Dom<PointerEvent>>>
fn IsTrusted(&self) -> bool
fn Constructor( global: &Window, proto: Option<HandleObject<'_>>, can_gc: CanGc, type_: DOMString, eventInitDict: &PointerEventInit, ) -> Root<Dom<PointerEvent>>
Object Safety§
This trait is not object safe.