extension-screenshot

OpenFL / Lime extension to capture screen.
https://github.com/agvadillo/extension-screenshot

To install, run:

haxelib install extension-screenshot 1.0.0 

See using Haxelib in Haxelib documentation for more information.

README.md

extension-screenshot

Screenshot extension for OpenFL

This implementation of screenshot works drawing a Sprite into a file. It works in all target less html.

Simple use Example

// This example show a simple sharing of a text using the Share Classs.

import extension.screenshot.Screenshot;

class SimpleExample {
	function new(){
		Screenshot.capture();
		// You too can define a area for saving
		Screenshot.capture(screen, new Rectangle(0, 0, 200, 200), "tmp");
	}
}

How to Install

haxelib install extension-screenshot

License

GNU GENERAL PUBLIC LICENSE - LICENSE

Contributors
agvadillo
Version
1.0.0
Published
2 years ago
License
MIT

All libraries are free

Every month, more than thousand developers use haxelib to find, share, and reuse code — and assemble it in powerful new ways. Enjoy Haxe; It is great!

Explore Haxe

Haxe Manual

Haxe Code Cookbook

Haxe API documentation

You can try Haxe in the browser! try.haxe.org

Join us on Github!

Haxe is being developed on GitHub. Feel free to contribute or report issues to our projects.

Haxe on Github