Uses of Interface
net.thevpc.ntexup.api.renderer.NTxRendererContext
Packages that use NTxRendererContext
Package
Description
-
Uses of NTxRendererContext in net.thevpc.ntexup.api.document.node
Methods in net.thevpc.ntexup.api.document.node with parameters of type NTxRendererContextModifier and TypeMethodDescriptionstatic voidNTxHighlights.paintWholeNode(NTxNode node, NTxRendererContext ctx) Paints everywhole-nodespan of the node over its layout bounds. -
Uses of NTxRendererContext in net.thevpc.ntexup.api.engine
Methods in net.thevpc.ntexup.api.engine with parameters of type NTxRendererContextModifier and TypeMethodDescriptionvoidNTxNodeBuilderContext.RenderTextBuildAction.buildText(String text, NTxTextOptions options, NTxRendererContext rendererContext, NTxTextRendererBuilder builder) NTxNodeBuilderContext.RenderConvertAction.convert(NTxNode p, NTxRendererContext ctx) voidNTxNodeBuilderContext.RenderAction.renderMain(NTxRendererContext rendererContext) NTxNodeBuilderContext.SelfBounds2DAction.selfBounds2D(NTxRendererContext rendererContext) NTxNodeBuilderContext.SelfBounds3DAction.selfBounds3D(NTxRendererContext rendererContext) NTxNodeBuilderContext.SizeRequirementsAction.sizeRequirements(NTxRendererContext rendererContext) -
Uses of NTxRendererContext in net.thevpc.ntexup.api.eval
Methods in net.thevpc.ntexup.api.eval with parameters of type NTxRendererContextModifier and TypeMethodDescriptionstatic NTxBounds2DNTxValueByName.defaultSelfBounds2D(NTxRendererContext ctx) static NTxBounds3DNTxValueByName.defaultSelfBounds3D(NTxRendererContext ctx) static BooleanNTxValueByName.get3D(NTxRendererContext ctx) static net.thevpc.nuts.util.NOptional<NTxArrow> NTxValueByType.getArrow(NTxRendererContext ctx, String propName, String... propNames) static net.thevpc.nuts.util.NOptional<NTxArrowType> NTxValueByType.getArrowType(NTxRendererContext ctx, String propName, String... propNames) static net.thevpc.nuts.util.NOptional<Boolean> NTxValueByType.getBoolean(NTxRendererContext ctx, String propName) static net.thevpc.nuts.util.NOptional<Boolean> NTxValueByType.getBoolean(NTxRendererContext ctx, String propName, String... propNames) static net.thevpc.nuts.util.NOptional<Color> NTxValueByType.getColor(NTxRendererContext ctx, String propName, String... propNames) static net.thevpc.nuts.util.NOptional<Paint> NTxValueByName.getColorProperty(String propName, NTxRendererContext ctx) static intNTxValueByName.getColSpan(NTxRendererContext ctx) static intNTxValueByName.getColumns(NTxRendererContext ctx) static double[]NTxValueByName.getColumnsWeight(NTxRendererContext ctx) static doubleNTxValueByName.getColWeight(NTxRendererContext ctx) static ColorNTxValueByName.getDebugColor(NTxRendererContext ctx) static intNTxValueByName.getDebugLevel(NTxRendererContext ctx) static net.thevpc.nuts.util.NOptional<Double> NTxValueByType.getDouble(NTxRendererContext ctx, String s) static net.thevpc.nuts.util.NOptional<Double> NTxValueByType.getDouble(NTxRendererContext ctx, String s, String... synonyms) static net.thevpc.nuts.util.NOptional<NTxDouble2> NTxValueByType.getDouble2(NTxRendererContext ctx, String s) static net.thevpc.nuts.util.NOptional<NTxDouble2> NTxValueByType.getDouble2OrHAlign(NTxRendererContext ctx, String s) static net.thevpc.nuts.util.NOptional<NTxDouble4> NTxValueByType.getDouble4(NTxRendererContext ctx, String s) static net.thevpc.nuts.util.NOptional<double[]> NTxValueByType.getDoubleArray(NTxRendererContext ctx, String s) static net.thevpc.nuts.util.NOptional<double[]> NTxValueByType.getDoubleArray(NTxRendererContext ctx, String s, String... synonyms) static net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NElement> NTxValueByType.getElement(NTxRendererContext ctx, String s) static FontNTxValueByName.getFont(NTxRendererContext ctx) static StringNTxValueByName.getFontFamily(NTxRendererContext ctx) static NtxFontInfoNTxValueByName.getFontInfo(NTxRendererContext ctx) static doubleNTxValueByName.getFontSize(NTxRendererContext ctx) static PaintNTxValueByName.getForegroundColor(NTxRendererContext ctx, boolean force) static NTxDouble2NTxValueByName.getInnerOrigin(NTxRendererContext ctx) static NTxDouble2NTxValueByName.getInnerPosition(NTxRendererContext ctx) static net.thevpc.nuts.util.NOptional<Integer> NTxValueByType.getInt(NTxRendererContext ctx, String propName) static net.thevpc.nuts.util.NOptional<Integer> NTxValueByType.getInt(NTxRendererContext ctx, String propName, String... propNames) static net.thevpc.nuts.util.NOptional<Integer> NTxValueByType.getIntOrBoolean(NTxRendererContext ctx, String propName, String... propNames) static PaintNTxValueByName.getLineColor(NTxRendererContext ctx, boolean force) static NTxMarginNTxValueByName.getMargin(NTxRendererContext ctx) static net.thevpc.nuts.util.NOptional<NTxMargin> NTxValueByType.getMargin(NTxRendererContext ctx, String s) static net.thevpc.nuts.util.NOptional<NTxElemNumber2> NTxValueByType.getNNumberElement2Or1OrHAlign(NTxRendererContext ctx, String s) static net.thevpc.nuts.util.NOptional<NTxElemNumber2> NTxValueByType.getNNumberElement2Or1OrHAlign(NTxRendererContext ctx, String s, String... synonyms) static NTxValueCommonCacheNTxValueByName.getNodeCommonCache(NTxRendererContext ctx) static NTxValueCommonCacheNTxValueByName.getNodeCommonNoCache(NTxRendererContext ctx) static NTxValueFontCacheNTxValueByName.getNodeFontCache(NTxRendererContext ctx) static NTxValueFontCacheNTxValueByName.getNodeFontNoCache(NTxRendererContext ctx) static NTxValueSizeCacheNTxValueByName.getNodeSizeCache(NTxRendererContext ctx) static NTxValueSizeCacheNTxValueByName.getNodeSizeNoCache(NTxRendererContext ctx) static NTxDouble2NTxValueByName.getOrigin(NTxRendererContext ctx, NTxDouble2 a) static NTxMarginNTxValueByName.getPadding(NTxRendererContext ctx) static net.thevpc.nuts.util.NOptional<Paint> NTxValueByType.getPaint(NTxRendererContext ctx, String propName, String... propNames) static NTxDouble2NTxValueByName.getPosition(NTxRendererContext ctx, NTxDouble2 a) static BooleanNTxValueByName.getRaised(NTxRendererContext ctx) static NTxRotationNTxValueByName.getRotation(NTxRendererContext ctx) static net.thevpc.nuts.util.NOptional<NTxRotation> NTxValueByType.getRotation(NTxRendererContext ctx, String s) static NTxDouble2NTxValueByName.getRoundCornerArcs(NTxRendererContext ctx) static intNTxValueByName.getRows(NTxRendererContext ctx) static intNTxValueByName.getRowSpan(NTxRendererContext ctx) static double[]NTxValueByName.getRowsWeight(NTxRendererContext ctx) static doubleNTxValueByName.getRowWeight(NTxRendererContext ctx) static net.thevpc.nuts.util.NOptional<String> NTxValueByType.getStringOrName(NTxRendererContext ctx, String propName) static net.thevpc.nuts.util.NOptional<String> NTxValueByType.getStringOrName(NTxRendererContext ctx, String propName, String... synonyms) static net.thevpc.nuts.elem.NElementNTxValueByName.getStroke(NTxRendererContext ctx) static net.thevpc.nuts.util.NOptional<NTxPoint2D> NTxValueByName.getStyleAsShadowDistance(Object sv, NTxRendererContext ctx) static NTxTextAlignNTxValueByName.getTextAlign(NTxRendererContext ctx) static net.thevpc.nuts.util.NOptional<NTxTextAlign> NTxValueByType.getTextAlign(NTxRendererContext ctx) static NTxTextWrapNTxValueByName.getTextWrap(NTxRendererContext ctx) static net.thevpc.nuts.util.NOptional<NTxTextWrap> NTxValueByType.getTextWrap(NTxRendererContext ctx) static booleanNTxValueByName.isDebug(NTxRendererContext ctx) static booleanNTxValueByName.isDrawContour(NTxRendererContext ctx) static booleanNTxValueByName.isFontBold(NTxRendererContext ctx) static booleanNTxValueByName.isFontItalic(NTxRendererContext ctx) static booleanNTxValueByName.isFontStrike(NTxRendererContext ctx) static booleanNTxValueByName.isFontUnderlined(NTxRendererContext ctx) static booleanNTxValueByName.isLayoutNone(NTxNode node, NTxRendererContext ctx) static booleanNTxValueByName.isLayoutNone(NTxRendererContext ctx) protected static booleanNTxValueByName.isPreserveShapeRatio(NTxRendererContext ctx) static booleanNTxValueByName.isVisible(NTxRendererContext ctx) static NTxOverflowNTxValueByName.readStyleAsOverflow(NTxRendererContext ctx) Resolves theNTxPropName.OVERFLOWpolicy of the current node, including theNTxPropName.OVERFLOW_MARGINandNTxPropName.OVERFLOW_FADEmodifiers.static net.thevpc.nuts.util.NOptional<NTxShadow> NTxValueByName.readStyleAsShadow(String s, NTxRendererContext ctx) static booleanNTxValueByName.requireDrawGrid(NTxRendererContext ctx) static booleanNTxValueByName.requireFillBackground(NTxRendererContext ctx) static PaintNTxValueByName.resolveBackgroundColor(NTxRendererContext ctx) static PaintNTxValueByName.resolveContourColor(NTxRendererContext ctx, boolean force) static PaintNTxValueByName.resolveGridColor(NTxRendererContext ctx) static PaintNTxValueByName.resolveLineColor(NTxRendererContext ctx, boolean force) static NTxBounds2DNTxValueByName.selfBounds2D(NTxDouble2 selfSize, NTxDouble2 minSize, NTxRendererContext ctx) static NTxBounds3DNTxValueByName.selfBounds3D(NTxDouble3 selfSize, NTxDouble2 minSize, NTxRendererContext ctx) -
Uses of NTxRendererContext in net.thevpc.ntexup.api.renderer
Methods in net.thevpc.ntexup.api.renderer that return NTxRendererContextModifier and TypeMethodDescriptionNTxRendererContext.dryMode()NTxRendererContext.popNode()NTxRendererContext.resolveNode(NTxNode node) ///////NTxRendererContext.resolveNode(NTxNode node, NTxBounds2D parentBounds) NTxRendererContext.withBuilderContext(NTxNodeBuilderContext builderContext) NTxRendererContext.withDefaultStyles(NTxProperties defaultStyles) NTxRendererContext.withElement(net.thevpc.nuts.elem.NElement element) NTxRendererContext.withGraphics(NTxGraphics graphics) NTxRendererContext.withParentBounds(NTxBounds2D bounds2) NTxRendererContext.withRealBounds3D(NTxBounds3D realBounds3D) NTxRendererContext.withRealGlobalBounds3D(NTxBounds3D realGlobalBounds3D) Methods in net.thevpc.ntexup.api.renderer with parameters of type NTxRendererContextModifier and TypeMethodDescriptionNTxRendererContext.bounds(NTxRendererContext ctx) voidNTxNodeRenderer.render(NTxRendererContext rendererContext) NTxNodeRenderer.selfBounds2D(NTxRendererContext ctx) NTxNodeRenderer.selfBounds3D(NTxRendererContext ctx) NTxNodeRenderer.sizeRequirements(NTxRendererContext ctx) Method parameters in net.thevpc.ntexup.api.renderer with type arguments of type NTxRendererContextModifier and TypeMethodDescriptiondefault voidNTxRendererContext.withinClip(Shape shape, Consumer<NTxRendererContext> body) Same asNTxRendererContext.withinClip(NTxBounds2D, Consumer)but clips to an arbitrary shape.default voidNTxRendererContext.withinClip(NTxBounds2D bounds, Consumer<NTxRendererContext> body) Runsbodywith a renderer context whose graphics is clipped tobounds, then restores (disposes) the clip. -
Uses of NTxRendererContext in net.thevpc.ntexup.api.renderer.text
Methods in net.thevpc.ntexup.api.renderer.text that return NTxRendererContextMethods in net.thevpc.ntexup.api.renderer.text with parameters of type NTxRendererContextModifier and TypeMethodDescriptionvoidNTxTextRendererBuilder.appendCustom(String lang, String rawText, NTxTextOptions options, NTxRendererContext ctx) voidNTxTextRendererBuilder.appendNText(String lang, String rawText, net.thevpc.nuts.text.NText text, NTxRendererContext ctx) voidNTxTextRendererBuilder.appendPlain(String text, NTxRendererContext ctx) voidNTxTextRendererBuilder.appendText(String rawText, NTxTextOptions options, NTxRendererContext ctx) voidNTxTextRendererFlavor.buildText(String text, NTxTextOptions options, NTxRendererContext ctx, NTxTextRendererBuilder builder) NTxTextRendererBuilder.computeBound(NTxRendererContext ctx) voidNTxTextRendererBuilder.render(NTxNode p, NTxRendererContext ctx, NTxBounds2D bgBounds, NTxBounds2D selfBounds) -
Uses of NTxRendererContext in net.thevpc.ntexup.api.util
Methods in net.thevpc.ntexup.api.util with parameters of type NTxRendererContextModifier and TypeMethodDescriptionstatic ColorNTxColors.resolveDefaultColorByIndex(int index, Color[] colors, NTxRendererContext ctx) static PaintNTxUtils.resolveForegroundColor(NTxTextOptions options, NTxRendererContext ctx)