Java javafx.scene.media MediaView fields, constructors, methods, implement or subclass

Example usage for Java javafx.scene.media MediaView fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javafx.scene.media MediaView.

The text is from its open source code.

Constructor

MediaView(MediaPlayer mediaPlayer)
Creates a MediaView instance associated with the specified MediaPlayer .

Method

DoublePropertyfitHeightProperty()
DoublePropertyfitWidthProperty()
ReadOnlyObjectPropertysceneProperty()
voidsetPreserveRatio(boolean value)
Sets whether to preserve the media aspect ratio when scaling.
voidsetViewport(Rectangle2D value)
Sets the rectangular viewport into the media frame.