示例#1
0
 // region Constructors
 public GradientFont(
     final FontManager pFontManager,
     final ITexture pTexture,
     final Typeface pTypeface,
     final float pSize,
     final boolean pAntiAlias,
     final Color pColorFrom,
     final Color pColorTo) {
   this(
       pFontManager,
       pTexture,
       pTypeface,
       pSize,
       pAntiAlias,
       pColorFrom.getARGBPackedInt(),
       pColorTo.getARGBPackedInt());
 }
示例#2
0
 // ======================================================
 // ======================================================
 public static Color getColorWithAlpha(Color pColor, float pAlpha) {
   return new Color(pColor.getRed(), pColor.getGreen(), pColor.getBlue(), pAlpha);
 }