浏览代码

Added Bounds property.

Mark Sibly 9 年之前
父节点
当前提交
703c10595e
共有 1 个文件被更改,包括 14 次插入5 次删除
  1. 14 5
      modules/mojo/graphics/image.monkey2

+ 14 - 5
modules/mojo/graphics/image.monkey2

@@ -89,20 +89,29 @@ Class Image
 		UpdateVertices()
 	End
 	
+	Property Bounds:Rectf()
+	
+		Return _vertices
+	End
+
+	Property Radius:Float()
+	
+		Return _radius
+	End
+	
+	#rem monkeydoc @hidden
+	#end
 	Property Vertices:Rectf()
 	
 		Return _vertices
 	End
 	
+	#rem monkeydoc @hidden
+	#end
 	Property TexCoords:Rectf()
 	
 		Return _texCoords
 	End
-
-	Property Radius:Float()
-	
-		Return _radius
-	End
 	
 	Function Load:Image( path:String,shader:Shader=Null )