Skip to content

Instantly share code, notes, and snippets.

View TufferyJordan's full-sized avatar
👨‍💻
Preparing something

Tuffery Jordan TufferyJordan

👨‍💻
Preparing something
View GitHub Profile
@TufferyJordan
TufferyJordan / HollowSpan
Last active July 27, 2017 16:03
This class is used to show Stroked Characters
public static class HollowSpan extends ReplacementSpan {
private final Path mPath = new Path();
private int mWidth;
private int mStrokeWidth;
private int mColorFill;
private int mColorStroke;
private PathEffect mPathEffect = null;
public HollowSpan(int strokeWidth, int strokeColor) {
mColorStroke = strokeColor;