From 1ce0134f260fe056529599f851300dc9254d110d Mon Sep 17 00:00:00 2001 From: Jare Guo Date: Thu, 26 Apr 2018 19:20:35 +0800 Subject: [PATCH] fix api doc --- cocos2d/core/components/CCSprite.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cocos2d/core/components/CCSprite.js b/cocos2d/core/components/CCSprite.js index 9724918949..4889beb391 100644 --- a/cocos2d/core/components/CCSprite.js +++ b/cocos2d/core/components/CCSprite.js @@ -187,7 +187,7 @@ var Sprite = cc.Class({ * !#en The sprite render type. * !#zh 精灵渲染类型 * @property type - * @type {Sprite.SpriteType} + * @type {Sprite.Type} * @example * sprite.type = cc.Sprite.Type.SIMPLE; */ @@ -208,7 +208,7 @@ var Sprite = cc.Class({ * !#en * The fill type, This will only have any effect if the "type" is set to “cc.Sprite.Type.FILLED”. * !#zh - * 精灵填充类型,仅渲染类型设置为 cc.Sprite.SpriteType.FILLED 时有效。 + * 精灵填充类型,仅渲染类型设置为 cc.Sprite.Type.FILLED 时有效。 * @property fillType * @type {Sprite.FillType} * @example @@ -230,7 +230,7 @@ var Sprite = cc.Class({ * !#en * The fill Center, This will only have any effect if the "type" is set to “cc.Sprite.Type.FILLED”. * !#zh - * 填充中心点,仅渲染类型设置为 cc.Sprite.SpriteType.FILLED 时有效。 + * 填充中心点,仅渲染类型设置为 cc.Sprite.Type.FILLED 时有效。 * @property fillCenter * @type {Vec2} * @example @@ -251,7 +251,7 @@ var Sprite = cc.Class({ * !#en * The fill Start, This will only have any effect if the "type" is set to “cc.Sprite.Type.FILLED”. * !#zh - * 填充起始点,仅渲染类型设置为 cc.Sprite.SpriteType.FILLED 时有效。 + * 填充起始点,仅渲染类型设置为 cc.Sprite.Type.FILLED 时有效。 * @property fillStart * @type {Number} * @example @@ -273,7 +273,7 @@ var Sprite = cc.Class({ * !#en * The fill Range, This will only have any effect if the "type" is set to “cc.Sprite.Type.FILLED”. * !#zh - * 填充范围,仅渲染类型设置为 cc.Sprite.SpriteType.FILLED 时有效。 + * 填充范围,仅渲染类型设置为 cc.Sprite.Type.FILLED 时有效。 * @property fillRange * @type {Number} * @example