org.foray.fotree.value
Class DtShadowEffectWrapper
java.lang.Object
org.foray.fotree.value.DtShadowEffectWrapper
- All Implemented Interfaces:
- org.axsl.common.value.ShadowEffect
public class DtShadowEffectWrapper
- extends Object
- implements org.axsl.common.value.ShadowEffect
Wraps a DtShadowEffect
instance with its context information so that
it can conform to the axsl interface.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DtShadowEffectWrapper
public DtShadowEffectWrapper(DtShadowEffect shadowEffect,
FObj fobj,
org.axsl.fo.FoContext context)
- Constructor.
- Parameters:
shadowEffect
- The wrapped shadow effect instance.fobj
- The FO to which the shadow effect is attached.context
- The FoContext for resolving context issues for the FO.
getHorizontalDistance
public int getHorizontalDistance()
- Specified by:
getHorizontalDistance
in interface org.axsl.common.value.ShadowEffect
getVerticalDistance
public int getVerticalDistance()
- Specified by:
getVerticalDistance
in interface org.axsl.common.value.ShadowEffect
getBlurRadius
public int getBlurRadius()
- Specified by:
getBlurRadius
in interface org.axsl.common.value.ShadowEffect
getColor
public Color getColor()
- Specified by:
getColor
in interface org.axsl.common.value.ShadowEffect
Copyright © 2017. All rights reserved.