public class Arrow extends SizeDrawable
| 限定符和类型 | 类和说明 |
|---|---|
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() |
Arrow |
hypotenuseHeight(float hypotenuseHeight) |
Arrow |
hypotenuseWidth(float hypotenuseWidth) |
Arrow |
midPerpendicularHeight(float midPerpendicularHeight) |
Arrow |
midPerpendicularWidth(float midPerpendicularWidth) |
protected void |
onBoundsChange(android.graphics.Rect bounds) |
getOpacity, onSizeChanged, setAlpha, setBounds, setColorFilterapplyTheme, 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, 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.Drawableprotected void onBoundsChange(android.graphics.Rect bounds)
onBoundsChange 在类中 android.graphics.drawable.Drawablepublic 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)