Module javafx.media

Class VideoTrack



  • public final class VideoTrack
    extends Track
    A Track that describes a video track. This will usually be the unique visual track in an audiovisual media resource.
    Since:
    JavaFX 2.0
    • Method Detail

      • getWidth

        public final int getWidth​()
        Retrieves the width of the track.
        Returns:
        the track width.
      • getHeight

        public final int getHeight​()
        Retrieves the height of the track.
        Returns:
        the track height.