Package com.naver.ads.ui
Interface RoundCornerDecorator
-
- All Implemented Interfaces:
public interface RoundCornerDecoratorBase decorator for applying rounded corner to the View.
-
-
Method Summary
Modifier and Type Method Description abstract UnitsetCornerRadius(Float cornerRadius)Sets the radius for each corner. abstract UnitsetCornerRadius(Float topLeft, Float topRight, Float bottomRight, Float bottomLeft)Sets different radius for each corners. abstract UnitsetBorderColor(Integer borderColor)Sets the color to be used for the border line. abstract UnitsetBorderWidth(Float borderWidth)Sets the width that will be used for the border line. -
-
Method Detail
-
setCornerRadius
abstract Unit setCornerRadius(Float cornerRadius)
Sets the radius for each corner.
- Parameters:
cornerRadius- the radius for each corner to set.
-
setCornerRadius
abstract Unit setCornerRadius(Float topLeft, Float topRight, Float bottomRight, Float bottomLeft)
Sets different radius for each corners.
- Parameters:
topLeft- the radius of top-left cornertopRight- the radius of top-right cornerbottomRight- the radius of bottom-right cornerbottomLeft- the radius of bottom-left corner
-
setBorderColor
abstract Unit setBorderColor(Integer borderColor)
Sets the color to be used for the border line. By default
Color.Transparentis used.- Parameters:
borderColor- the color to be used for the border line.
-
setBorderWidth
abstract Unit setBorderWidth(Float borderWidth)
Sets the width that will be used for the border line. By default 0 is used.
-
-
-
-