wrap a interface for outline effect