Example usage for Java javafx.scene.media MediaView fields, constructors, methods, implement or subclass
The text is from its open source code.
MediaView(MediaPlayer mediaPlayer) Creates a MediaView instance associated with the specified MediaPlayer . |
DoubleProperty | fitHeightProperty() |
DoubleProperty | fitWidthProperty() |
ReadOnlyObjectProperty | sceneProperty() |
void | setPreserveRatio(boolean value) Sets whether to preserve the media aspect ratio when scaling. |
void | setViewport(Rectangle2D value) Sets the rectangular viewport into the media frame. |