k#23
Merged
Merged
Conversation
Reads pixel data from a rectangular region of the surface into the specified int array. The format to be used for pixels in the buffer is defined by the PixelFormat object and pixel format conversions will be performed as needed to store the data in the indicated format. The pixelformat must be a compatible PixelFormat<IntBuffer> type. The data for the first pixel at location (x, y) will be read into the array index specified by the offset parameter. Pixel data for a row will be stored in adjacent locations within the array packed as tightly as possible for increasing X coordinates. Pixel data for adjacent rows will be stored offset from each other by the number of int array elements defined by [scanlineStride](http://docs.oracle.com/javafx/2/api/index.html).
scan_image.js
fdsParameters:
x - the X coordinate of the rectangular region to read
y - the Y coordinate of the rectangular region to read
w - the width of the rectangular region to read
h - the height of the rectangular region to read
pixelformat - the PixelFormat<IntBuffer> object defining the int format to store the pixels into buffer
buffer - a int array to store the returned pixel data
offset - the offset into buffer to store the first pixel data
scanlineStride - the distance between the pixel data for the start of one row of data in the buffer to the start of the next row of data
Merge pull request #10 from usernamealreadyis/master
Merge pull request #8 from GistIcon/master
public abstract java.util.List<java.lang.String> getRaw()
Retrieves a read-only list of the raw arguments. This list may be empty, but is never null. In the case of a standalone application, it is the ordered list of arguments specified on the command line. In the case of an applet or WebStart application, it includes unnamed parameters as well as named parameters. For named parameters, each <name,value> pair is represented as a single argument of the form: "--name=value".
Returns:
a read-only list of raw application arguments
java.lang.Object
java.lang.Object
Add files via upload
Add files via upload
public static ConditionalFeature valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null
TRANSPARENT_WINDOW
public static final ConditionalFeature TRANSPARENT_WINDOW
Indicates that the system supports full window transparency. Transparent windows will have only limited or no functionality on a platform that doesn't support it.
NOTE: Currently, this support is available on all platforms except Linux systems without the XComposite extension. The XShape extension is used in that case, so the window edges are aliased.
NOTE: In an environment with enabled security manager (for example in applet mode), usage of transparent windows is protected by security checks. If the application doesn't have the required permissions, it won't be able to use this feature and the system will appear as if the support for transparent windows wasn't implemented. This includes returning false from the Platform.isSupported(TRANSPARENT_WINDOW) test.
java.lang.Object
static ConditionalFeature valueOf(java.lang.String name) Returns the enum constant of this type with the specified name. static ConditionalFeature[] values() Returns an array containing the constants of this enum type, in the order they are declared.
@generated(value="Generated by javafx.builder.processor.BuilderProcessor") public class AffineBuilder<B extends AffineBuilder<B>> extends java.lang.Object implements Builder<Affine>
Merge pull request #15 from xccvv/master
Merge pull request #16 from usernamealreadyis/master
public class Clipboard
extends java.lang.Object
Represents an operating system clipboard, on which data may be placed during, for example, cut, copy, and paste operations.
To access the general system clipboard, use the following code:
Clipboard clipboard = Clipboard.getSystemClipboard();
There is only ever one instance of the system clipboard in the application, so it is perfectly acceptable to stash a reference to it somewhere handy if you so choose.
The Clipboard operates on the concept of having a single conceptual item on the clipboard at any one time -- though it may be placed on the clipboard in different formats. For example, the user might select text in an HTML editor and press the ctrl+c or cmd+c to copy it. In this case, the same text might be available on the clipboard both as HTML and as plain text. There are two copies of the data on the clipboard, but they both represent the same data.
Content is specified on the Clipboard by using the setContent(java.util.Map) method. First, construct a ClipboardContent object, then invoke setContent. Every time setContent is called, any previous data on the clipboard is cleared and replaced with this new content.
final Clipboard clipboard = Clipboard.getSystemClipboard();
final ClipboardContent content = new ClipboardContent();
content.putString("Some text");
content.putHtml("<b>Some</b> text");
clipboard.setContent(content);
Method Summary
Merge pull request #15 from GistIcon/master
Make it official
Community Documentation
Community Docs Home
Develop for Drupal
Theming Guide
Glossary
Contribute to Docs
Streaming content from a Flash Media Server with SWF Tools
Last updated October 27, 2010. Created on March 11, 2009.
Edited by elvis2, Stuart Greenfield. Log in to edit this page.
As of SWF Tools 6.x-2.x there is early support for streaming media from Flash Media Servers (such as Adobe's Flash Media Server, Red5 open source server, or Wowza).
This page is only partial at the moment, but it is intended to provide something of a reference guide if you want to experiment with the features. Note that setting up a media server can be tricky, and this page can't really help you out with that part - it is intended to help you use SWF Tools with a working media server!
At present, streaming media is support in the Wijering 4 and FlowPlayer 3 modules. Both can handle single media streams, whilst FlowPlayer3 can also handle streamed playlists.
The examples below show how to stream media using the swf filter syntax, and an example for PHP is also provided as it can be a little bit confusing as to where to pass the various parameters.
[swf] input filter
In summary, all you need to do is add the parameter stream="rtmp://server/application" to your regular [swf] string. Because for the media servers you don't always include the extension, or you might be streaming a format other than flv, you should also tell SWF Tools to treat the file as a video stream by setting action="swftools_flv_display" or action="swftools_flv_display_list".
The best way to understand it is with some examples...
To stream a single flv video file:
[swf file="sample" stream="rtmp://server/app" action="swftools_flv_display"]
Note that the extension is not included on the filename for an flv stream.
To stream a single f4v:
[swf file="mp4:myVideo.f4v" stream="rtmp://server/app" action="swftools_flv_display"]
Note in this case that the file type is specified by the prefix mp4:, and the extension is included.
To stream a media playlist (FlowPlayer3 only):
[swf files="videoOne&&videoTwo" stream="rtmp://server/app" action="swftools_flv_display_list" playlist="true"]
You can even pick up a live video stream. For example, using the included live service with Flash Media Server you can use
platform.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@GistIcon/bola @GistIcon/ussernamealradyis @GistIcon/uth @ @GistIcon/_name_your_team