com.aspose.html.drawing

Interface ILinearGradientBrush

    • Method Detail

      • getRect

        com.aspose.html.internal.ms.System.Drawing.RectangleF getRect()

        Get a rectangular region that defines the starting and ending points of the gradient.

        Returns:
      • getStartColor

        com.aspose.html.internal.ms.System.Drawing.Color getStartColor()

        Get the starting color of the linear gradient.

        Returns:
        Start color
      • getEndColor

        com.aspose.html.internal.ms.System.Drawing.Color getEndColor()

        Get the ending color of the linear gradient.

        Returns:
      • getStartPoint

        com.aspose.html.internal.ms.System.Drawing.PointF getStartPoint()

        Get the starting point of the linear gradient.

        Returns:
        Start point.
      • getEndPoint

        com.aspose.html.internal.ms.System.Drawing.PointF getEndPoint()

        Get the starting point of the linear gradient.

        Returns:
        End point.
      • getAngle

        float getAngle()

        Gets the angle, measured in degrees clockwise from the x-axis, of the gradient's orientation line.

        Value: The angle.