android paint属性設定について


  :http://wangchangshuai0010.iteye.com/blog/1441467
/**   
 
 
     * Paint   ,                ,         ,   
 
     *        ,            ,           ,   
 
     *          ,         ,         。          
 
     *    
 
     * <strong><span style="color: #800000; font-size: small;">1.      </span></strong> 
 
     * setARGB(int a,int r,int g,int b);   
 
     *        ,a     ,r,g,b     。   
 
     *    
 
     * setAlpha(int a);   
 
     *           。   
 
     *    
 
     * setColor(int color);   
 
     *        ,        ,          RGB  。   
 
     *    
 
    * setAntiAlias(boolean aa);   
 
     *            ,       ,         。   
 
     *    
 
     * setDither(boolean dither);   
 
     *             ,                  ,         
 
     *    
 
     * setFilterBitmap(boolean filter);   
 
     *        true,             Bitmap       ,       
 
     *   ,       dither xfermode      
 
     *    
 
     * setMaskFilter(MaskFilter maskfilter);   
 
     *   MaskFilter,      MaskFilter       ,   ,          *    
 
     * setColorFilter(ColorFilter colorfilter);   
 
     *        ,                      
 
     *    
 
     * setPathEffect(PathEffect effect);   
 
     *          ,        
 
     *    
 
     * setShader(Shader shader);   
 
     *       ,  Shader              
 
     *   
 
     * setShadowLayer(float radius ,float dx,float dy,int color);   
 
     *           ,      ,radius      ,dx dy    x  y     ,color         
 
     *    
 
     * setStyle(Paint.Style style);   
 
     *        , FILL,FILL_OR_STROKE, STROKE   
 
     *    
 
     * setStrokeCap(Paint.Cap cap);   
 
     *       STROKE FILL_OR_STROKE ,         ,        
 
     * Cap.ROUND,     Cap.SQUARE   
 
     *    
 
     * setSrokeJoin(Paint.Join join);   
 
     *              ,         
 
     *    
 
     * setStrokeWidth(float width);   
 
     *       STROKE FILL_OR_STROKE ,           
 
     *    
 
     * setXfermode(Xfermode xfermode);   
 
     *             ,   ,      ,                
 
     *    
 
     *<span style="color: #800000; font-size: small;"><strong> 2.      </strong></span> 
 
     * setFakeBoldText(boolean fakeBoldText);   
 
     *         ,                
 
     *    
 
     * setSubpixelText(boolean subpixelText);   
 
     *      true,       LCD           
 
     *    
 
     * setTextAlign(Paint.Align align);   
 
     *               
 
     *    
 
   * setTextScaleX(float scaleX);   
 
    *       x      ,               
 
     *    
 
     * setTextSize(float textSize);   
 
     *               
 
     *    
 
     * setTextSkewX(float skewX);   
 
     *       ,skewX        
 
     *    
 
     * setTypeface(Typeface typeface);   
 
     *   Typeface  ,     ,    ,       ,        
 
     *    
 
     * setUnderlineText(boolean underlineText);   
 
     *                
 
     *    
 
     * setStrikeThruText(boolean strikeThruText);   
 
     *              
 
     *    
 
     **/