Uses of Class
org.logicng.io.graphical.GraphicalColor
-
Packages that use GraphicalColor Package Description org.logicng.io.graphical org.logicng.io.graphical.generators -
-
Uses of GraphicalColor in org.logicng.io.graphical
Fields in org.logicng.io.graphical declared as GraphicalColor Modifier and Type Field Description static GraphicalColorGraphicalColor. BLACKstatic GraphicalColorGraphicalColor. BLUEstatic GraphicalColorGraphicalColor. CYANstatic GraphicalColorGraphicalColor. GRAY_DARKstatic GraphicalColorGraphicalColor. GRAY_LIGHTstatic GraphicalColorGraphicalColor. GREENstatic GraphicalColorGraphicalColor. ORANGEstatic GraphicalColorGraphicalColor. PURPLEstatic GraphicalColorGraphicalColor. REDstatic GraphicalColorGraphicalColor. TURQUOISEstatic GraphicalColorGraphicalColor. WHITEstatic GraphicalColorGraphicalColor. YELLOWMethods in org.logicng.io.graphical that return GraphicalColor Modifier and Type Method Description GraphicalColorGraphicalRepresentation. getBackground()Returns the background color (only possible in DOT output).GraphicalColorGraphicalNodeStyle. getBackgroundColor()Returns the background color of this node style.GraphicalColorGraphicalEdgeStyle. getColor()Returns the color of this edge style.GraphicalColorGraphicalNodeStyle. getStrokeColor()Returns the stroke color of this node style.GraphicalColorGraphicalNodeStyle. getTextColor()Returns the text color of this node style.static GraphicalColorGraphicalColor. hex(String hexValue)Constructs a new color from a hex value.static GraphicalColorGraphicalColor. rgb(int red, int green, int blue)Constructs a new color from an RGB value.Methods in org.logicng.io.graphical with parameters of type GraphicalColor Modifier and Type Method Description static GraphicalEdgeStyleGraphicalEdgeStyle. bold(GraphicalColor color)Constructs a new bold edge style with a color.static GraphicalNodeStyleGraphicalNodeStyle. circle(GraphicalColor strokeColor, GraphicalColor textColor, GraphicalColor backgroundColor)Constructs a new circle node style with the given values.static GraphicalEdgeStyleGraphicalEdgeStyle. dotted(GraphicalColor color)Constructs a new dotted edge style with a color.static GraphicalNodeStyleGraphicalNodeStyle. ellipse(GraphicalColor strokeColor, GraphicalColor textColor, GraphicalColor backgroundColor)Constructs a new ellipse node style with the given values.static GraphicalNodeStyleGraphicalNodeStyle. rectangle(GraphicalColor strokeColor, GraphicalColor textColor, GraphicalColor backgroundColor)Constructs a new rectangle node style with the given values.static GraphicalEdgeStyleGraphicalEdgeStyle. solid(GraphicalColor color)Constructs a new solid edge style with a color.static GraphicalEdgeStyleGraphicalEdgeStyle. style(GraphicalEdgeStyle.EdgeType type, GraphicalColor color)Constructs a new edge style with a given edge type and color.static GraphicalNodeStyleGraphicalNodeStyle. style(GraphicalNodeStyle.Shape shape, GraphicalColor strokeColor, GraphicalColor textColor, GraphicalColor backgroundColor)Constructs a new node style with the given values.Constructors in org.logicng.io.graphical with parameters of type GraphicalColor Constructor Description GraphicalRepresentation(boolean alignTerminals, boolean directed, GraphicalColor background)Generates a new graphical representation with the given values.GraphicalRepresentation(boolean alignTerminals, boolean directed, GraphicalColor background, List<GraphicalNode> nodes, List<GraphicalEdge> edges)Generates a new graphical representation with the given values. -
Uses of GraphicalColor in org.logicng.io.graphical.generators
Fields in org.logicng.io.graphical.generators declared as GraphicalColor Modifier and Type Field Description protected GraphicalColorGraphicalGenerator. backgroundColorprotected GraphicalColorGraphicalGeneratorBuilder. backgroundColorMethods in org.logicng.io.graphical.generators with parameters of type GraphicalColor Modifier and Type Method Description GraphicalGeneratorBuilder<T,C>GraphicalGeneratorBuilder. backgroundColor(GraphicalColor color)Sets the background color for the graph.Constructors in org.logicng.io.graphical.generators with parameters of type GraphicalColor Constructor Description GraphicalGenerator(GraphicalColor backgroundColor, boolean alignTerminals, GraphicalEdgeStyle defaultEdgeStyle, GraphicalNodeStyle defaultNodeStyle, NodeStyleMapper<C> nodeStyleMapper, LabelMapper<C> labelMapper, EdgeStyleMapper<C> edgeStyleMapper)
-