[ Jpn | Eng ]

Main Menu



Recent

Recent Entries:

Search

Search this site:

Archive

Powered by
MTOS 5.2.2


g200kg > JKnobMan Online Help > 06.Primitive

JKnobMan Online Help

2012/05/10

06.Primitive



Primitive

[ Japanese | English ]

Primitive section parameters are altered with the primitive type.

Image

The 'Image' type primitive can load image from files. the original image is not limited in size and aspect. it would be a .bmp / .jpg / .png / .gif format. The alpha information can be used if loaded from .png file. Otherwise the top-left most pixel's color is processed as transparent.

In addition, the 'Intelligent alpha' parameter can reduce the noise near the edge of shapes.

The 'Intelligent alpha' will try to re-build alpha information from pixel color assuming the top-left most pixel color is the background color. For example, when a bmp file (red on white) with no alpha information is loaded on blue background, the edge of the shape will roil. Intelligent alpha will replace the 'how near to transparent color' to transparency.

If the image is pre-rendered to stitched animation, each source frames will deployed to appropriate target frames by adjusting 'Multiframed' option. For example, if the image is rendered to 5 frames animation like below, you can use animated image primitive by setting the 'Multiframed' param to 5


Circle

A circle without fill. The 'Specular' parameter add a concentric speculation.


CircleFill

A Filled circle. Probably most frequently used for the rotation type knob. Embossing and textures are available.


MetalCircle

This primitive has almost same statistics as CircleFill, but has a metallic speculations. The speculation is controlled with 'Ambient', 'Specular' and 'SpecularWidth' parameters.


WaveCircle

Wavy shaped filled circle. The 'Width' parameter can morph between circle/regular polygon/Star shape.


Sphere

A Sphere. Emboss and textures are also available.


Rect

A rectangle without fill. Roundness control is available. This primitive may be used for a slider type knob.


RectFill

A filled rectangle. Roundness, Emboss and Textures are available.


Triangle

A filled triangle. May be used for the indication of the current position with 'Angle' effect. The triangle shape is controlled with 'Width' and 'Length'.


Line

A vertical line. May be used for indication of the current position with a 'Angle' effect.


RadiateLine

The lines from circumference to center. This primitive may be used for the ticks around knob or a decoration of the knob body itself.


HLines

Multiple horizontal lines. This primitive may be useful for the ticks of the vertical slider type widget.


VLines

Multiple vertical lines. may be used for ticks of the horizontal slider type widget.


Text

'Text' type primitive. The text is specified by the 'Text' field. It can contain the special syntax for dynamic changing texts between frames.

Refer the DynamicTexts for details.

About FontSize

the text primitive has a 'FontSize' field. Unlike other primitives, the text primitive size is affected by both of this 'FontSize' and 'Zoom'. But for the best representation, except for the text zooming animation, recommended to keep the 'Zoom' to 100 and decide size by the 'FontSize' because the 'Zoom' is after process of the font outline rendering.


Shape

Bezier based free shape. You can design any filled-shape or curves by this primitive. Refer Shape page for the detail of shape designing.


Return


g200kg