blob: 198f3b7f504e62825123fadd8312b7e80737d7c3 [file] [log] [blame]
{ "type": "class",
"qname": "org.apache.royale.utils.SolidBorderUtil",
"baseClassname": ""
,
"description": "The SolidBorderUtil class is a utility class that draws a solid color border of a specified color, thickness and alpha. This class is used to composite Flash equivalents of JS entities and has no JS equivalent.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.0"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"members": [
{ "type": "method",
"qname": "drawBorder",
"namespace": "public",
"bindable": [],
"details": ["static"],
"deprecated": {},
"description": "Draw a solid color border as specified. Will fill with the backgroundColor if specified. The border draws inside with given width/height.",
"tags": [
{ "tagName": "param",
"values": ["g The flash.display.DisplayObject#graphics", "x The x position", "y The y position", "width The width", "height The height", "color The color", "backgroundColor The optional fill color", "thickness The thickness of the border", "alpha The alpha"]},
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.0"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"return": "void",
"params": [{ "name": "g", "type": "flash.display.Graphics"},
{ "name": "x", "type": "Number"},
{ "name": "y", "type": "Number"},
{ "name": "width", "type": "Number"},
{ "name": "height", "type": "Number"},
{ "name": "color", "type": "uint"},
{ "name": "backgroundColor", "type": "Object"},
{ "name": "thickness", "type": "int"},
{ "name": "alpha", "type": "Number"},
{ "name": "ellipseWidth", "type": "Number"},
{ "name": "ellipseHeight", "type": "Number"}]}
,
{ "type": "method",
"qname": "drawDetailedBorder",
"namespace": "public",
"bindable": [],
"details": ["static"],
"deprecated": {},
"description": "Draw a solid color border as specified. Only square corners are supported as the real usage for this is to handle CSS triangles. The border is drawn around the given width and height.",
"tags": [
{ "tagName": "param",
"values": ["g The flash.display.DisplayObject#graphics", "x The x position", "y The y position", "width The width", "height The height", "colorTop The rgba color (alpha is in highest order byte)", "colorRight The rgba color", "colorBottom The rgba color", "colorLeft The rgba color", "backgroundColor The optional fill color", "thicknessTop The thickness of the border", "thicknessRight The thickness of the border", "thicknessBottom The thickness of the border", "thicknessLeft The thickness of the border"]},
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.0"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"return": "void",
"params": [{ "name": "g", "type": "flash.display.Graphics"},
{ "name": "x", "type": "Number"},
{ "name": "y", "type": "Number"},
{ "name": "width", "type": "Number"},
{ "name": "height", "type": "Number"},
{ "name": "colorTop", "type": "uint"},
{ "name": "colorRight", "type": "uint"},
{ "name": "colorBottom", "type": "uint"},
{ "name": "colorLeft", "type": "uint"},
{ "name": "thicknessTop", "type": "int"},
{ "name": "thicknessRight", "type": "int"},
{ "name": "thicknessBottom", "type": "int"},
{ "name": "thicknessLeft", "type": "int"}]}
]
}