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, prepareResetFlag, priority, requestFlags, rotationY, rotationZ, syncTimeOffsetResetFlag, tag, text, textColor, textShadowColor, textSize, timeOffset, 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, getActualTime, getAlpha, getDrawingCache, getDuration, getTag, getTime, getTimer, hasPassedFilter, isFiltered, isFilteredBy, isLate, isMeasured, isOffset, isOutside, isOutside, isPrepared, isShown, isTimeOut, isTimeOut, prepare, setDuration, setTag, setTag, setTime, setTimeOffset, setTimer, setVisibility
protected 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
在类中 BaseDanmaku
protected float getAccurateLeft(IDisplayer displayer, long currTime)
public float[] getRectAtTime(IDisplayer displayer, long time)
getRectAtTime
在类中 BaseDanmaku
public float getLeft()
getLeft
在类中 BaseDanmaku
public float getTop()
getTop
在类中 BaseDanmaku
public float getRight()
getRight
在类中 BaseDanmaku
public float getBottom()
getBottom
在类中 BaseDanmaku
public int getType()
BaseDanmaku
getType
在类中 BaseDanmaku
public void measure(IDisplayer displayer, boolean fromWorkerThread)
measure
在类中 BaseDanmaku