Spec-Zone.ru › OpenJavaFX 21

Class VideoTrack

java.lang.Object
javafx.scene.media.Track
javafx.scene.media.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 Summary

Modifier and Type Method Description
final int getHeight()
Retrieves the height of the track.
final int getWidth()
Retrieves the width of the track.

Methods declared in class javafx.scene.media.Track

getLocale, getMetadata, getName, getTrackID, toString

Methods declared in class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Method Details

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.

© 2008, 2025, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from JavaFX API Documentation.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Java, JavaFX and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API