Struct windows::UI::Input::Inking::InkDrawingAttributes
pub struct InkDrawingAttributes(/* private fields */);
Implementations§
§impl InkDrawingAttributes
impl InkDrawingAttributes
pub fn new() -> Result<Self>
pub fn Color(&self) -> Result<Color>
pub fn SetColor(&self, value: Color) -> Result<()>
pub fn PenTip(&self) -> Result<PenTipShape>
pub fn SetPenTip(&self, value: PenTipShape) -> Result<()>
pub fn Size(&self) -> Result<Size>
pub fn SetSize(&self, value: Size) -> Result<()>
pub fn IgnorePressure(&self) -> Result<bool>
pub fn SetIgnorePressure(&self, value: bool) -> Result<()>
pub fn FitToCurve(&self) -> Result<bool>
pub fn SetFitToCurve(&self, value: bool) -> Result<()>
pub fn PenTipTransform(&self) -> Result<Matrix3x2>
pub fn SetPenTipTransform(&self, value: Matrix3x2) -> Result<()>
pub fn DrawAsHighlighter(&self) -> Result<bool>
pub fn SetDrawAsHighlighter(&self, value: bool) -> Result<()>
pub fn Kind(&self) -> Result<InkDrawingAttributesKind>
pub fn PencilProperties(&self) -> Result<InkDrawingAttributesPencilProperties>
pub fn IgnoreTilt(&self) -> Result<bool>
pub fn SetIgnoreTilt(&self, value: bool) -> Result<()>
pub fn ModelerAttributes(&self) -> Result<InkModelerAttributes>
pub fn CreateForPencil() -> Result<InkDrawingAttributes>
Trait Implementations§
§impl Clone for InkDrawingAttributes
impl Clone for InkDrawingAttributes
§fn clone(&self) -> InkDrawingAttributes
fn clone(&self) -> InkDrawingAttributes
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 InkDrawingAttributes
impl Debug for InkDrawingAttributes
§impl From<&InkDrawingAttributes> for &IInspectable
impl From<&InkDrawingAttributes> for &IInspectable
§fn from(value: &InkDrawingAttributes) -> Self
fn from(value: &InkDrawingAttributes) -> Self
Converts to this type from the input type.
§impl From<&InkDrawingAttributes> for &IUnknown
impl From<&InkDrawingAttributes> for &IUnknown
§fn from(value: &InkDrawingAttributes) -> Self
fn from(value: &InkDrawingAttributes) -> Self
Converts to this type from the input type.
§impl From<InkDrawingAttributes> for IInspectable
impl From<InkDrawingAttributes> for IInspectable
§fn from(value: InkDrawingAttributes) -> Self
fn from(value: InkDrawingAttributes) -> Self
Converts to this type from the input type.
§impl From<InkDrawingAttributes> for IUnknown
impl From<InkDrawingAttributes> for IUnknown
§fn from(value: InkDrawingAttributes) -> Self
fn from(value: InkDrawingAttributes) -> Self
Converts to this type from the input type.
§impl Interface for InkDrawingAttributes
impl Interface for InkDrawingAttributes
§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 InkDrawingAttributes
impl PartialEq for InkDrawingAttributes
§fn eq(&self, other: &InkDrawingAttributes) -> bool
fn eq(&self, other: &InkDrawingAttributes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for InkDrawingAttributes
impl Send for InkDrawingAttributes
impl StructuralPartialEq for InkDrawingAttributes
impl Sync for InkDrawingAttributes
Auto Trait Implementations§
impl RefUnwindSafe for InkDrawingAttributes
impl Unpin for InkDrawingAttributes
impl UnwindSafe for InkDrawingAttributes
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