Code example for Paint

Methods: getColor, getStyle, setColor, setStyle

0
    } 
 
    @Override 
    public void setColor(Color c) {
        if (mP == null) {
            mP = new Paint();
        } 
        mP.setColor(c.getRGB());
    } 
 
    /** 
     * Font mapping: 
     *  
     * Family: 
     *  
     * Android         AWT 
     * ------------------------------------- 
     * serif           Serif / TimesRoman 
     * sans-serif      SansSerif / Helvetica 
     * monospace       Monospaced / Courier 
     *