Search Results for

    Show / Hide Table of Contents

    Class SolidBrushStyle

    Defines brush style which allows to fill shapes with solid color

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

    Constructors

    SolidBrushStyle(int color)

    Creates a new SolidBrushStyle instance

    Declaration
    public SolidBrushStyle(int color)
    Parameters
    Type Name Description
    int color

    The fill color for this brush style

    Fields

    color

    Declaration
    public final int color
    Field Value
    Type Description
    int

    Methods

    equals(Object o)

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

    getColor()

    Gets the color for this PenStyle

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

    hashCode()

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

    initPaint(Paint paint, float opacity, int x, int y, int width, int height)

    Init a Paint instance with values provided by this brush style

    Declaration
    public void initPaint(Paint paint, float opacity, int x, int y, int width, int height)
    Parameters
    Type Name Description
    Paint paint
    float opacity
    int x
    int y
    int width
    int height
    Overrides
    BrushStyle.initPaint(Paint paint, float opacity, int x, int y, int width, int height)

    isVisible()

    Gets whether this style is visible

    Declaration
    public boolean isVisible()
    Returns
    Type Description
    boolean
    Overrides
    Style.isVisible()
    Back to top © 2011-2025 SciChart. All rights reserved. | sitemap.xml