extension-screenshot 1.0.0

OpenFL / Lime extension to capture screen.

Released 2015-12-05.

To install, run:

haxelib install extension-screenshot 1.0.0

See using Haxelib in Haxelib documentation for more information.

Maintaineragvadillo
Websitehttps://github.com/agvadillo/extension-screenshot
Current version1.0.0
StatisticsInstalled 21 times
LicenseMIT
Tags extension, image, lime, openfl

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