FrameManager:DrawDotLine

From Data Realms Wiki

Jump to: navigation, search
Function
SyntaxDrawDotLine( * The Bitmap to draw to. Ownership is NOT transferred.
  • The absolute Start point.
  • The absolute end point.
  • The bitmap to be used for dots; will be centered.
  • How many pixels to gap between drawing dots. Should be more than 0
  • The start of the skipping phase. If skip is 10 and this is 5, the first dot will will be drawn after 5 pixels.
  • Whether the line should take the shortest possible route across scene wraps. )
Description:
Draws a line that can be dotted with bitmaps.
ReturnsThe end state of the skipping phase. Eg if 4 is returned here the last dot was placed 4 pixels ago.




Example
DescriptionPlaceholder!
Code
  1. for k,v in pairs(PagesWithoutExamples) do
  2.     v.MakeExample(NoErrors);
  3. end
OutputPlaceholder!
Personal tools