public class R2LDanmaku extends BaseDanmaku
| 限定符和类型 | 字段和说明 |
|---|---|
protected static long |
CORDON_RENDERING_TIME |
protected static long |
MAX_RENDERING_TIME |
protected int |
mDistance |
protected long |
mLastTime |
protected float |
mStepX |
protected float[] |
RECT |
protected float |
x |
protected float |
y |
alpha, borderColor, cache, DANMAKU_BR_CHAR, duration, filterResetFlag, firstShownFlag, FLAG_REQUEST_INVALIDATE, FLAG_REQUEST_REMEASURE, flags, forceBuildCacheInSameThread, index, INVISIBLE, isGuest, isLive, lines, measureResetFlag, mFilterParam, mTimer, obj, padding, paintHeight, paintWidth, priority, requestFlags, rotationY, rotationZ, text, textColor, textShadowColor, textSize, time, TYPE_FIX_BOTTOM, TYPE_FIX_TOP, TYPE_MOVEABLE_XXX, TYPE_SCROLL_LR, TYPE_SCROLL_RL, TYPE_SPECIAL, underlineColor, userHash, userId, visibility, VISIBLE| 构造器和说明 |
|---|
R2LDanmaku(Duration duration) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected float |
getAccurateLeft(IDisplayer displayer,
long currTime) |
float |
getBottom() |
float |
getLeft() |
float[] |
getRectAtTime(IDisplayer displayer,
long time) |
float |
getRight() |
float |
getTop() |
int |
getType()
return the type of Danmaku
|
void |
layout(IDisplayer displayer,
float x,
float y) |
void |
measure(IDisplayer displayer,
boolean fromWorkerThread) |
draw, getAlpha, getDuration, getTimer, hasDrawingCache, hasPassedFilter, isFiltered, isFilteredBy, isLate, isMeasured, isOutside, isOutside, isShown, isTimeOut, isTimeOut, setDuration, setTimer, setVisibilityprotected static final long MAX_RENDERING_TIME
protected static final long CORDON_RENDERING_TIME
protected float x
protected float y
protected int mDistance
protected float[] RECT
protected float mStepX
protected long mLastTime
public R2LDanmaku(Duration duration)
public void layout(IDisplayer displayer, float x, float y)
layout 在类中 BaseDanmakuprotected float getAccurateLeft(IDisplayer displayer, long currTime)
public float[] getRectAtTime(IDisplayer displayer, long time)
getRectAtTime 在类中 BaseDanmakupublic float getLeft()
getLeft 在类中 BaseDanmakupublic float getTop()
getTop 在类中 BaseDanmakupublic float getRight()
getRight 在类中 BaseDanmakupublic float getBottom()
getBottom 在类中 BaseDanmakupublic int getType()
BaseDanmakugetType 在类中 BaseDanmakupublic void measure(IDisplayer displayer, boolean fromWorkerThread)
measure 在类中 BaseDanmaku