public class Arrow
extends android.graphics.drawable.Drawable
| 限定符和类型 | 类和说明 |
|---|---|
static class |
Arrow.builder |
| 限定符和类型 | 方法和说明 |
|---|---|
Arrow |
angle(float angle) |
Arrow |
color(int color) |
void |
draw(android.graphics.Canvas canvas) |
float |
getAngle() |
int |
getColor() |
float |
getHypotenuseHeight() |
float |
getHypotenuseWidth() |
float |
getMidPerpendicularHeight() |
float |
getMidPerpendicularWidth() |
int |
getOpacity() |
Arrow |
hypotenuseHeight(float hypotenuseHeight) |
Arrow |
hypotenuseWidth(float hypotenuseWidth) |
Arrow |
midPerpendicularHeight(float midPerpendicularHeight) |
Arrow |
midPerpendicularWidth(float midPerpendicularWidth) |
protected void |
onSizeChanged(android.graphics.Rect bounds) |
void |
setAlpha(int alpha) |
void |
setBounds(int left,
int top,
int right,
int bottom) |
void |
setColorFilter(android.graphics.ColorFilter colorFilter) |
applyTheme, canApplyTheme, clearColorFilter, copyBounds, copyBounds, createFromPath, createFromResourceStream, createFromResourceStream, createFromStream, createFromXml, createFromXml, createFromXmlInner, createFromXmlInner, getAlpha, getBounds, getCallback, getChangingConfigurations, getColorFilter, getConstantState, getCurrent, getDirtyBounds, getHotspotBounds, getIntrinsicHeight, getIntrinsicWidth, getLayoutDirection, getLevel, getMinimumHeight, getMinimumWidth, getOutline, getPadding, getState, getTransparentRegion, inflate, inflate, invalidateSelf, isAutoMirrored, isFilterBitmap, isStateful, isVisible, jumpToCurrentState, mutate, onBoundsChange, onLayoutDirectionChanged, onLevelChange, onStateChange, resolveOpacity, scheduleSelf, setAutoMirrored, setBounds, setCallback, setChangingConfigurations, setColorFilter, setDither, setFilterBitmap, setHotspot, setHotspotBounds, setLayoutDirection, setLevel, setState, setTint, setTintList, setTintMode, setVisible, unscheduleSelfpublic void draw(android.graphics.Canvas canvas)
draw 在类中 android.graphics.drawable.Drawablepublic void setAlpha(int alpha)
setAlpha 在类中 android.graphics.drawable.Drawablepublic void setColorFilter(android.graphics.ColorFilter colorFilter)
setColorFilter 在类中 android.graphics.drawable.Drawablepublic int getOpacity()
getOpacity 在类中 android.graphics.drawable.Drawablepublic void setBounds(int left,
int top,
int right,
int bottom)
setBounds 在类中 android.graphics.drawable.Drawableprotected void onSizeChanged(android.graphics.Rect bounds)
public float getHypotenuseHeight()
public Arrow hypotenuseHeight(float hypotenuseHeight)
public float getHypotenuseWidth()
public Arrow hypotenuseWidth(float hypotenuseWidth)
public float getMidPerpendicularHeight()
public Arrow midPerpendicularHeight(float midPerpendicularHeight)
public float getMidPerpendicularWidth()
public Arrow midPerpendicularWidth(float midPerpendicularWidth)
public float getAngle()
public Arrow angle(float angle)
public int getColor()
public Arrow color(int color)