IT. Expert System.

Android Reference

ArcShape


android.graphics.drawable.shapes

Class ArcShape

  • All Implemented Interfaces:
    Cloneable


    public class ArcShape
    extends RectShape
    Creates an arc shape. The arc shape starts at a specified angle and sweeps clockwise, drawing slices of pie. The arc can be drawn to a Canvas with its own draw() method, but more graphical control is available if you instead pass the ArcShape to a ShapeDrawable.
    • Constructor Detail

      • ArcShape

        public ArcShape(float startAngle,
                float sweepAngle)
        ArcShape constructor.
        Parameters:
        startAngle - the angle (in degrees) where the arc begins
        sweepAngle - the sweep angle (in degrees). Anything equal to or greater than 360 results in a complete circle/oval.
    • Method Detail

      • draw

        public void draw(Canvas canvas,
                Paint paint)
        Description copied from class: Shape
        Draw this shape into the provided Canvas, with the provided Paint. Before calling this, you must call Shape.resize(float,float).
        Overrides:
        draw in class RectShape
        Parameters:
        canvas - the Canvas within which this shape should be drawn
        paint - the Paint object that defines this shape's characteristics


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: 75 / 158848487. Delta: 0.10255 с