Search Results for

    Show / Hide Table of Contents

    Class LinearGradientPenStyle

    Defines a style class for lines with linear gradient which is used to draw 2D lines on the IRenderSurface

    Inheritance
    Object
    Style
    PenStyle
    LinearGradientPenStyle
    Inherited Members
    PenStyle.equals(Object)
    PenStyle.getColor()
    PenStyle.hashCode()
    PenStyle.initPaint(Paint)
    PenStyle.initPaint(Paint,float)
    PenStyle.isVisible()
    Object.clone()
    Object.finalize()
    Object.getClass()
    Object.notify()
    Object.notifyAll()
    Object.toString()
    Object.wait()
    Object.wait(long)
    Object.wait(long,int)
    Namespace:
    Assembly: .dll
    Syntax
    public class LinearGradientPenStyle extends PenStyle

    Constructors

    LinearGradientPenStyle(LinearGradientBrushStyle gradientStyle, boolean antiAliasing, float thickness, float[] strokeDashArray)

    Creates a new LinearGradientPenStyle instance

    Declaration
    public LinearGradientPenStyle(LinearGradientBrushStyle gradientStyle, boolean antiAliasing, float thickness, float[] strokeDashArray)
    Parameters
    Type Name Description
    LinearGradientBrushStyle gradientStyle

    The linear gradient style

    boolean antiAliasing

    The value indicating whether the pen should use antialiasing or no

    float thickness

    The stroke thickness in pixels

    float[] strokeDashArray

    The stroke dash pattern

    Fields

    gradientStyle

    Declaration
    public final LinearGradientBrushStyle gradientStyle
    Field Value
    Type Description
    LinearGradientBrushStyle

    Methods

    equals(Object o)

    Declaration
    public boolean equals(Object o)
    Parameters
    Type Name Description
    Object o
    Returns
    Type Description
    boolean
    Overrides
    PenStyle.equals(Object o)

    getColor()

    Gets the color for this PenStyle

    Declaration
    public int getColor()
    Returns
    Type Description
    int
    Overrides
    PenStyle.getColor()

    hashCode()

    Declaration
    public int hashCode()
    Returns
    Type Description
    int
    Overrides
    PenStyle.hashCode()

    isVisible()

    Gets whether this style is visible

    Declaration
    public boolean isVisible()
    Returns
    Type Description
    boolean

    True if this style is visible

    Overrides
    PenStyle.isVisible()
    Back to top © 2011-2025 SciChart. All rights reserved. | sitemap.xml