Overview
Creates a heart shape.
Heart class inherits Display class, therefore all the methods defined in Display class can also be used in the Circle object.
Syntax
• radius - (required) the radius of the outer tangent circle
• option - (optional) table containing parameters
option = {
strokeWidth = n, -- (default = 0) width of stroke
strokeColor = color, -- (default = Color.WHITE) stroke color
fill = color, -- (default = Color(Color.WHITE,1)) color and alpha for fill
}
Note that the initial anchor point is the center of the circle.
댓글 없음:
댓글 쓰기