Uses of Class
javafx.scene.paint.Paint
-
Packages that use Paint 软件包 描述 javafx.css 提供API,通过CSS使属性变得风格,并支持伪类状态。javafx.css.converter 提供各种转换CSS解析值的StyleConverter
类。javafx.scene 为JavaFX Scene Graph API提供核心的基类集。javafx.scene.canvas 为canvas提供一组类,即渲染API的立即模式样式。javafx.scene.chart JavaFX用户界面提供了一组图表组件,这是一种非常方便的数据可视化方式。javafx.scene.control JavaFX用户界面控件(UI控件或仅控件)是JavaFX场景中的专用节点,特别适用于许多不同应用程序环境中的重用。javafx.scene.control.skin javafx.scene.control.skin包是皮肤类(通常每个UI控件一个)所在的位置javafx.scene.effect 提供一组用于将图形过滤效果附加到JavaFX Scene Graph节点的类。javafx.scene.layout 提供类来支持用户界面布局。javafx.scene.paint 提供用于在渲染场景图时填充形状和背景的颜色和渐变类的集合。javafx.scene.shape 提供一组2D类,用于定义和执行与二维几何相关的对象的操作。javafx.scene.text 为字体和可渲染的文本节点提供一组类。 -
-
Uses of Paint in javafx.css
Methods in javafx.css that return types with arguments of type Paint Modifier and Type 方法 描述 CssMetaData<S,Paint>
StyleablePropertyFactory. createPaintCssMetaData(String property, Function<S,StyleableProperty<Paint>> function)
使用Color.BLACK的初始值创建一个CssMetaData <S,Paint>,并将标志默认为false。CssMetaData<S,Paint>
StyleablePropertyFactory. createPaintCssMetaData(String property, Function<S,StyleableProperty<Paint>> function, Paint initialValue)
创建具有初始值的CssMetaData <S,Paint>,并将标志默认为false。CssMetaData<S,Paint>
StyleablePropertyFactory. createPaintCssMetaData(String property, Function<S,StyleableProperty<Paint>> function, Paint initialValue, boolean inherits)
用初始值创建一个CssMetaData <S,Paint>并继承标志。StyleableProperty<Paint>
StyleablePropertyFactory. createStyleablePaintProperty(S styleable, String propertyName, String cssProperty)
使用先前创建的给定的cssProperty
创建一个StyleableProperty <Paint>。StyleableProperty<Paint>
StyleablePropertyFactory. createStyleablePaintProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Paint>> function)
创建一个StyleableProperty <Paint>。StyleableProperty<Paint>
StyleablePropertyFactory. createStyleablePaintProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Paint>> function, Paint initialValue)
创建一个具有初始值的StyleableProperty <Paint>。StyleableProperty<Paint>
StyleablePropertyFactory. createStyleablePaintProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Paint>> function, Paint initialValue, boolean inherits)
创建一个具有初始值的StyleableProperty <Paint>并继承标志。static StyleConverter<ParsedValue<?,Paint>,Paint>
StyleConverter. getPaintConverter()
返回一个StyleConverter
,其转换解析后的表示Paint
为Paint
。static StyleConverter<ParsedValue<?,Paint>,Paint>
StyleConverter. getPaintConverter()
返回一个StyleConverter
,其转换解析后的表示Paint
为Paint
。Methods in javafx.css with parameters of type Paint Modifier and Type 方法 描述 CssMetaData<S,Paint>
StyleablePropertyFactory. createPaintCssMetaData(String property, Function<S,StyleableProperty<Paint>> function, Paint initialValue)
创建具有初始值的CssMetaData <S,Paint>,并将标志默认为false。CssMetaData<S,Paint>
StyleablePropertyFactory. createPaintCssMetaData(String property, Function<S,StyleableProperty<Paint>> function, Paint initialValue, boolean inherits)
用初始值创建一个CssMetaData <S,Paint>并继承标志。StyleableProperty<Paint>
StyleablePropertyFactory. createStyleablePaintProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Paint>> function, Paint initialValue)
创建一个具有初始值的StyleableProperty <Paint>。StyleableProperty<Paint>
StyleablePropertyFactory. createStyleablePaintProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Paint>> function, Paint initialValue, boolean inherits)
创建一个具有初始值的StyleableProperty <Paint>并继承标志。Method parameters in javafx.css with type arguments of type Paint Modifier and Type 方法 描述 CssMetaData<S,Paint>
StyleablePropertyFactory. createPaintCssMetaData(String property, Function<S,StyleableProperty<Paint>> function)
使用Color.BLACK的初始值创建一个CssMetaData <S,Paint>,并将标志默认为false。CssMetaData<S,Paint>
StyleablePropertyFactory. createPaintCssMetaData(String property, Function<S,StyleableProperty<Paint>> function, Paint initialValue)
创建具有初始值的CssMetaData <S,Paint>,并将标志默认为false。CssMetaData<S,Paint>
StyleablePropertyFactory. createPaintCssMetaData(String property, Function<S,StyleableProperty<Paint>> function, Paint initialValue, boolean inherits)
用初始值创建一个CssMetaData <S,Paint>并继承标志。StyleableProperty<Paint>
StyleablePropertyFactory. createStyleablePaintProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Paint>> function)
创建一个StyleableProperty <Paint>。StyleableProperty<Paint>
StyleablePropertyFactory. createStyleablePaintProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Paint>> function, Paint initialValue)
创建一个具有初始值的StyleableProperty <Paint>。StyleableProperty<Paint>
StyleablePropertyFactory. createStyleablePaintProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Paint>> function, Paint initialValue, boolean inherits)
创建一个具有初始值的StyleableProperty <Paint>并继承标志。 -
Uses of Paint in javafx.css.converter
Methods in javafx.css.converter that return Paint Modifier and Type 方法 描述 Paint
PaintConverter. convert(ParsedValue<ParsedValue<?,Paint>,Paint> value, Font font)
Paint
PaintConverter.ImagePatternConverter. convert(ParsedValue<ParsedValue[],Paint> value, Font font)
Paint
PaintConverter.LinearGradientConverter. convert(ParsedValue<ParsedValue[],Paint> value, Font font)
Paint
PaintConverter.RadialGradientConverter. convert(ParsedValue<ParsedValue[],Paint> value, Font font)
Paint
PaintConverter.RepeatingImagePatternConverter. convert(ParsedValue<ParsedValue[],Paint> value, Font font)
Paint[]
PaintConverter.SequenceConverter. convert(ParsedValue<ParsedValue<?,Paint>[],Paint[]> value, Font font)
Methods in javafx.css.converter that return types with arguments of type Paint Modifier and Type 方法 描述 static StyleConverter<ParsedValue<?,Paint>,Paint>
PaintConverter. getInstance()
static StyleConverter<ParsedValue<?,Paint>,Paint>
PaintConverter. getInstance()
Method parameters in javafx.css.converter with type arguments of type Paint Modifier and Type 方法 描述 Paint
PaintConverter. convert(ParsedValue<ParsedValue<?,Paint>,Paint> value, Font font)
Paint
PaintConverter. convert(ParsedValue<ParsedValue<?,Paint>,Paint> value, Font font)
Paint
PaintConverter.ImagePatternConverter. convert(ParsedValue<ParsedValue[],Paint> value, Font font)
Paint
PaintConverter.LinearGradientConverter. convert(ParsedValue<ParsedValue[],Paint> value, Font font)
Paint
PaintConverter.RadialGradientConverter. convert(ParsedValue<ParsedValue[],Paint> value, Font font)
Paint
PaintConverter.RepeatingImagePatternConverter. convert(ParsedValue<ParsedValue[],Paint> value, Font font)
-
Uses of Paint in javafx.scene
Methods in javafx.scene that return Paint Modifier and Type 方法 描述 Paint
Scene. getFill()
获取属性填充的值。Paint
SnapshotParameters. getFill()
获取当前填充。Paint
SubScene. getFill()
获取属性填充的值。Methods in javafx.scene that return types with arguments of type Paint Modifier and Type 方法 描述 ObjectProperty<Paint>
Scene. fillProperty()
定义此Scene
的背景填充。ObjectProperty<Paint>
SubScene. fillProperty()
定义此SubScene
的背景填充。Methods in javafx.scene with parameters of type Paint Modifier and Type 方法 描述 void
Scene. setFill(Paint value)
设置属性填充的值。void
SnapshotParameters. setFill(Paint fill)
将填充设置为指定的值。void
SubScene. setFill(Paint value)
设置属性填充的值。Constructors in javafx.scene with parameters of type Paint Constructor 描述 Scene(Parent root, double width, double height, Paint fill)
创建具有特定大小和填充的特定根节点的场景。Scene(Parent root, Paint fill)
为具有填充的特定根节点创建场景。 -
Uses of Paint in javafx.scene.canvas
Methods in javafx.scene.canvas that return Paint Modifier and Type 方法 描述 Paint
GraphicsContext. getFill()
获取当前的填充颜色属性。Paint
GraphicsContext. getStroke()
获取当前行程。Methods in javafx.scene.canvas with parameters of type Paint Modifier and Type 方法 描述 void
GraphicsContext. setFill(Paint p)
设置当前填充绘图属性。void
GraphicsContext. setStroke(Paint p)
设置当前笔画paint属性。 -
Uses of Paint in javafx.scene.chart
Methods in javafx.scene.chart that return Paint Modifier and Type 方法 描述 Paint
Axis. getTickLabelFill()
获取属性tickLabelFill的值。Methods in javafx.scene.chart that return types with arguments of type Paint Modifier and Type 方法 描述 ObjectProperty<Paint>
Axis. tickLabelFillProperty()
填写所有刻度标签Methods in javafx.scene.chart with parameters of type Paint Modifier and Type 方法 描述 void
Axis. setTickLabelFill(Paint value)
设置属性tickLabelFill的值。 -
Uses of Paint in javafx.scene.control
Methods in javafx.scene.control that return Paint Modifier and Type 方法 描述 Paint
Labeled. getTextFill()
获取属性textFill的值。Methods in javafx.scene.control that return types with arguments of type Paint Modifier and Type 方法 描述 ObjectProperty<Paint>
Labeled. textFillProperty()
Paint
用于填写文字。Methods in javafx.scene.control with parameters of type Paint Modifier and Type 方法 描述 void
Labeled. setTextFill(Paint value)
设置属性textFill的值。 -
Uses of Paint in javafx.scene.control.skin
Methods in javafx.scene.control.skin that return Paint Modifier and Type 方法 描述 protected Paint
TextInputControlSkin. getHighlightFill()
获取属性highlightFill的值。protected Paint
TextInputControlSkin. getHighlightTextFill()
获取属性highlightTextFill的值。protected Paint
TextInputControlSkin. getPromptTextFill()
获取属性promptTextFill的值。protected Paint
TextInputControlSkin. getTextFill()
获取属性textFill的值。Methods in javafx.scene.control.skin that return types with arguments of type Paint Modifier and Type 方法 描述 protected ObjectProperty<Paint>
TextInputControlSkin. highlightFillProperty()
突出显示时用于文本的填充。protected ObjectProperty<Paint>
TextInputControlSkin. highlightTextFillProperty()
protected ObjectProperty<Paint>
TextInputControlSkin. promptTextFillProperty()
protected ObjectProperty<Paint>
TextInputControlSkin. textFillProperty()
在正常条件下用于文本的填充Methods in javafx.scene.control.skin with parameters of type Paint Modifier and Type 方法 描述 protected void
TextInputControlSkin. setHighlightFill(Paint value)
填充Paint
用于所选文本的背景。protected void
TextInputControlSkin. setHighlightTextFill(Paint value)
填充Paint
用于所选文本的前景。protected void
TextInputControlSkin. setPromptTextFill(Paint value)
填充Paint
用于前景提示文本颜色。protected void
TextInputControlSkin. setTextFill(Paint value)
填充Paint
用于前景文字颜色。 -
Uses of Paint in javafx.scene.effect
Methods in javafx.scene.effect that return Paint Modifier and Type 方法 描述 Paint
ColorInput. getPaint()
获取属性paint的值。Methods in javafx.scene.effect that return types with arguments of type Paint Modifier and Type 方法 描述 ObjectProperty<Paint>
ColorInput. paintProperty()
Paint
用于洪水地区。Methods in javafx.scene.effect with parameters of type Paint Modifier and Type 方法 描述 void
ColorInput. setPaint(Paint value)
设置属性paint的值。Constructors in javafx.scene.effect with parameters of type Paint Constructor 描述 ColorInput(double x, double y, double width, double height, Paint paint)
使用指定的x,y,width,height和paint创建一个ColorInput的新实例。 -
Uses of Paint in javafx.scene.layout
Methods in javafx.scene.layout that return Paint Modifier and Type 方法 描述 Paint
BorderStroke. getBottomStroke()
定义此边框底部的填充。Paint
BackgroundFill. getFill()
油漆用于填充Region
的背景。Paint
BorderStroke. getLeftStroke()
定义此边框左侧的填充。Paint
BorderStroke. getRightStroke()
定义此边框右侧的填充。Paint
BorderStroke. getTopStroke()
定义此边框顶部的填充。Constructors in javafx.scene.layout with parameters of type Paint Constructor 描述 BackgroundFill(Paint fill, CornerRadii radii, Insets insets)
使用指定的填充,半径和插入创建一个新的BackgroundFill。BorderStroke(Paint stroke, BorderStrokeStyle style, CornerRadii radii, BorderWidths widths)
创建一个新的BorderStroke。BorderStroke(Paint stroke, BorderStrokeStyle style, CornerRadii radii, BorderWidths widths, Insets insets)
创建一个新的BorderStroke。BorderStroke(Paint topStroke, Paint rightStroke, Paint bottomStroke, Paint leftStroke, BorderStrokeStyle topStyle, BorderStrokeStyle rightStyle, BorderStrokeStyle bottomStyle, BorderStrokeStyle leftStyle, CornerRadii radii, BorderWidths widths, Insets insets)
创建一个新的BorderStroke,指定所有构造参数。 -
Uses of Paint in javafx.scene.paint
Subclasses of Paint in javafx.scene.paint Modifier and Type Class 描述 class
Color
Color类用于将颜色封装在默认的sRGB颜色空间中。class
ImagePattern
ImagePattern
类填充具有图像模式的形状。class
LinearGradient
LinearGradient
类用线性颜色渐变模式填充形状。class
RadialGradient
RadialGradient
类提供了一种填充圆形径向颜色渐变图案的形状的方法。Methods in javafx.scene.paint that return Paint Modifier and Type 方法 描述 static Paint
Paint. valueOf(String value)
从字符串表示形式创建一个绘制值。 -
Uses of Paint in javafx.scene.shape
Methods in javafx.scene.shape that return Paint Modifier and Type 方法 描述 Paint
Shape. getFill()
获取属性填充的值。Paint
Shape. getStroke()
获取属性笔画的值。Methods in javafx.scene.shape that return types with arguments of type Paint Modifier and Type 方法 描述 ObjectProperty<Paint>
Shape. fillProperty()
使用Paint
上下文的设置定义填充Shape
内部的参数。ObjectProperty<Paint>
Shape. strokeProperty()
使用指定的Paint
的设置定义围绕Shape
轮廓绘制的笔触的参数。Methods in javafx.scene.shape with parameters of type Paint Modifier and Type 方法 描述 void
Shape. setFill(Paint value)
设置属性填充的值。void
Shape. setStroke(Paint value)
设置属性笔画的值。Constructors in javafx.scene.shape with parameters of type Paint Constructor 描述 Circle(double centerX, double centerY, double radius, Paint fill)
创建一个新的具有指定位置,半径和填充的Circle实例。Circle(double radius, Paint fill)
创建一个新的具有指定半径的Circle实例并填充。Rectangle(double width, double height, Paint fill)
用给定的大小和填充创建一个新的Rectangle实例。 -
Uses of Paint in javafx.scene.text
Methods in javafx.scene.text that return Paint Modifier and Type 方法 描述 Paint
Text. getSelectionFill()
获取属性selectionFill的值。Methods in javafx.scene.text that return types with arguments of type Paint Modifier and Type 方法 描述 ObjectProperty<Paint>
Text. selectionFillProperty()
所选文字的填充颜色。Methods in javafx.scene.text with parameters of type Paint Modifier and Type 方法 描述 void
Text. setSelectionFill(Paint paint)
Sets the value of the property selectionFill.
-