< prev index next >
modules/javafx.graphics/src/main/java/javafx/scene/layout/Region.java
Print this page
@@ -112,16 +112,14 @@
* download or load.
* <p>
* By default a Region appears as a Rectangle. A BackgroundFill radii might cause the Rectangle to appear rounded.
* This affects not only making the visuals look like a rounded rectangle, but it also causes the picking behavior
* of the Region to act like a rounded rectangle, such that locations outside the corner radii are ignored. A
- * Region can be made to use any shape, however, by specifing the {@code shape} property. If a shape is specified,
+ * Region can be made to use any shape, however, by specifying the {@code shape} property. If a shape is specified,
* then all BackgroundFills, BackgroundImages, and BorderStrokes will be applied to the shape. BorderImages are
* not used for Regions which have a shape specified.
* <p>
- * A Region with a shape
- * <p>
* Although the layout bounds of a Region are not influenced by any Border or Background, the content area
* insets and the picking area of the Region are. The {@code insets} of the Region define the distance
* between the edge of the layout bounds and the edge of the content area. For example, if the Region
* layout bounds are (x=0, y=0, width=200, height=100), and the insets are (top=10, right=20, bottom=30, left=40),
* then the content area bounds will be (x=40, y=10, width=140, height=60). A Region subclass which is laying
@@ -569,11 +567,11 @@
// Cause the region to repaint
NodeHelper.markDirty(this, DirtyBits.NODE_CONTENTS);
};
{
- // To initialize the class helper at the begining each constructor of this class
+ // To initialize the class helper at the beginning each constructor of this class
RegionHelper.initHelper(this);
}
/**
* Creates a new Region with an empty Background and and empty Border. The
< prev index next >