GO进阶训练营

2021/4/12 10:55:52

本文主要是介绍GO进阶训练营,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

download:GO进阶训练营

Q:参加 Go 进阶训练营,需要具备什么基础?
需要掌握 Go 语言基础语法,并具备一定的 Go 语言相关项目开发经验。

Q:学完课程后能到什么水平?
Go 进阶训练营课程设计对标字节跳动 2-2 级胜任力模型,教学贴近大厂真实场景。课程中的实践驱动,不仅可以系统提升你的代码硬实力,同时也会培养你进入一线互联网大厂必备的思维能力。
我们的课程培养目标是大厂的资深 Go 工程师、高级 Go 开发工程师、Go 技术专家。按照老师系统性的规划,用心学习,可以帮你摆脱低效和痛苦的自学,事半功倍,学完后可以达到一线互联网大厂中高级 Go 开发工程师的水平。

哪些人适合报名 Go 进阶训练营?

2 年以上工作经验,在理论和技术方面有进阶学习需求的 Go 语言工程师;
其它语言转 Go(比如 Java )的工程师,用 Go 写过简单的项目,但工作中用 Go 写中大型的复杂项目比较吃力。

        canvas.drawLine(x1, y1, x2, y2, scoreRingPaint);
        axisLablePaint.setTextSize(axisLableTextSize);
        axisLablePaint.setTextAlign(Paint.Align.CENTER);
        axisLablePaint.setColor(mInnerScoreRingColor);
        float axisLable_fonth = getFontHeight(axisLablePaint);
        float labelRadius =innerScoreDiameter/2 - inner_ringWidth - axisLable_fonth/2 + 3;
        float x3 =  (float) (centerX + labelRadius * sinValue);
                float y3  =(float) (centerY + labelRadius * cosValue);
        canvas.save();
        canvas.rotate(90+ degree,x3,y3);    //绘製倾斜文字
        canvas.drawText(axisLabelStrs[i],x3,y3 + getFontCenterYToBaseLine(axisLablePaint),axisLablePaint);
        canvas.restore();
    }
    scoreTextPaint.setTextAlign(Paint.Align.CENTER);
    scoreTextPaint.setTextSize(scoreTextSize);
    scoreTextPaint.setColor(mScoreColor);
    double rAngle = Math.toRadians(90 - (-180 + offset_degree));    //弧度
    float offset_y = (float)(maxOutterScoreRadius*Math.cos(rAngle));
    float scoreBaselineY = centerY + offset_y;
    float tempH = getFontTopYToBaseline(scoreTextPaint);
    canvas.drawText(nFormat.format(score), centerX, scoreBaselineY, scoreTextPaint);
    scoreTextPaint.setTextSize(scoreTitleTextSize);
    scoreTextPaint.setColor(mScoreTitleColor);
    float scoreTitleBaselineY = scoreBaselineY - tempH - Tool.dpToPx(2);
    canvas.drawText(mScoreTitleStr, centerX, scoreTitleBaselineY, scoreTextPaint);
}
public static float getFontHeight(Paint textPaint){
    Paint.FontMetrics fm = textPaint.getFontMetrics();
    return (float)Math.ceil(fm.descent - fm.ascent) + 3;
}
public static float getFontTopYToBaseline(Paint textPaint){
    Paint.FontMetrics fm = textPaint.getFontMetrics();
    return (float)Math.ceil(-fm.ascent) + 3;
}
public static float getFontBottomYToBaseline(Paint textPaint){
    Paint.FontMetrics fm = textPaint.getFontMetrics();
    return (float)Math.ceil(fm.descent) + 3;
}
public static float getFontCenterYToBaseLine(Paint textPaint){
    Paint.FontMetrics fm = textPaint.getFontMetrics();
    float fonth = getFontHeight(textPaint);
    return (float)Math.abs(Math.ceil(fonth/2- fm.descent));
}



这篇关于GO进阶训练营的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!


扫一扫关注最新编程教程