The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

Go Back   The Omni Group Forums > OmniGraffle > OmniGraffle General
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
Documentation about Custom shapes Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
I am interested in creating some custom shapes and found this code posted by Chris:

Code:
{
    shapes = (
	{
	    InspectorGroup = 1.5;
	    ShapeName = "OpenBox";
	    FillPath = {
		elements = (
		    {element = MOVETO; point = "{-0.5, -0.5}"; },
		    {element = LINETO; point = "{0.5, -0.5}"; },
		    {element = LINETO; point = "{0.5, 0.5}"; },
		    {element = LINETO; point = "{-0.5, 0.5}"; },
		    {element = CLOSE; }
		);
	    };
	    StrokePath = {
		elements = (
		    {element = MOVETO; point = "{-0.5, -0.5}"; },
		    {element = LINETO; point = "{-0.5, 0.5}"; },
		    {element = LINETO; point = "{0.5, 0.5}"; },
		    {element = LINETO; point = "{0.5, -0.5}"; }
		);
	    };
	}
    );
}
Can someone direct me to any documentation that describes which commands are available i.e. in addition to LineTo and MoveTo. For example is it possible to draw a box with two solid lines and two dashed?

best wishes
Simon
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom stroke for shapes IxDBill OmniGraffle General 4 2009-04-04 07:35 AM
Custom shapes in shapes inspector sunshine OmniGraffle General 4 2009-02-27 07:54 AM
Saving custom shapes Chris OmniGraffle General 0 2008-11-11 09:21 AM
Removing Custom Shapes From Inspector ecordero OmniGraffle General 1 2007-10-19 05:37 PM
join custom shapes? BronL OmniGraffle General 3 2006-09-01 01:24 AM


All times are GMT -8. The time now is 04:54 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.