Package com.naver.ads.video.player
Class TransformImageView
-
- All Implemented Interfaces:
-
android.graphics.drawable.Drawable.Callback,android.view.KeyEvent.Callback,android.view.accessibility.AccessibilityEventSource
public final class TransformImageView extends ImageView
an Imageview which can set TransformOption. setScaleType to ImageView.ScaleType.MATRIX to apply transformation.
-
-
Field Summary
Fields Modifier and Type Field Description private TransformOptiontransform
-
Constructor Summary
Constructors Constructor Description TransformImageView(Context context, AttributeSet attrs, Integer defStyleAttr)TransformImageView(Context context, AttributeSet attrs)TransformImageView(Context context)
-
Method Summary
Modifier and Type Method Description final TransformOptiongetTransform()set null to reset any transform(=Identity matrix) final UnitsetTransform(TransformOption transform)BooleansetFrame(Integer l, Integer t, Integer r, Integer b)UnitonLayout(Boolean changed, Integer left, Integer top, Integer right, Integer bottom)-
-
Constructor Detail
-
TransformImageView
TransformImageView(Context context, AttributeSet attrs, Integer defStyleAttr)
-
TransformImageView
TransformImageView(Context context, AttributeSet attrs)
-
TransformImageView
TransformImageView(Context context)
-
-
Method Detail
-
getTransform
final TransformOption getTransform()
set null to reset any transform(=Identity matrix)
-
setTransform
final Unit setTransform(TransformOption transform)
-
-
-
-