Class NTxValueByName
java.lang.Object
net.thevpc.ntexup.api.eval.NTxValueByName
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic NTxBounds2Dstatic NTxBounds3Dstatic Booleanget3D(NTxRendererContext ctx) static net.thevpc.nuts.util.NOptional<Paint> getColorProperty(String propName, NTxRendererContext ctx) static intstatic intstatic double[]static doublestatic Colorstatic intstatic Fontstatic Stringstatic NtxFontInfostatic doublestatic PaintgetForegroundColor(NTxRendererContext ctx, boolean force) static NTxDouble2static NTxDouble2static PaintgetLineColor(NTxRendererContext ctx, boolean force) static NTxMarginstatic NTxValueCommonCachestatic NTxValueCommonCachestatic NTxValueFontCachestatic NTxValueFontCachestatic NTxValueSizeCachestatic NTxValueSizeCachestatic NTxDouble2getOrigin(NTxRendererContext ctx, NTxDouble2 a) static NTxMarginstatic NTxDouble2getPosition(NTxRendererContext ctx, NTxDouble2 a) static Booleanstatic NTxRotationstatic NTxDouble2static intstatic intstatic double[]static doublestatic net.thevpc.nuts.elem.NElementstatic net.thevpc.nuts.util.NOptional<NTxPoint2D> static NTxTextAlignstatic NTxTextWrapstatic booleanstatic booleanstatic booleanstatic booleanstatic booleanstatic booleanstatic booleanisLayoutNone(NTxNode node, NTxRendererContext ctx) static booleanprotected static booleanstatic booleanstatic NTxMarginparseMarginOrPadding(net.thevpc.nuts.elem.NElement elem, NTxSizeRef sr) static NTxOverflowResolves theNTxPropName.OVERFLOWpolicy of the current node, including theNTxPropName.OVERFLOW_MARGINandNTxPropName.OVERFLOW_FADEmodifiers.static net.thevpc.nuts.util.NOptional<NTxShadow> static booleanstatic booleanstatic Paintstatic PaintresolveContourColor(NTxRendererContext ctx, boolean force) static Paintstatic PaintresolveLineColor(NTxRendererContext ctx, boolean force) static NTxBounds2DselfBounds2D(NTxDouble2 selfSize, NTxDouble2 minSize, NTxRendererContext ctx) static NTxBounds3DselfBounds3D(NTxDouble3 selfSize, NTxDouble2 minSize, NTxRendererContext ctx)
-
Field Details
-
AUTO_FORCE
public static final boolean AUTO_FORCE- See Also:
-
-
Constructor Details
-
NTxValueByName
public NTxValueByName()
-
-
Method Details
-
getColorProperty
public static net.thevpc.nuts.util.NOptional<Paint> getColorProperty(String propName, NTxRendererContext ctx) -
isPreserveShapeRatio
-
getOrigin
-
getInnerOrigin
-
getInnerPosition
-
getRotation
-
getPosition
-
getStroke
-
defaultSelfBounds3D
-
defaultSelfBounds2D
-
selfBounds3D
public static NTxBounds3D selfBounds3D(NTxDouble3 selfSize, NTxDouble2 minSize, NTxRendererContext ctx) -
selfBounds2D
public static NTxBounds2D selfBounds2D(NTxDouble2 selfSize, NTxDouble2 minSize, NTxRendererContext ctx) -
isVisible
-
isLayoutNone
-
isLayoutNone
-
getFontSize
-
getFontFamily
-
isFontUnderlined
-
isFontStrike
-
isFontBold
-
isFontItalic
-
getTextWrap
-
getTextAlign
-
getNodeCommonNoCache
-
getNodeSizeNoCache
-
getNodeFontNoCache
-
getNodeCommonCache
-
getNodeSizeCache
-
getMargin
-
getPadding
-
parseMarginOrPadding
-
getNodeFontCache
-
getFont
-
getFontInfo
-
getRoundCornerArcs
-
getColSpan
-
getRowSpan
-
getColWeight
-
getRowWeight
-
getColumnsWeight
-
getRowsWeight
-
get3D
-
getRaised
-
readStyleAsShadow
public static net.thevpc.nuts.util.NOptional<NTxShadow> readStyleAsShadow(String s, NTxRendererContext ctx) -
readStyleAsOverflow
Resolves theNTxPropName.OVERFLOWpolicy of the current node, including theNTxPropName.OVERFLOW_MARGINandNTxPropName.OVERFLOW_FADEmodifiers. Never returnsnull; an unset property resolves toNTxOverflow.VISIBLE. -
getForegroundColor
-
getLineColor
-
resolveGridColor
-
resolveBackgroundColor
-
resolveLineColor
-
resolveContourColor
-
isDrawContour
-
requireDrawGrid
-
requireFillBackground
-
getColumns
-
getRows
-
isDebug
-
getDebugLevel
-
getDebugColor
-
getStyleAsShadowDistance
public static net.thevpc.nuts.util.NOptional<NTxPoint2D> getStyleAsShadowDistance(Object sv, NTxRendererContext ctx)
-