Search Results for

    Show / Hide Table of Contents

    Class BrushStyle

    Defines a base class for specifying 2D brush style used to paint fill on the IRenderSurface

    Inheritance
    java.lang.Object
    Style
    BrushStyle
    Inherited Members
    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 abstract class BrushStyle extends Style

    Constructors

    BrushStyle()

    Declaration
    public BrushStyle()

    Methods

    getColor()

    Gets the color for this PenStyle

    Declaration
    public abstract int getColor()
    Returns
    Type Description
    int

    The color for this PenStyle

    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 abstract void initPaint(Paint paint, float opacity, int x, int y, int width, int height)
    Parameters
    Type Name Description
    android.graphics.Paint paint

    The Paint to init

    float opacity

    Opacity to use

    int x

    The X coordinates of area where Paint will be drawn

    int y

    The Y coordinates of area where Paint will be drawn

    int width

    The width of area where Paint will be drawn

    int height

    The height of area where Paint will be drawn

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

    Init a Paint instance with values provided by this brush style

    Declaration
    public final void initPaint(Paint paint, int x, int y, int width, int height)
    Parameters
    Type Name Description
    android.graphics.Paint paint

    The Paint to init

    int x

    The X coordinates of area where Paint will be drawn

    int y

    The Y coordinates of area where Paint will be drawn

    int width

    The width of area where Paint will be drawn

    int height

    The height of area where Paint will be drawn

    Back to top © 2011-2025 SciChart. All rights reserved. | sitemap.xml