summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/support/glrenderer/GLPaint.java
blob: 7c6af73eb09f5cf5aa584e7e7a9e6a84148fb417 (plain)
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
package com.android.camera.support.glrenderer;


import junit.framework.Assert;

public class GLPaint {
    private float mLineWidth = 1f;
    private int mColor = 0;

    public void setColor(int color) {
        mColor = color;
    }

    public int getColor() {
        return mColor;
    }

    public void setLineWidth(float width) {
        Assert.assertTrue(width >= 0);
        mLineWidth = width;
    }

    public float getLineWidth() {
        return mLineWidth;
    }
}