当前位置:K88软件开发文章中心编程语言APP编程CrossApp → 文章内容

CAView

减小字体 增大字体 作者:佚名  来源:网上搜集  发布时间:2019-1-23 13:52:53

:类型参数名说明floatvertexZ顶点z轴值解释:顶点z轴值virtual float getVertexZ();返回值:float参数:解释:获取顶点z轴值virtual void setScaleX(float fScaleX);返回值:void参数:类型参数名说明floatfScaleXX轴缩放解释:设置X轴缩放virtual float getScaleX();返回值:float参数:解释:获取X轴缩放virtual void setScaleY(float fScaleY);返回值:void参数:类型参数名说明floatfScaleYY轴缩放解释:设置Y轴缩放virtual float getScaleY();返回值:float参数:解释:获取Y轴缩放virtual void setScale(float scale);返回值:void参数:类型参数名说明floatscale缩放解释:设置缩放virtual float getScale();返回值:float参数:解释:获取缩放virtual void setScale(float fScaleX,float fScaleY);返回值:void参数:类型参数名说明floatfScaleX缩放X轴floatfScaleY缩放Y轴解释:设置缩放,并指定其X轴Y轴virtual void setSkewX(float fSkewX);返回值:void参数:类型参数名说明floatfSkewXX倾斜解释:设置X倾斜virtual float getSkewX();返回值:float参数:解释:获取X倾斜virtual void setSkewY(float fSkewY);返回值:void参数:类型参数名说明floatfSkewYY倾斜解释:设置Y倾斜virtual float getSkewY();返回值:float参数:解释:获取Y倾斜void setAnchorPoint(const DPoint& anchorPoint);返回值:void参数:类型参数名说明DPoint&anchorPoint锚点解释:设置锚点const DPoint& getAnchorPoint();返回值:DPoint&参数:解释:获取锚点void setAnchorPointInPoints(const DPoint& anchorPointInPoints);返回值:void参数:类型参数名说明DPoint&anchorPointInPoints锚点的点解释:设置锚点的点const DPoint& getAnchorPointInPoints();返回值:DPoint&参数:解释:获取锚点的点virtual void setFrame(const DRect& rect);返回值:void参数:类型参数名说明DRect&rect区域大小解释:设置Framevirtual const DRect& getFrame() const;返回值:DRect&参数:解释:获取Framevirtual void setFrameOrigin(const DPoint& point);返回值:void参数:类型参数名说明DPoint&point轴值解释:设置Frame轴值virtual const DPoint& getFrameOrigin();返回值:DPoint&参数:解释:获取Frame轴值virtual void setCenter(const DRect& rect);返回值:void参数:类型参数名说明DRect&rect中心点大小解释:设置Centervirtual DRect getCenter();返回值:DRect参数:解释:获取Centervirtual void setBounds(const DRect& rect);返回值:void参数:类型参数名说明DRect&rect边界大小解释:设置边界virtual DRect getBounds() const;返回值:DRect参数:解释:获取边界virtual void setCenterOrigin(const DPoint& point);返回值:void参数:类型参数名说明DPoint&point轴值解释:设置Center轴值virtual DPoint getCenterOrigin();返回值:DPoint参数:解释:获取Center轴值virtual void setVisible(bool visible);返回值:void参数:类型参数名说明boolvisible是否可见 解释:设置是否可见virtual bool isVisible();返回值:bool参数:解释:查看是否可见virtual void setRotation(float fRotation);返回值:void参数:类型参数名说明floatfRotation旋转角度解释:设置旋转,并指定角度virtual float getRotation();返回值:float参数:解释:获取旋转角度virtual void setRotationX(float fRotaionX);返回值:void参数:类型参数名说明floatfRotaionXX轴旋转角度解释:设置X轴旋转,并指定角度virtual float getRotationX();返回值:float参数: 解释:获取X周旋转角度virtual void setRotationY(float fRotationY);返回值:void参数:类型参数名说明floatfRotationYY轴旋转角度解释:设置Y轴旋转,并指定角度virtual float getRotationY();返回值:float参数:解释:获取Y轴旋转角度virtual void addSubview(CAView * child);返回值:void参数:类型参数名说明CAView*child子视图解释:将子视图添加进当前视图virtual void insertSubview(CAView* subview, int z);返回值:void参数:类型参数名说明CAView*subview子视图intzZ轴值解释:将子视图添加进当前视图,并指定一个Z轴值virtual CAView * getSubviewByTag(int tag);返回值:CAView* 参数:类型参数名说明inttag标签解释:通过 tag 获取子视图virtual CAView * getSubviewByTextTag(const std::string& textTag);返回值:CAView*参数:类型参数名说明std::string&textTag文本标签解释:通过 TextTag 获取子视图virtual const CAVector<CAView*>& getSubviews();返回值:CAVector<CAView*>&参数:解释:获取子视图的集合virtual unsigned int getSubviewsCount(void) const;返回值:unsigned int参数:解释:获取子视图数量virtual void setSuperview(CAView* superview);返回值:void参数:类型参数名说明CAView*superview视图解释:设置视图virtual CAView* getSuperview();返回值:CAView*参数:解释:获取视图virtual void removeFromSuperview();返回值:void参数:解释:从父视图移除virtual void removeSubview(CAView* subview);返回值:void参数:类型参数名说明CAView*subview子视图解释:删除子视图virtual void removeSubviewByTag(int tag);返回值:void参数:类型参数名说明inttag标签解释:删除子视图,根据tagvirtual void removeSubviewByTextTag(const std::string& textTag);返回值:void参数:类型参数名说明std::string&textTag文本标签解释:删除子视图,根据TextTagvirtual void removeAllSubviews();返回值:void参数:解释:移除当前视图的所有子视图virtual void reorderSubview(CAView * child, int zOrder);返回值:void参数:类型参数名说明CAView*child子视图intzOrderz轴值解释:记录子视图与对应的标签值virtual void sortAllSubviews();返回值:void参数:解释:对当前视图的所有子视图进行排序virtual bool isRunning();返回值:bool参数:解释:查看是否运行virtual void onEnter();返回值:void参数:解释:进入virtual void onEnterTransitionDidFinish();返回值:void参数:解释:当图像加载时

上一页  [1] [2] [3]  下一页


CAView