-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPaintText.java
More file actions
36 lines (30 loc) · 756 Bytes
/
PaintText.java
File metadata and controls
36 lines (30 loc) · 756 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package com.work.basic;
import android.content.Context;
import android.graphics.Canvas;
import android.support.annotation.Nullable;
import android.util.AttributeSet;
import android.view.View;
/**
* Title: PaintText
* <p>
* Description:
* </p>
*
* @author Changbao
* @date 2018/12/16 18:41
*/
public class PaintText extends View {
public PaintText(Context context) {
super(context);
}
public PaintText(Context context, @Nullable AttributeSet attrs) {
super(context, attrs);
}
public PaintText(Context context, @Nullable AttributeSet attrs, int defStyleAttr) {
super(context, attrs, defStyleAttr);
}
@Override
protected void onDraw(Canvas canvas) {
super.onDraw(canvas);
}
}