Struct windows::UI::Input::Inking::InkStrokeBuilder
pub struct InkStrokeBuilder(/* private fields */);
Implementations§
§impl InkStrokeBuilder
impl InkStrokeBuilder
pub fn new() -> Result<Self>
pub fn BeginStroke<P0>(&self, pointerpoint: P0) -> Result<()>where
P0: IntoParam<PointerPoint>,
pub fn AppendToStroke<P0>(&self, pointerpoint: P0) -> Result<PointerPoint>where
P0: IntoParam<PointerPoint>,
pub fn EndStroke<P0>(&self, pointerpoint: P0) -> Result<InkStroke>where
P0: IntoParam<PointerPoint>,
pub fn CreateStroke<P0>(&self, points: P0) -> Result<InkStroke>
pub fn SetDefaultDrawingAttributes<P0>(
&self,
drawingattributes: P0
) -> Result<()>where
P0: IntoParam<InkDrawingAttributes>,
pub fn CreateStrokeFromInkPoints<P0>( &self, inkpoints: P0, transform: Matrix3x2 ) -> Result<InkStroke>
pub fn CreateStrokeFromInkPoints2<P0, P1, P2>(
&self,
inkpoints: P0,
transform: Matrix3x2,
strokestartedtime: P1,
strokeduration: P2
) -> Result<InkStroke>where
P0: IntoParam<IIterable<InkPoint>>,
P1: IntoParam<IReference<DateTime>>,
P2: IntoParam<IReference<TimeSpan>>,
Trait Implementations§
§impl Clone for InkStrokeBuilder
impl Clone for InkStrokeBuilder
§fn clone(&self) -> InkStrokeBuilder
fn clone(&self) -> InkStrokeBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for InkStrokeBuilder
impl Debug for InkStrokeBuilder
§impl From<&InkStrokeBuilder> for &IInspectable
impl From<&InkStrokeBuilder> for &IInspectable
§fn from(value: &InkStrokeBuilder) -> Self
fn from(value: &InkStrokeBuilder) -> Self
Converts to this type from the input type.
§impl From<&InkStrokeBuilder> for &IUnknown
impl From<&InkStrokeBuilder> for &IUnknown
§fn from(value: &InkStrokeBuilder) -> Self
fn from(value: &InkStrokeBuilder) -> Self
Converts to this type from the input type.
§impl From<InkStrokeBuilder> for IInspectable
impl From<InkStrokeBuilder> for IInspectable
§fn from(value: InkStrokeBuilder) -> Self
fn from(value: InkStrokeBuilder) -> Self
Converts to this type from the input type.
§impl From<InkStrokeBuilder> for IUnknown
impl From<InkStrokeBuilder> for IUnknown
§fn from(value: InkStrokeBuilder) -> Self
fn from(value: InkStrokeBuilder) -> Self
Converts to this type from the input type.
§impl Interface for InkStrokeBuilder
impl Interface for InkStrokeBuilder
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§impl PartialEq for InkStrokeBuilder
impl PartialEq for InkStrokeBuilder
§fn eq(&self, other: &InkStrokeBuilder) -> bool
fn eq(&self, other: &InkStrokeBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for InkStrokeBuilder
impl StructuralPartialEq for InkStrokeBuilder
Auto Trait Implementations§
impl RefUnwindSafe for InkStrokeBuilder
impl !Send for InkStrokeBuilder
impl !Sync for InkStrokeBuilder
impl Unpin for InkStrokeBuilder
impl UnwindSafe for InkStrokeBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more