Cocos2d-x  v4
LayoutParameterProtocol Class Referenceabstract

Protocol for getting a LayoutParameter. More...

Inherited by Widget.

Public Member Functions

virtual ~LayoutParameterProtocol ()
 Default destructor.
 
virtual LayoutParametergetLayoutParameter () const =0
 

Detailed Description

Protocol for getting a LayoutParameter.

Every element want to have layout parameter should inherit from this class.

Member Function Documentation

◆ getLayoutParameter()

virtual LayoutParameter* getLayoutParameter ( ) const
pure virtual
Returns
A LayoutParameter and its descendant pointer.

Implemented in Widget.


The documentation for this class was generated from the following file: