Bottle 2D - Lua API 1.0.0
All you need to create games using bottle2D.

Shape Member List

This is the complete list of members for Shape, including all inherited members.
AddPoint(Vector2D Position, Color Col, Color OutlineCol)Shape
angularVelocityObject
ChangeParent(Group parent)Object
Clone()Object
CloneToGroup(Group newParent)Object
colorShape
Destroy()Object
EnableFill(bool Enable)Shape
EnableOutline(bool Enable)Shape
GetAngularVelocity()Object
GetCenter()Shape
GetColor()Shape
GetGlobalPosition()Object
GetGlobalRotation()Object
GetLowZPos()Drawable
GetName()Object
GetNbPoints()Shape
GetOutlineWidth()Shape
GetParent()Object
GetParentScreen()Object
GetPointColor(number index)Shape
GetPointOutlineColor(number index)Shape
GetPointPosition(number index)Shape
GetPosition()Object
GetPositionX()Object
GetPositionY()Object
GetRotation()Object
GetScale()Shape
GetSpeed()Object
GetType()Object
GetUniqueId()Object
GetUserData(string id)Object
GetZpos()Drawable
globalPositionObject
Hide()Drawable
IsUpperThan(Drawable drawableToCompare)Drawable
IsVisible()Drawable
MakeCircle(Vector2D Center, number Radius, Color Col, number Outline, Color OutlineCol)Shape
MakeLine(Vector2D P1, Vector2D P2, number Thickness, Color Col, number Outline, Color OutlineCol)Shape
MakeRectangle(Vector2D P1, Vector2D P2, Color Col, number Outline, Color OutlineCol)Shape
Move(Vector2D mvt)Object
nameObject
operator==(Object obj)Object
positionObject
Rotate(number angle)Object
rotationObject
rotationObject
SetAngularVelocity(number speed)Object
SetCenter(Vector2D center)Shape
SetColor(Color Col)Shape
SetGlobalPosition(Vector2D pos)Object
SetGlobalRotation(number rotation)Object
SetName(string str)Object
SetOutlineWidth(number Width)Shape
SetPointColor(number index, Color Col)Shape
SetPointOutlineColor(number index, Color OutlineCol)Shape
SetPointPosition(number index, Vector2D Position)Shape
SetPosition(Vector2D pos)Object
SetPositionX(number pos)Object
SetPositionY(number pos)Object
SetRotation(number angle)Object
SetScale(Vector2D scale)Shape
SetScaleX(number FactorX)Shape
SetScaleY(number FactorY)Shape
SetSize(Vector2D size)Shape
SetSpeed(Vector2D speed)Object
SetUserData(string id, luaObject data)Object
SetZpos(number val)Drawable
Show(bool visible=true)Drawable
speedObject
UserDataExists(string id)Object
visibleDrawable
xObject
yObject
zPosDrawable
 All Classes Files Functions Variables