IT. Expert System.

Android Reference

RadialGradient


android.graphics

Class RadialGradient



  • public class RadialGradient
    extends Shader
    • Constructor Detail

      • RadialGradient

        public RadialGradient(float x,
                      float y,
                      float radius,
                      int[] colors,
                      float[] positions,
                      Shader.TileMode tile)
        Create a shader that draws a radial gradient given the center and radius.
        Parameters:
        x - The x-coordinate of the center of the radius
        y - The y-coordinate of the center of the radius
        radius - Must be positive. The radius of the circle for this gradient
        colors - The colors to be distributed between the center and edge of the circle
        positions - May be NULL. The relative position of each corresponding color in the colors array. If this is NULL, the the colors are distributed evenly between the center and edge of the circle.
        tile - The Shader tiling mode
      • RadialGradient

        public RadialGradient(float x,
                      float y,
                      float radius,
                      int color0,
                      int color1,
                      Shader.TileMode tile)
        Create a shader that draws a radial gradient given the center and radius.
        Parameters:
        x - The x-coordinate of the center of the radius
        y - The y-coordinate of the center of the radius
        radius - Must be positive. The radius of the circle for this gradient
        color0 - The color at the center of the circle.
        color1 - The color at the edge of the circle.
        tile - The Shader tiling mode


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 1219 / 158701446. Delta: 0.04816 с