Android Open Source - TheFirstMyth02 Paintforziti






From Project

Back to project page TheFirstMyth02.

License

The source code is released under:

MIT License

If you think the Android project TheFirstMyth02 listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.game.commen;
// w ww  . java  2 s  . com
import com.game.base.PubSet;

import android.graphics.Paint;
import android.graphics.Typeface;

public class Paintforziti {

  /**
  *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);   
    * ??????????????????????????????????????????????????   
    *    
    * 2.????   
    * 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);   
    * ??????????   
    */    
  public Paintforziti(Paint paint) {
    // TODO Auto-generated constructor stub
    //????????   
  }

  public static Paint SetPaint(int textsize,int testcolor,int backcolr) {
    Paint paint = new Paint();
    paint.setTextSize(textsize);
    paint.setColor(testcolor);
    paint.setTypeface(Typeface.SERIF);
    paint.setAntiAlias(true);
    paint.setDither(true); 
    paint.setShadowLayer(2,2,2,backcolr); 
        return paint;
  }
  
  
}




Java Source Code List

.Test.java
com.game.base.BaseInfo.java
com.game.base.GameBackGround.java
com.game.base.GameChapterBaseSet_Shentan.java
com.game.base.GameMap.java
com.game.base.PubSet.java
com.game.commen.AStarMap.java
com.game.commen.AStarNode.java
com.game.commen.AStar.java
com.game.commen.ActionToDo.java
com.game.commen.BitmapTouchChecker.java
com.game.commen.BitmapUtil.java
com.game.commen.Direction.java
com.game.commen.EffectName.java
com.game.commen.GameXmlcommen.java
com.game.commen.GetImgCommen.java
com.game.commen.IrregularButton.java
com.game.commen.MapName.java
com.game.commen.Paintforziti.java
com.game.commen.ToDo.java
com.game.data.BaseInfo.java
com.game.data.RoleData_Main.java
com.game.data.RoleData.java
com.game.data.StroyTipData.java
com.game.effect.SpecialEffect.java
com.game.fengshen.GameActivity.java
com.game.fengshen.GameMainActivity.java
com.game.fengshen.GameView.java
com.game.fengshen.MoveTest.java
com.game.renwu.Objs.java
com.game.renwu.SpiritMain.java
com.game.renwu.Spirit_Main.java
com.game.renwu.Spirit_NPC.java
com.game.renwu.Spirit.java
com.game.renwu.Spiritgirl.java
com.game.stroy.MainStroy.java
com.game.tip.PublicTips.java