Skip to content

drawOval,drawRoundRect 这二个的多参数方法需要SDK版本21以上才支持 #5

@zgh0711

Description

@zgh0711

如题,这二个函数的直接传坐标的方法要求手机SDK版本在21以上才行,21以下的是没有效果的,要兼容低版本的话需要使用参数比较少的重载方法,先 new RectF,传入坐标,然后再将 Rectf 传入 draw 方法。这个问题在教程里没有提到,新手可能会不知道该怎么处理。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions