Import line: | GstVideo = imports.gi.GstVideo; |
GIR File: | GstVideo-0.10.gir |
C documentation: | GstVideoRectangle |
Struct : | VideoRectangle |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
h : Number
|
GstVideo.VideoRectangle | |
w : Number
|
GstVideo.VideoRectangle | |
x : Number
|
GstVideo.VideoRectangle | |
y : Number
|
GstVideo.VideoRectangle |
Method / Constructor | Defined By | |
---|---|---|
new GstVideo.VideoRectangle
()
Create a new GstVideo.VideoRectangle
Create a new GstVideo.VideoRectangle
|
None |
Class / Namespace | Method / Signal / Properties |
---|---|
GstInterfaces.XOverlay
Method |
set_render_rectangle
(VideoRectangle rect)
:
Boolean
Configure a subregion as a video target within the window set by gst_x_overlay_set_xwindow_id().
|
GstVideo.VideoSink
Method |
GstVideo.VideoSink.center_rect
(VideoRectangle src, VideoRectangle dst, VideoRectangle result, Boolean scaling)
:
none
Takes src rectangle and position it at the center of dst rectangle with or without scaling.
|