Rank: Administration
Groups: Translators, Members, Administrators Joined: 1/11/2018(UTC) Posts: 1,349 Location: Tampa, FL Thanks: 28 times Was thanked: 416 time(s) in 354 post(s)
|
Code:var gestureName = "e"; //Name of gesture
var imageWidth = 500; //Width of the gesture drawing
var lineWidth = 5; //Thickness of gesture line
var lineArrowWidth = 4.0; //Size of ending arrow
var lineColor = Color.Blue; //Color of gesture line
var bgColor = Color.White; //Color of image background
//Get the first gesture matching the name (should only ever be one, but to be safe)
var gesture = sp_config.Gestures.Where(g => g.Name == gestureName).First();
//Generate image from the FIRST stored point pattern and copy the image to the clipboard
clip.SetImage(gesture.PointPatterns.First().GetImage(imageWidth, 0, lineWidth, lineArrowWidth, lineColor, bgColor));
Edited by user Tuesday, June 11, 2019 12:53:33 PM(UTC)
| Reason: Not specified
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The StrokesPlus.net Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close