< prev index next >
modules/javafx.graphics/src/main/java/javafx/scene/shape/Circle.java
Print this page
rev 10443 : 8177341: Fix typos in FX API docs
Reviewed-by:
*** 1,7 ****
/*
! * Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 2010, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 40,63 ****
import javafx.scene.Node;
import javafx.scene.paint.Paint;
/**
* The {@code Circle} class creates a new circle
! * with the specified radius and center location measured in pixels
*
! * Example usage. The following code creates a circle with radius 50px centered
! * at (100,100)px.
! *
! <PRE>
! import javafx.scene.shape.*;
Circle circle = new Circle();
circle.setCenterX(100.0f);
circle.setCenterY(100.0f);
circle.setRadius(50.0f);
! }
! </PRE>
* @since JavaFX 2.0
*/
public class Circle extends Shape {
static {
CircleHelper.setCircleAccessor(new CircleHelper.CircleAccessor() {
--- 40,63 ----
import javafx.scene.Node;
import javafx.scene.paint.Paint;
/**
* The {@code Circle} class creates a new circle
! * with the specified radius and center location measured in pixels.
! * <p>
! * Example usage. The following code creates a circle with radius of 50 pixels
! * centered at (100,100).
! * </p>
*
! <pre>{@code
! import javafx.scene.shape.Circle;
Circle circle = new Circle();
circle.setCenterX(100.0f);
circle.setCenterY(100.0f);
circle.setRadius(50.0f);
! }</pre>
* @since JavaFX 2.0
*/
public class Circle extends Shape {
static {
CircleHelper.setCircleAccessor(new CircleHelper.CircleAccessor() {
< prev index next >