Package com.jogamp.opengl.util.av
Class SubBitmapEvent
- java.lang.Object
-
- com.jogamp.opengl.util.av.SubtitleEvent
-
- com.jogamp.opengl.util.av.SubBitmapEvent
-
public class SubBitmapEvent extends SubtitleEvent
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
SubBitmapEvent.TextureOwner
To be implemented by theTexture
owner to release the texture.-
Nested classes/interfaces inherited from class com.jogamp.opengl.util.av.SubtitleEvent
SubtitleEvent.Type
-
-
Constructor Summary
Constructors Constructor Description SubBitmapEvent(CodecID codec, String lang, com.jogamp.math.Vec2i pos, com.jogamp.math.Vec2i dim, Texture tex, int pts_start, int pts_end, SubBitmapEvent.TextureOwner owner)
Texture Event ctor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
release()
Release the resources, if any, back to the owner.String
toString()
-
Methods inherited from class com.jogamp.opengl.util.av.SubtitleEvent
getDuration, getStartString, isEndDefined
-
-
-
-
Field Detail
-
position
public final com.jogamp.math.Vec2i position
Subtitle texture position
-
dimension
public final com.jogamp.math.Vec2i dimension
Subtitle texture dimension
-
texture
public Texture texture
Subtitle texture ornull
if unused
-
-
Constructor Detail
-
SubBitmapEvent
public SubBitmapEvent(CodecID codec, String lang, com.jogamp.math.Vec2i pos, com.jogamp.math.Vec2i dim, Texture tex, int pts_start, int pts_end, SubBitmapEvent.TextureOwner owner)
Texture Event ctor- Parameters:
codec
- theCodecID
lang
- language code, supposed to be 3-letters of `ISO 639-2 language codes`pos
- texture positiondim
- texture dimensiontex
- theTexture
ornull
if unusedpts_start
- pts start in mspts_end
- pts end in ms, oftenSubtitleEvent.isEndDefined()
for bitmap'ed types seeSubtitleEvent.pts_end
owner
-Texture
owner code-stub to release the texture
-
-