Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Struct

OfficeInkPoint

Namespace OfficeIMO.Drawing
Assembly OfficeIMO.Core
Base ValueType
Implements
IEquatable<OfficeInkPoint>
Modifiers sealed

A sampled point in a format-neutral ink stroke.

Inheritance

  • ValueType
  • OfficeInkPoint

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by

Accepted by parameters

Constructors

public OfficeInkPoint(Double x, Double y, Nullable<Double> pressure = null, Nullable<Double> tiltX = null, Nullable<Double> tiltY = null, Nullable<TimeSpan> timestamp = null) #

Creates an ink sample.

Parameters

x System.Double requiredposition: 0
y System.Double requiredposition: 1
pressure System.Nullable{System.Double} = null optionalposition: 2
tiltX System.Nullable{System.Double} = null optionalposition: 3
tiltY System.Nullable{System.Double} = null optionalposition: 4
timestamp System.Nullable{System.TimeSpan} = null optionalposition: 5

Methods

Equals 2 overloads
public virtual Boolean Equals(OfficeInkPoint other) #
Returns: Boolean

Parameters

other OfficeIMO.Drawing.OfficeInkPoint requiredposition: 0
public override Boolean Equals(Object obj) #
Returns: Boolean

Parameters

obj System.Object requiredposition: 0
public override Int32 GetHashCode() #
Returns: Int32
public static Boolean op_Equality(OfficeInkPoint left, OfficeInkPoint right) #
Returns: Boolean

Returns true when two samples are equal.

Parameters

left OfficeIMO.Drawing.OfficeInkPoint requiredposition: 0
right OfficeIMO.Drawing.OfficeInkPoint requiredposition: 1
public static Boolean op_Inequality(OfficeInkPoint left, OfficeInkPoint right) #
Returns: Boolean

Returns true when two samples are different.

Parameters

left OfficeIMO.Drawing.OfficeInkPoint requiredposition: 0
right OfficeIMO.Drawing.OfficeInkPoint requiredposition: 1
public OfficeInkPoint Transform(OfficeTransform transform) #
Returns: OfficeInkPoint

Returns this sample transformed into another canvas coordinate space.

Parameters

transform OfficeIMO.Drawing.OfficeTransform requiredposition: 0

Properties

public Double X { get; } #

Horizontal coordinate in the owning canvas unit.

public Double Y { get; } #

Vertical coordinate in the owning canvas unit.

public Nullable<Double> Pressure { get; } #

Optional normalized pressure from 0 through 1.

public Nullable<Double> TiltX { get; } #

Optional horizontal pen tilt in degrees.

public Nullable<Double> TiltY { get; } #

Optional vertical pen tilt in degrees.

public Nullable<TimeSpan> Timestamp { get; } #

Optional sample timestamp relative to the stroke origin.