Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Struct

OfficeGradientStop

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

A color stop inside a reusable gradient descriptor.

Inheritance

  • ValueType
  • OfficeGradientStop

Usage

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

Accepted by parameters

Constructors

public OfficeGradientStop(Double offset, OfficeColor color) #

Creates a gradient stop.

Parameters

offset System.Double requiredposition: 0
color OfficeIMO.Drawing.OfficeColor requiredposition: 1

Methods

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

Parameters

other OfficeIMO.Drawing.OfficeGradientStop 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(OfficeGradientStop left, OfficeGradientStop right) #
Returns: Boolean

Returns true when two gradient stops are equal.

Parameters

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

Returns true when two gradient stops are not equal.

Parameters

left OfficeIMO.Drawing.OfficeGradientStop requiredposition: 0
right OfficeIMO.Drawing.OfficeGradientStop requiredposition: 1

Properties

public Double Offset { get; } #

Stop offset from 0.0 to 1.0.

public OfficeColor Color { get; } #

Stop color.