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 interfaceSubBitmapEvent.TextureOwnerTo be implemented by theTextureowner 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 voidrelease()Release the resources, if any, back to the owner.StringtoString()-
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 ornullif 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- theCodecIDlang- language code, supposed to be 3-letters of `ISO 639-2 language codes`pos- texture positiondim- texture dimensiontex- theTextureornullif unusedpts_start- pts start in mspts_end- pts end in ms, oftenSubtitleEvent.isEndDefined()for bitmap'ed types seeSubtitleEvent.pts_endowner-Textureowner code-stub to release the texture
-
-