biimage.xml

来自「ajax 框价.是个好工具.javascript 矿家.可以用在任何平台.」· XML 代码 · 共 85 行

XML
85
字号
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="api.xsl"?><class name="BiImage" extends="BiComponent">	<description>This class is used for showing images.<br>		</br>		<br>		</br> Supported image types are GIF, JPEG and PNG (including support for 32-bit RGBA).</description>	<arguments>		<argument name="oUri" optional="true">			<description>The location of the file relative to the <link class="BiApplication" field="adfPath">ADF path</link>. </description>			<type>				<link class="BiUri">BiUri</link>			</type>		</argument>		<argument name="nWidth" optional="true">			<description>The width of the image in pixels. A value of null gives the component its desired width. </description>			<type>Number</type>		</argument>		<argument name="nHeight" optional="true">			<description>The height of the image in pixels. A value of null gives the component its desired height. </description>			<type>Number</type>		</argument>	</arguments>	<staticMethods>		<method name="fromUri">			<description>Returns a new<link class="BiImage">BiImage</link> from the given URI</description>			<arguments>				<argument name="oUri">					<description>The location of the image file</description>					<type>						<link class="BiUri">BiUri</link>					</type>				</argument>			</arguments>			<returns>				<type>					<link class="BiImage">BiImage</link>				</type>			</returns>		</method>	</staticMethods>	<staticFields>		<field name="BLANK_IMAGE_URI">			<description>The location of a blank image</description>			<type>String</type>		</field>	</staticFields>	<methods>	</methods>	<properties>		<property name="uri" get="true" set="true">			<description>The location of the image file. If this is set to a string a new URI is created from that string relative to the <link class="BiApplication" field="adfPath">ADF path</link>.</description>			<type>				<link class="BiUri">BiUri</link>			</type>		</property>		<property name="loaded" get="true">			<description>Whether the image file is loaded</description>			<type>Boolean</type>		</property>	</properties>	<events>		<event name="load">			<description>Fires when the image loads. Note that the image file may be 							loaded before the constructor finishes and you should not only                          rely on this event but also use <link>loaded</link> property.</description>			<type>				<link class="BiEvent">BiEvent</link>			</type>		</event>		<event name="error">			<description>Fires when the image failed to load.</description>			<type>				<link class="BiEvent">BiEvent</link>			</type>		</event>	</events>	<remarks>When using PNG images it is recommended not to change the 			<link filed="opacity" class="BiComponent">opacity</link> 			because Internet Explorer cannot support the combination of these.</remarks></class>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?