Android
android.graphics
public static final enum

android.graphics.Paint.Cap

java.lang.Object
java.lang.Enum<E extends java.lang.Enum<E>> Serializable Comparable<T>
android.graphics.Paint.Cap

The Cap specifies the treatment for the beginning and ending of stroked lines and paths. The default is BUTT.

Summary

Enum Values

Paint.Cap  BUTT  The stroke ends with the path, and does not project beyond it. 
Paint.Cap  ROUND  The stroke projects out as a square, with the center at the end of the path. 
Paint.Cap  SQUARE  The stroke projects out as a semicircle, with the center at the end of the path. 

Public Methods

      static    Paint.Cap  valueOf(String name)
    final  static    Cap[]  values()
Methods inherited from class java.lang.Enum
Methods inherited from class java.lang.Object
Methods inherited from interface java.lang.Comparable

Details

Enum Values

public static final Paint.Cap BUTT

The stroke ends with the path, and does not project beyond it.

public static final Paint.Cap ROUND

The stroke projects out as a square, with the center at the end of the path.

public static final Paint.Cap SQUARE

The stroke projects out as a semicircle, with the center at the end of the path.

Public Methods

public static Paint.Cap valueOf(String name)

public static final Cap[] values()

Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:56