|  | Draw tile (For mode 2D) | | Draws given tile at given position. | |
|
|  | Select tile (For mode 2D) | | | |
|
|  | Position 2D (For mode 2D) |  Show exampleHide example | Gets or possibly sets property that holds position in the 2D space. | Creates new sprite form Baltie's object number 2. Then in the cycle without end sets position of this sprite so that it orbits in direction of watch-hand on ellipse, which is over whole screen. | | |
|
|
|  | Coordinate X in fields (For mode 2D) |  Show exampleHide example | Gets or sets value of property X converted to the fields. | Creates new point on chosen coordinates and writes to the test string coordinate X of the point in fields. | | |
|
|
|  | Coordinate Y in fields (For mode 2D) |  Show exampleHide example | Gets or sets value of property Y converted to the fields. | Creates new point on chosen coordinates and writes to the test string coordinate Y of the point in fields. | | |
|
|
|  | Coordinates X,Y in pixels (For modes 2D, 3D) | | Returns X,Y coordinates in pixels from parameters given in fields. | |
|
|  | Coordinate X in pixels (For modes 2D, 3D) |  Show exampleHide example | Returns X coordinate in pixels from parameter given in fields. | Writes on every filed of output window the number of repeats of first cycle. | | |
|
|
|  | Coordinate Y in pixels (For modes 2D, 3D) |  Show exampleHide example | Returns Y coordinate in pixels from parameter given in fields. | Writes on every filed of output window the number of repeats of second cycle. | | |
|
|
|  | Coordinate X in fields (For modes 2D, 3D) | | Returns X coordinate in fields from parameter given in pixels. | |
|
|  | Coordinate Y in fields (For modes 2D, 3D) | | Returns Y coordinate in fields from parameter given in pixels. | |
|
|  | Coordinates X,Y in fields (For modes 2D, 3D) | | Returns X,Y coordinate in fields from parameter given in pixels. | |
|
|  | Distance (For modes 2D, 3D, Console) |  Show exampleHide example | Returns distance between two points. | Writes to the output window distance between left top and right bottom corner of the window and distance between chosen points. | | |
|
|
|  | Create graphics from Baltie's Area (For mode 2D) |  Show examplesHide examples | Creates the Graphics object to enable drawing on the Baltie's space. | Draws ellipse, rectangle and line by the chosen values. | | |
Draws chosen image on chosen coordinates on Baltie's 2D world. | | |
Creates new bitmap from object. Width of the bitmap is 10 objects and height is 7 objects. As first object is set object number 1001. Then creates new graphics and rotates it through 10 degrees. Then draws the bitmap on chosen coordinates on the graphics. | | |
|
|
|  | Resizing, shifting of area (For mode 2D) |  Show exampleHide example | Draws again part of the area on the area with possibilities to resize or move drawn area. | Baltie conjures up a fire, then copy it on chosen coordinates and makes the copy bigger. | | |
|
|
|  | Change background (For mode 2D) | | Change background od 2D area | |
|
|  | Draw ellipse (For mode 2D) |  Show exampleHide example | Draws ellipse according to the given parameters. | Draws dark blue filled and light bue not filled ellipse on chosen coordinates. | | |
|
|
|  | Load/Draw image (For mode 2D) |  Show exampleHide example | Loads/Draws image according to the given parameters. | Draws chosen image on chosen coordinates three times. | | |
|
|
|  | Draw line (For mode 2D) |  Show exampleHide example | Draws line according to the given parameters. | Draws line with white pen on chosen coordinates. Then creates new red pen, sets it's width to 12, the beginning of the pen to round and the end of the pen to dart. Draws line with created pen. | | |
|
|
|  | Draw pixel (For mode 2D) |  Show exampleHide example | Draws pixel according to the given parameters. | Draws 10 randomly colored points on random coordinates in cycle without end. | | |
|
|
|  | Draw rectangle (For mode 2D) |  Show exampleHide example | Draws rectangle according to the given parameters. | Draws white nod filled and orange filled rectangle on chosen coordinates. | | |
|
|
|  | Flood fill (For mode 2D) |  Show exampleHide example | Fills area with single color according to the given parameters. | Draws white not filled rectangle. Then fills it with red color and surroundings of it with dark green. | | |
|
|
|  | Get tile(s) as bitmap (For mode 2D) |  Show exampleHide example | Returns one or more tiles as an Bitmap object. | Creates new bitmap from object. Width of the bitmap is 10 objects and height is 7 objects. As first object is set object number 1001. Then creates new graphics and rotates it through 10 degrees. Then draws the bitmap on chosen coordinates on the graphics. | | |
|
|
|  | Measure drawn text (For mode 2D) |  Show exampleHide example | Calculates size of the drawn text using the given font. It measures text written by command Draw string. | |
|
|  | Save bitmap as tile(s) (For mode 2D) | | Saves bitmap as one or more tiles. | |
|
Did you find this information useful?
Documentation of SGP Baltie 4 C#
Send us comments on this topic by
this form
©1978-2010
SGP SystemsParent page |
Previous page |
Next page