Você está na página 1de 1

if (config.getChildByName("rec").getAttribute("Clip") != "False") alert("config_rec_clip is wrong"); if (config.getChildByName("rec").getAttribute("ContentHeight") != 50) alert("config_rec_ContentHeight is wrong"); if (config.getChildByName("rec").getAttribute("ContentWidth") != 50) alert("config_rec_ContentWidth is wrong"); if (config.getChildByName("rec").getAttribute("Fill") !

= "#59AA47") alert("config_rec_Fill is wrong"); if (config.getChildByName("rec").getAttribute("Stroke") != "#59AA47") alert("config_rec_Stroke is wrong"); if (config.getChildByName("rec").getAttribute("StrokeDashArray") != 0) alert("config_rec_StrokeDashArray is wrong"); if (config.getChildByName("rec").getAttribute("StrokeWidth") != 1) alert("config_rec_StrokeWidth is wrong"); if (config.getChildByName("rec").getAttribute("Left") != 0) alert("config_rec_Left is wrong"); if (config.getChildByName("rec").getAttribute("RadiusX") != 10) alert("config_rec_RadiusX is wrong"); if (config.getChildByName("rec").getAttribute("RadiusY") != 10) alert("config_rec_RadiusY is wrong"); if (config.getChildByName("rec").getAttribute("Top") != 0) alert("config_rec_Top is wrong"); if (config.getChildByName("rec").getAttribute("Height") != 50) alert("config_rec_height is wrong"); if (config.getChildByName("rec").getAttribute("Width") != 50) alert("config_rec_width is wrong"); if (config.getChildByName("rec").getAttribute("FontFamily") != "Arial") alert("config_rec_FontFamily is wrong"); if (config.getChildByName("rec").getAttribute("FontSize") != 10) alert("config_rec_FontSize is wrong"); if (config.getChildByName("rec").getAttribute("FontStyle") != "Normal") alert("config_rec_FontStyle is wrong"); if (config.getChildByName("rec").getAttribute("FontWeight") != "Bold") alert("config_rec_FontWeight is wrong"); if (config.getChildByName("rec").getAttribute("HorizontalAlign") != "Left") alert("config_rec_HorizontalAlign is wrong"); if (config.getChildByName("rec").getAttribute("TextDecoration") != "None") alert("config_rec_TextDecoration is wrong"); if (config.getChildByName("rec").getAttribute("VerticalAlign") != "Middle") alert("config_rec_VerticalAlign is wrong");

Você também pode gostar