Declaration

class GSColorLine

Declaration

@interface GSColorLine : NSObject

Declaration

class GSColorLine(NSObject)

Overview

A rendition of the color line uses interpolation to determine the color values between the color stops. Color values are interpolated by linearly interpolating the color components in the linear sRGB color space.

Topics

Initializers

  • Creates a color line with the most recently registered color line.

  • Creates a color line that represented a subtle color sharing based on a single color.

  • Creates a color line with the given color stops.

Instance Properties

  • The color space in which to perform interpolation of the color stops.

  • The color stops of the color line.

  • Returns a new color line with equivalent color stops but in reversed order.

Instance Methods

Type Methods

  • Register a color line as the most recently used color line for future reuse with -[GSColorLine init].

Topics

Instance Properties

Instance Methods

Type Methods

Relationships

Inherits From

  • NSObject

Conforms To

  • NSCopying
  • ObjectiveC.NSObjectProtocol
  • Swift.CVarArg
  • Swift.CustomDebugStringConvertible
  • Swift.CustomStringConvertible
  • Swift.Equatable
  • Swift.Hashable

Relationships

Inherits From

  • NSObject

Conforms To

  • NSCopying