Class ccui.RichElementImage
- Defined in: UIRichText.js
- Extends ccui.RichElement
Constructor Attributes | Constructor Name and Description |
---|---|
The image element for RichText, it has filePath, textureRect, textureType attributes.
|
Method Summary
Class Detail
ccui.RichElementImage()
The image element for RichText, it has filePath, textureRect, textureType attributes.
Method Detail
-
Create a richElementImage
- Parameters:
- {Number} tag
- {cc.Color} color
- {Number} opacity
- {String} filePath
- Deprecated:
- since v3.0, please use new ccui.RichElementImage() instead.
- Returns:
- {ccui.RichElementImage}
-
ctor(tag, color, opacity, filePath)Constructor of ccui.RichElementImage
- Parameters:
- {Number} tag
- {cc.Color} color
- {Number} opacity
- {String} filePath
-
init(tag, color, opacity, filePath)Initializes a ccui.RichElementImage
- Parameters:
- {Number} tag
- {cc.Color} color
- {Number} opacity
- {String} filePath