Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GradientBlockColorStep

Class used to store a color step for the GradientBlock

Hierarchy

  • GradientBlockColorStep

Index

Constructors

Accessors

Constructors

constructor

  • Creates a new GradientBlockColorStep

    Parameters

    • step: number

      defines a value indicating which step this color is associated with (between 0 and 1)

    • color: Color3

      defines the color associated with this step

    Returns GradientBlockColorStep

Accessors

color

  • Gets the color associated with this step

    Returns Color3

  • Sets the color associated with this step

    Parameters

    Returns any

step

  • get step(): number
  • set step(val: number): any
  • Gets value indicating which step this color is associated with (between 0 and 1)

    Returns number

  • Sets a value indicating which step this color is associated with (between 0 and 1)

    Parameters

    • val: number

    Returns any

Legend

  • Constructor
  • Property
  • Accessor
  • Property
  • Method
  • Static method