接口 IGradientStop


public interface IGradientStop
Represents one gradient stop.
  • 方法概要

    修饰符和类型
    方法
    说明
    Gets a value that represents the color of the gradient stop.
    double
    Gets a value that represents the opacity of the gradient fill expressed as a percent.
    double
    Gets a value that represents the opacity of the gradient fill expressed as a percent.
    void
    setPosition(double value)
    Sets a value that represents the opacity of the gradient fill expressed as a percent.
    void
    setTransparency(double value)
    Sets a value that represents the opacity of the gradient fill expressed as a percent.
  • 方法详细资料

    • getColor

      IColorFormat getColor()
      Gets a value that represents the color of the gradient stop.
    • getPosition

      double getPosition()
      Gets a value that represents the opacity of the gradient fill expressed as a percent.
    • setPosition

      void setPosition(double value)
      Sets a value that represents the opacity of the gradient fill expressed as a percent.
    • getTransparency

      double getTransparency()
      Gets a value that represents the opacity of the gradient fill expressed as a percent.
    • setTransparency

      void setTransparency(double value)
      Sets a value that represents the opacity of the gradient fill expressed as a percent.