public class Brush
extends java.lang.Object
implements android.os.Parcelable
Modifier and Type | Field and Description |
---|---|
int |
color |
static android.os.Parcelable.Creator<Brush> |
CREATOR |
double |
hardness |
double |
radius |
double |
stepSize |
Modifier | Constructor and Description |
---|---|
|
Brush(double radius,
double hardness,
int color) |
protected |
Brush(android.os.Parcel in) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public final double radius
public final double hardness
public final double stepSize
public final int color
public static final android.os.Parcelable.Creator<Brush> CREATOR
public Brush(double radius, double hardness, int color)
protected Brush(android.os.Parcel in)
public int describeContents()
describeContents
in interface android.os.Parcelable
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object