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

Explore 9 API references to this type

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

Returned or exposed by 2

Accepted by parameters 7

Constructors

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

Creates an ink sample.

Parameters

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

Methods

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

Indicates whether the current object is equal to another object of the same type.

Parameters

other OfficeIMO.Drawing.OfficeInkPoint requiredposition: 0
An object to compare with this object.

Returns

true if the current object is equal to the other parameter; otherwise, false.

public override Boolean Equals(Object? obj) #
Returns: Boolean

Indicates whether this instance and a specified object are equal.

Parameters

obj System.Object? requiredposition: 0
The object to compare with the current instance.

Returns

true if obj and this instance are the same type and represent the same value; otherwise, false.

public override Int32 GetHashCode() #
Returns: Int32

Returns the hash code for this instance.

Returns

A 32-bit signed integer that is the hash code for this instance.

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 Double? Pressure { get; } #

Optional normalized pressure from 0 through 1.

public Double? TiltX { get; } #

Optional horizontal pen tilt in degrees.

public Double? TiltY { get; } #

Optional vertical pen tilt in degrees.

public TimeSpan? Timestamp { get; } #

Optional sample timestamp relative to the stroke origin.