mark (point,angle,type,length,width)
mark
Function parameters
Usage
If the name of a mark is not set in code, the default name is formed as M_point. You can use mathematical equations, variables, object properties and size constants in syntax.
mark1=mark(p1,90)
// the type of mark is MARK_T, length and width equal 1 cmmark2=mark(p1,0,mark_arrow,2,2)
// an arrow mark at the center of the pointmark3=mark(p1,0,”ABC”,2)
// a notch and text ABC next to the pointPlease observe the types of mark used in Sewist Pattern Designer and their position against the point. The angle is set to 0 in all the examples below. Length and width are set to equal values.
MARK_T | MARK_ARROW | MARK_CIRCLE | MARK_SQUARE |
MARK_LOOP | MARK_CROSS | MARK_DELTA | MARK_DASH |
MARK_DIAMOND | MARK_ARROW | MARK_FOLD | MARK_APEX |
MARK_PLEAT_INNER | MARK_PLEAT_OUTER | MARK_PLEAT_RIGHT | MARK_PLEAT_LEFT |
You may also use any text for mark, mentioning it as a string in quotations instead of the mark type. In this case the 4th parameter, length of mark, is understood as text size (see mark3 above). The 5th parameter is then ignored. Sewist Pattern Designer will draw a tiny notch to the point, and the text will be centered against it. In general, special html symbols like the ones below are accepted. Your imagination is the limit!
☺ ✽ ✿ ❀ ☼ ☀ ☂ ☃ ❄ ♪ ♫ ♩ ♬ ø ⚇ ⚉ ❅ ϟ ☐ ☒ ✇ ✖ ☟ ✣ ❋ ✦ ✧ ☆ ✪ ✬ ✡ ★ ✴ ✶ ✱ ✲ ♤ ♧ ♡ ♢ ♠ ♣ ♥ ♦ ♔ ♕ ♖ ♗ ♘ ♙ ♚ ♛ ♜ ♝ ♞ ♟ ⚀ ⚁ ⚂ ⚃ ⚄< ⚅ ⚇ ⚑ ⚐