query
stringlengths
7
33.1k
document
stringlengths
7
335k
metadata
dict
negatives
listlengths
3
101
negative_scores
listlengths
3
101
document_score
stringlengths
3
10
document_rank
stringclasses
102 values
Returns the Y location of the shape.
public double getY() { return _height<0? _y + _height : _y; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final double getY() { return location.getY(); }", "public int getY()\r\n {\r\n return yLoc;\r\n }", "public double getY_location() {\n return y_location;\n }", "public int getLocationY() {\r\n\t\treturn y;\r\n\t}", "@Override\n\tpublic double getYLoc() {\n\t\treturn y;\n\t}", "public int getY() {\r\n\t\treturn ycoord;\r\n\t}", "public double getYPosition()\n\t{\n\t\treturn yPosition;\n\t}", "public int getY() { return loc.y; }", "public double getYPos() {\n\t\treturn this.position[1];\n\t}", "public final int getY()\n\t{\n\t\treturn pos.y;\n\t}", "public double getY() {\n return position.getY();\n }", "public int getY() {\n return pos_y;\n }", "public int getYPos();", "public int getY() {\n return posY;\n }", "public int getY() {\n return this.coordinate.y;\n }", "public double getLocationY() {\r\n\t\treturn location.getY();\r\n\t}", "public int getY() {\n return (int) yPos;\n }", "public int getY() {\n if (this.coordinates == null)\n return -1;\n return this.coordinates.y();\n }", "public int getY() {\n return yCoord;\n }", "public float getY() {\n return pos.y;\n }", "double getYPosition();", "public double getY();", "public int getY()\r\n {\r\n return yCoord;\r\n }", "public int getY() {\n\t\t\n\t\treturn yPosition;\t\t// Gets the y integer\n\t}", "public int getYPosition() {\n return this.yPosition;\n }", "public int getYPosition() {\n\t\treturn this.position.y;\n\t}", "public int getLocationY( )\n\t{\n\t\treturn locationY;\n\t}", "public int getY() {\n\t\treturn Y;\n\t}", "public int getyCoord() {\r\n\t\treturn yCoord;\r\n\t}", "public int getYPosition() {\n return yPosition;\n }", "public int getY()\r\n\t{\r\n\t\treturn this.Y;\r\n\t}", "public int get_Y_Coordinate()\n {\n return currentBallY;\n }", "protected Number getY() {\n return this.yCoordinate;\n }", "public int getYPos() {\n\t\treturn yPos;\n\t}", "public int getyCoord() {\n\t\treturn yCoord;\n\t}", "public int yPos() {\n\t\treturn Engine.scaleY(y);\n\t}", "public double getY() {\r\n\t\t return this.yCoord;\r\n\t }", "public int getYPosition(){\n\t\treturn yPosition;\n\t}", "public int getYPoint() {\r\n return this.y;\r\n }", "public int getY() {\n return positionY;\n }", "public int getPos_y(){\n\t\treturn pos_y;\n\t}", "public double getyCoord() {\n\t\treturn yCoord;\n\t}", "public int getY()\n\t{\n\t\treturn m_nPosY;\n\t}", "public int getYPosition()\n {\n return yPosition;\n }", "public int getYPosition()\n {\n return yPosition;\n }", "public double getY() {\n\t\tRectangle2D bounds = _parentFigure.getBounds();\n\t\tdouble y = bounds.getY() + (_yt * bounds.getHeight());\n\t\treturn y;\n\t}", "public int getYcoord(){\n\t\treturn this.coordinates[1];\n\t}", "public int y() {\r\n\t\treturn yCoord;\r\n\t}", "public int getyPos() {\n\t\treturn yPos;\n\t}", "@Override\n\tpublic double getYPos() {\n\t\treturn field_145848_d;\n\t}", "public int getCoordY() \r\n {\r\n \treturn this.coordY;\r\n }", "public int getY() {\r\n\t\treturn y;\r\n\t}", "public int getY() {\r\n\t\treturn y;\r\n\t}", "public int getY() {\r\n\t\treturn y;\r\n\t}", "public double getYPos(){\n return yPos;\n }", "public int getyPosition() {\n\t\treturn yPosition;\n\t}", "public int getY() {\n\t\treturn y;\n\t}", "public int getY() {\n\t\treturn y;\n\t}", "public int getY() {\n\t\treturn y;\n\t}", "public int getY() {\n\t\treturn y;\n\t}", "public int getY() {\n\t\treturn y;\n\t}", "public int getY() {\n\t\treturn y;\n\t}", "public int getY() {\n\t\treturn y;\n\t}", "public int getY() {\n\t\treturn y;\n\t}", "public int getY() {\n\t\treturn y;\n\t}", "public int getY() {\n\t\treturn y;\n\t}", "public int getY() {\n\t\treturn y;\n\t}", "public double getY() {\n return origin.getY();\n }", "public int getLocY() {\n return locY;\n }", "public int getyPos() {\n return yPos;\n }", "public int getPointY() {\n return pointY;\n }", "public int getY() {\n return y_;\n }", "public int getY() {\n return y_;\n }", "public int getY() {\n return y_;\n }", "public int getY() {\n return y_;\n }", "public int getY() {\n return y_;\n }", "public int getyPos() \n\t{\n\t\treturn yPos;\n\t}", "public int getY() {\r\n return y;\r\n }", "public int getY() {\r\n return y;\r\n }", "public int getY()\r\n\t{\r\n\t\treturn y;\r\n\t}", "public int getY() {\n\treturn baseYCoord;\n}", "public int getY() { return y; }", "public int getY() { return y; }", "public double getPositionY() {\n return positionY_;\n }", "public int getY()\n\t{\n\t\treturn this.y;\n\t}", "public int getY()\n\t{\n\t\treturn this.y;\n\t}", "public double getPositionY() {\n return positionY_;\n }", "public double getPositionY() {\n return positionY_;\n }", "public int getY() {\n return y_;\n }", "public int getY() {\n return y_;\n }", "public int getY() {\n return y_;\n }", "public int getY() {\n return y_;\n }", "public int getY() {\n return y_;\n }", "public int getY()\n\t{\n\t\treturn mY;\n\t}", "public int getY() {\r\n return ypos;\r\n }", "public int getY() {\r\n\t\treturn this.y;\r\n\t}", "public int getY() {\r\n return this.y;\r\n }", "public int getY() {\n\t\treturn this.y;\n\t}", "public int getY() {\n\t\treturn this.y;\n\t}", "public int getY() {\n\t\treturn this.y;\n\t}", "public int getY()\n\t{\n\t\treturn y;\n\t}" ]
[ "0.7976959", "0.7863268", "0.78243446", "0.7809424", "0.77819014", "0.77723426", "0.77639323", "0.77635986", "0.7754883", "0.77475256", "0.77333754", "0.77256435", "0.7694391", "0.76876134", "0.76808655", "0.7668409", "0.7661747", "0.76559037", "0.765477", "0.7647739", "0.7639464", "0.76237065", "0.7620756", "0.7597732", "0.7595686", "0.7587896", "0.7586907", "0.75796074", "0.7578694", "0.75768465", "0.75720227", "0.75711447", "0.75704885", "0.7555686", "0.75398606", "0.75347847", "0.7525577", "0.75253046", "0.75156057", "0.7514813", "0.75096965", "0.74994934", "0.74988717", "0.74911803", "0.74911803", "0.7487755", "0.74861425", "0.74800587", "0.74742883", "0.7472556", "0.7471216", "0.74700665", "0.74700665", "0.74700665", "0.7468239", "0.74629307", "0.74594104", "0.74594104", "0.74594104", "0.74594104", "0.74594104", "0.74594104", "0.74594104", "0.74594104", "0.74594104", "0.74594104", "0.74594104", "0.74558574", "0.7455355", "0.7452613", "0.7451813", "0.7450806", "0.7450806", "0.7450806", "0.7450806", "0.7450806", "0.745023", "0.7441819", "0.7441819", "0.7441514", "0.7441299", "0.7438812", "0.7438812", "0.74379575", "0.74375224", "0.74375224", "0.7436654", "0.7436654", "0.7436391", "0.7436391", "0.7436391", "0.7436391", "0.7436391", "0.7433195", "0.74309397", "0.74288243", "0.7428358", "0.7424696", "0.7424696", "0.7424696", "0.74244535" ]
0.0
-1
Sets the Y location of the shape.
public void setY(double aValue) { if(_y==aValue) return; // If value already set, just return repaint(); // Register repaint firePropertyChange("Y", _y, _y = aValue, -1); // Set value and fire PropertyChange if(_parent!=null) _parent.setNeedsLayout(true); // Rather bogus }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setY(int y){\n\t\tthis.y_location = y;\n\t}", "public void setY(int value) {\n this.y = value;\n }", "void setY(int newY) {\n this.yPos = newY;\n }", "public void setY(int y){ yPosition = y; }", "@Override\n\tpublic void setY(int y) {\n\t\tyPos = y;\n\t}", "void setY(int y) {\n position = position.setY(y);\n }", "public void setY(int y) { loc.y = y; }", "public void setY(double value) {\n this.y = value;\n }", "public void setY(int yPos){\t\t\n\t\ty = new Integer(yPos);\n\t}", "public void setYCoordinates(double newY) { this.yCoordinates = newY; }", "public void setY(int y) {\n\tbaseYCoord = y;\n}", "public void setY(int newY)\r\n {\r\n yCoord = newY;\r\n }", "public void setyPos(int yPos) {\r\n this.yPos = yPos;\r\n }", "public void setY(double val) {\r\n\t\t this.yCoord = val;\r\n\t }", "public void setY(double value) {\n origin.setY(value);\n }", "public void setY( int y ) {\n\t\t//not checking if y is valid because that depends on the coordinate system\n\t\tthis.y = y;\n\t}", "public void setY(int y) {\n this.y = y;\n }", "public void setY(int y) {\n this.y = y;\n }", "public void setY(int y) {\n this.y = y;\n }", "public void setYPosition(double y)\n\t{\n\t\tthis.yPosition = y;\n\t}", "public Builder setPositionY(double value) {\n bitField0_ |= 0x00000008;\n positionY_ = value;\n onChanged();\n return this;\n }", "public Builder setPositionY(double value) {\n bitField0_ |= 0x00000010;\n positionY_ = value;\n onChanged();\n return this;\n }", "public Builder setPositionY(double value) {\n bitField0_ |= 0x00000080;\n positionY_ = value;\n onChanged();\n return this;\n }", "public void setY(int y) {\r\n\t\tthis.y = y;\r\n\t}", "public void setY(int y) {\r\n\t\tthis.y = y;\r\n\t}", "public void setY(int y) {\r\n\t\tthis.y = y;\r\n\t}", "public void setY(int y) {\r\n\t\tthis.y = y;\r\n\t}", "public void setY(int y){\r\n\t\tthis.y = y;\r\n\t}", "public void setY(int y)\n\t{\n\t\tthis.y = y;\t\t\t\t\t\t\t\t\t\t\t\t\t// Update point's y-coordinate \n\t}", "public void setY(int y) {\n this.y = y;\r\n }", "public void setY(double point) {\n this.y = point;\n }", "public void setYPosition(int newY) {\n this.yPosition = newY;\n }", "public void setY(int y) {\n\t\tthis.Y = y;\n\t}", "public void setY(int y)\n {\n this.y = y;\n }", "public void setyPos(int yPos) {\n\t\tthis.yPos = yPos;\n\t}", "public void setY(int y) {\n\t\tthis.y = y;\n\t}", "public void setY(int y) {\n\t\tthis.y = y;\n\t}", "public void setY(int y) {\n\t\tthis.y = y;\n\t}", "public void setY(int y) {\n\t\tthis.y = y;\n\t}", "public void setY(int yCoord) {\n this.yCoord = yCoord;\n }", "@Override\n\tpublic void setY(int y) {\n\n\t}", "@Override\n\tpublic void setY(int y) {\n\t\t\n\t}", "public void setY(int theY)\r\n {\r\n y = theY;\r\n }", "public void setyPos(int yPos) \n\t{\n\t\tthis.yPos = yPos;\n\t}", "public void setY(int ycoord) {\n\t\ty = ycoord;\n\t}", "void setY(final Number y) {\n this.yCoordinate = y;\n }", "public Builder setY(int value) {\n bitField0_ |= 0x00000002;\n y_ = value;\n onChanged();\n return this;\n }", "default void setY(double y)\n {\n getAxis().setY(y);\n }", "public void setY(int y){\n this.y = y;\n }", "public void setY(int y){\n this.y = y;\n }", "public void setY(int y){\n this.y = y;\n }", "public void setYPosition( int yCoordinate ) {\n yPosition = yCoordinate;\n }", "public void setYPos(int yPos) {\r\n\t\tthis.yPos = yPos;\r\n\t}", "public void setY(final int y) {\n\n this.y = y;\n }", "public void setyPosition(int yPosition) {\n\t\tthis.yPosition = yPosition;\n\t}", "public void setY(double pY) {\n mY = pY;\n }", "void setY(int y) {\n this.y = y;\n }", "public void setYCoordinate(int newValue)\n {\n y = newValue;\n }", "public void setY(double y) {\n this.y = y;\n }", "public void setY(double y) {\n this.y = y;\n }", "public void setY(double y) {\n this.y = y;\n }", "public Builder setY(int value) {\n bitField0_ |= 0x00000004;\n y_ = value;\n onChanged();\n return this;\n }", "public Builder setY(int value) {\n bitField0_ |= 0x00000004;\n y_ = value;\n onChanged();\n return this;\n }", "public Builder setY(int value) {\n bitField0_ |= 0x00000004;\n y_ = value;\n onChanged();\n return this;\n }", "public void setY(double y)\r\n\t{\t\r\n\t\tvirtualDxfPoint.setTransformationY(y);\r\n\t\tAnchor.setY(y);\r\n\t}", "public void setY(int newY)\n\t{\n\t\ty+=newY;\n\t\tboundingBox = new Rectangle(x,y,width,height);\n\t}", "public Builder setY(int value) {\n bitField0_ |= 0x00000008;\n y_ = value;\n onChanged();\n return this;\n }", "public void setYPos(int yPos) {\n\t\tthis.yPos=yPos;\n\t}", "public void setEndY(double y)\n {\n endycoord=y; \n }", "public void setY(double y) {\n this.y = y;\r\n }", "public PlotPosition setY( double y )\n {\n return setY( y, 1 );\n }", "public void setPosY(double posY) {\n\t\tthis.PosY = posY;\r\n\t}", "public void setY(int y) { this.y=y; }", "public void setY( double Y)\r\n {\r\n curY = Y;\r\n }", "public void setY(double y)\n {\n this.y = y;\n }", "public void setY(int value)\n\t{\n\t\tgetWorldPosition().setY(value);\n\t}", "public void setY(double y){\n this.y = y;\n }", "public void setY(double y){\n this.y = y;\n }", "public void setY(int ypos) {\r\n this.ypos = ypos;\r\n }", "@Override\n public void setY(int y) {\n this.y=y;\n }", "public void setyCoord(Location l) {\n\t\t\n\t}", "public void setY(double y) {\n\t\tthis.y = y;\n\t}", "public void setY(double newY) {\r\n y = newY;\r\n }", "public void setYPos(int y) {\n // from MoveEventHandler\n // convert to real y coord\n // y = yP * (ymaxR - yminr) / (ymaxP - yminP)\n double tmp = config.getMaximumRealY() + (y - config.getMaximumPixelY())*(config.getMaximumRealY() - config.getMinimumRealY())/(config.getMaximumPixelY() - config.getMinimumPixelY());\n ypos.setText(formatter.format(tmp));\n }", "public Builder setY(float value) {\n bitField0_ |= 0x00000002;\n y_ = value;\n onChanged();\n return this;\n }", "public Builder setY(float value) {\n bitField0_ |= 0x00000002;\n y_ = value;\n onChanged();\n return this;\n }", "public void setY(int y ){\n if(y>0){\n this.y=y;\n }\n \n }", "public void moveY() {\n\t\tsetY( getY() + getVy() );\n\t}", "public Builder setY(float value) {\n \n y_ = value;\n onChanged();\n return this;\n }", "public Builder setY(float value) {\n \n y_ = value;\n onChanged();\n return this;\n }", "public Builder setY(float value) {\n \n y_ = value;\n onChanged();\n return this;\n }", "public void setY(int y) {\r\n this.y = y;\r\n\r\n this.slot = Slot.fromXY(getX(), y);\r\n }", "public void setY(double y)\n\t{\n\t\tthis.y = y;\n\t}", "private void setY(long value) {\n bitField0_ |= 0x00000002;\n y_ = value;\n }", "public void setPointY(int pointY) {\n this.pointY = pointY;\n }", "public void setY(long y){\n this.y = y;\n }", "public void setY (int index, int y) { coords[index][1] = y; }", "@Override\r\n\tpublic void setY(float y) {\n\t\t\r\n\t}", "public void setY(float y) {\n this.y = y;\n }", "public void setY(Double y);", "@Override\n\tpublic void setY(float y) {\n\n\t}" ]
[ "0.78252834", "0.77811354", "0.77169794", "0.7691368", "0.76179093", "0.7615456", "0.75847787", "0.7574883", "0.75739163", "0.7541853", "0.7536561", "0.7532215", "0.7523797", "0.74829453", "0.7475395", "0.74374884", "0.7412618", "0.7412618", "0.7412618", "0.7407964", "0.7406543", "0.7400204", "0.7387403", "0.7383899", "0.7383899", "0.7383899", "0.7383899", "0.7379103", "0.7372962", "0.7362649", "0.7362127", "0.7359546", "0.73391104", "0.7313049", "0.7293994", "0.72883207", "0.72883207", "0.72883207", "0.72883207", "0.72868395", "0.72866166", "0.7286143", "0.72777176", "0.72775793", "0.7265967", "0.72621214", "0.725648", "0.7255242", "0.72517353", "0.72517353", "0.72517353", "0.7251067", "0.7234706", "0.7229422", "0.7226601", "0.7226566", "0.72098285", "0.7193441", "0.71905285", "0.71905285", "0.71905285", "0.71891147", "0.71891147", "0.71891147", "0.718837", "0.71866965", "0.71834195", "0.7180279", "0.7160046", "0.7155993", "0.7155752", "0.71404004", "0.71389115", "0.7136386", "0.7134849", "0.7127243", "0.71184415", "0.71184415", "0.710322", "0.70863366", "0.70812434", "0.70554423", "0.70419806", "0.7041626", "0.7035441", "0.7035441", "0.70353967", "0.7027163", "0.70121807", "0.70121807", "0.70121807", "0.7008911", "0.7006296", "0.6993568", "0.697215", "0.69663626", "0.6958952", "0.69379103", "0.6924375", "0.6917455", "0.6902888" ]
0.0
-1
Returns the width of the shape.
public double getWidth() { return _width<0? -_width : _width; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public double getWidth();", "public double getWidth();", "Length getWidth();", "public double getWidth() {\n\t\tdouble width = Math.round(sideLength + (2 * sideLength * \n\t\t\t\tMath.sin(Math.PI / 4)));\n\t\treturn width;\n\t}", "public SVGLength getWidth() {\n return width;\n }", "public final int getWidth() {\r\n return (int) size.x();\r\n }", "public double getWidth()\r\n {\r\n return width;\r\n }", "public double getWidth() {\n\t\t\treturn width.get();\n\t\t}", "public double getWidth()\n {\n return width;\n }", "public double getWidth () {\n return width;\n }", "public double getWidth() {\n return width;\n }", "public double getWidth() {\n return width;\n }", "public double getWidth() {\n return width;\n }", "public int getWidth() {\n return width_;\n }", "public int getWidth() {\n return width_;\n }", "public int getWidth() {\n return type.getWidth();\n }", "public double getWidth() {\r\n return width;\r\n }", "public int getWidth() {\n return width_;\n }", "public double getWidth() {\n\t\treturn width;\n\t}", "public double getWidth() {\n\t\treturn width;\n\t}", "public double getWidth() {\n\t\treturn width;\n\t}", "public double getWidth() {\r\n\t\treturn width;\r\n\t}", "public static int getWidth()\r\n\t{\r\n\t\treturn width;\r\n\t}", "public int getWidth()\n\t{\n\t\treturn this._width;\n\t}", "public int getWidth() {\n return width_;\n }", "public Integer getWidth()\n {\n return (Integer) getStateHelper().eval(PropertyKeys.width, null);\n }", "public int getWidth() {\n return ((int) this.rectangle.getWidth());\n }", "public final int getWidth(){\n return width_;\n }", "public int getWidth() {\n return width;\n }", "public int getWidth() {\n return width;\n }", "public int getWidth() {\n return width;\n }", "public int getWidth() {\n return width;\n }", "public int getWidth() {\n return width;\n }", "public int getWidth() {\n return width;\n }", "public int getWidth() {\n return width;\n }", "public int getWidth() {\n return width;\n }", "public int getWidth() {\n return width;\n }", "public int getWidth() {\n return width;\n }", "public int getWidth() {\n return width;\n }", "public int getWidth() {\n return width;\n }", "public int getWidth() {\n return width;\n }", "public int getWidth();", "public int getWidth();", "public int getWidth();", "public int getWidth() {\n return mySize.getWidth();\n }", "public int getWidth()\n\t{\n\t\treturn width;\n\t}", "public int getWidth()\n\t{\n\t\treturn width;\n\t}", "public float getWidth();", "public int getWidth()\r\n\t{\r\n\t\treturn width;\r\n\t}", "public double getWidth() {\r\n \tif (this.x1 >= this.x3) {\r\n \t\tif (this.y1 >= this.y3) {\r\n \t\t\twidth = Math.sqrt(Math.pow((this.x1 - this.x3), 2) + Math.pow((this.y1 - this.y3), 2));\r\n \t\t} else {\r\n \t\t\twidth = Math.sqrt(Math.pow((this.x1 - this.x3), 2) + Math.pow((this.y3 - this.y1), 2));\r\n \t\t}\r\n \t} else if (this.x1 < this.x3) {\r\n \t\tif (this.y1 >= this.y3) {\r\n \t\t\twidth = Math.sqrt(Math.pow((this.x3 - this.x1), 2) + Math.pow((this.y1 - this.y3), 2));\r\n \t\t} else {\r\n \t\t\twidth = Math.sqrt(Math.pow((this.x3 - this.x1), 2) + Math.pow((this.y3 - this.y1), 2));\r\n \t\t}\r\n \t}\r\n \treturn(width);\r\n }", "public int getWidth()\n {\n return width;\n }", "public int getWidth()\n {\n return width;\n }", "public int getWidth()\n {\n return width;\n }", "public int getWidth() {\r\n return width;\r\n }", "public final int getWidth() {\r\n return width;\r\n }", "public int getWidth() \n\t{\n\t\treturn width;\n\t}", "public int getWidth() {\n\t\treturn width;\n\t}", "public int getWidth() {\n\t\treturn width;\n\t}", "public int getWidth() {\n\t\treturn width;\n\t}", "public int getWidth() {\n\t\treturn width;\n\t}", "public int getWidth() {\n\t\treturn width;\n\t}", "public int getWidth() {\n\t\treturn width;\n\t}", "public int getWidth() {\n\t\treturn width;\n\t}", "public int getWidth() {\n\t\treturn width;\n\t}", "public int getWidth() {\n\t\treturn width;\n\t}", "public int getWidth() {\n\t\treturn width;\n\t}", "public int getWidth() {\n\t\treturn width;\n\t}", "public int getWidth() {\n\t\treturn width;\n\t}", "public int getWidth() {\n\t\treturn width;\n\t}", "public int getWidth() {\n\t\treturn width;\r\n\t}", "public int getWidth() {\r\n return width;\r\n }", "final public double getWidth()\n\t{\n\t\treturn width;\n\t}", "double getWidth();", "double getWidth();", "public int getWidth() {\r\n\t\treturn width;\r\n\t}", "public int getWidth() {\r\n\t\treturn width;\r\n\t}", "public int getWidth()\n {\n return this.width;\n }", "public int getWidth() {\n\t\t\treturn width;\n\t\t}", "public int getWidth() {\r\n\t\t\r\n\t\treturn width;\r\n\t}", "public int getWidth() {\n return width;\n }", "public int getWidth() {\n return width;\n }", "public float getWidth() {\n return width;\n }", "public double getWidth() {\r\n\r\n\t\treturn w;\r\n\r\n\t}", "@Override\n public int getWidth() {\n colorSpaceType.assertNumElements(buffer.getFlatSize(), height, width);\n return width;\n }", "public Integer getWidth() {\n\t\t\treturn width;\n\t\t}", "public float getWidth() {\n\t\treturn width;\n\t}", "public int getWidth() {\n return this._width;\n }", "public int getWidth()\n {\n return width;\n }", "public float getWidth() {\r\n\t\treturn width;\r\n\t}", "private double getWidth() {\n\t\treturn width;\n\t}", "public int getWidth() {\n return this.width;\n }", "public int getWidth() {\n return this.width;\n }", "public byte getWidth();", "public double getWidth() {\n\treturn width;\n }", "public String getWidth() {\n return width;\n }", "public int getWidth(){\n\t\treturn width;\n\t}", "public double getWidth() {\n return getElement().getWidth();\n }", "public int getWidth() {\n return (int) Math.round(width);\n }", "public int getWidth() { return width; }", "public int getWidth() { return width; }", "String getWidth();" ]
[ "0.78950393", "0.78950393", "0.7877678", "0.7848998", "0.7735405", "0.77347225", "0.7730435", "0.77201355", "0.7708708", "0.770674", "0.77033746", "0.77033746", "0.77033746", "0.7702698", "0.7702698", "0.76978356", "0.76899296", "0.768992", "0.76717913", "0.76717913", "0.76717913", "0.7669038", "0.7666376", "0.7649656", "0.7644974", "0.7642957", "0.7633379", "0.7624153", "0.76226014", "0.76226014", "0.76226014", "0.76226014", "0.76226014", "0.76226014", "0.76226014", "0.76226014", "0.76226014", "0.76226014", "0.76226014", "0.76226014", "0.76226014", "0.7619756", "0.7619756", "0.7619756", "0.7617884", "0.7616872", "0.7616872", "0.7612594", "0.7608014", "0.7606769", "0.76055616", "0.76055616", "0.76055616", "0.76044923", "0.7598559", "0.7597495", "0.75915724", "0.75915724", "0.75915724", "0.75915724", "0.75915724", "0.75915724", "0.75915724", "0.75915724", "0.75915724", "0.75915724", "0.75915724", "0.75915724", "0.75915724", "0.7589662", "0.7587989", "0.758747", "0.7582345", "0.7582345", "0.7575153", "0.7575153", "0.75712717", "0.75658685", "0.7564705", "0.75621104", "0.75621104", "0.7554036", "0.7550359", "0.75494945", "0.75489056", "0.75487345", "0.7547739", "0.7547701", "0.7547457", "0.7534098", "0.75264186", "0.75264186", "0.75165486", "0.75129825", "0.75062823", "0.7503064", "0.75022376", "0.7499778", "0.74776334", "0.74776334", "0.7465615" ]
0.0
-1
Sets the width of the shape.
public void setWidth(double aValue) { if(_width==aValue) return; // If value already set, just return repaint(); // Register repaint firePropertyChange("Width", _width, _width = aValue, -1); // Set value and fire PropertyChange if(_parent!=null) _parent.setNeedsLayout(true); // Rather bogus }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setWidth(Integer width) {\n this.width = width;\n control.draw();\n }", "public void setWidth(int w)\n {\n width = w;\n }", "public void setWidth(int w) {\n this.width = w;\n }", "public void setWidth(double value) {\n this.width = value;\n }", "public void setWidth(int w){\n \twidth = w;\n }", "public void setWidth(int w){ widthRadius = w; }", "void setWidth(int width);", "void setWidth(int width);", "public void setWidth(double width) {\n this.width = width;\n }", "public void setWidth(int width) {\n this.width = width;\n }", "public void setWidth(int width)\n {\n this.width = width;\n }", "public void setWidth(double width) {\r\n this.width = width;\r\n }", "public void setWidth(float width) {\n this.xRadius = width/2f;\n }", "public void setWidth(double width) {\n this.width = width;\n }", "public void setWidth(int w) {\n this.W = w;\n }", "public void setWidth(int w) {\n\t\twidth = w;\n\t}", "public void setWidth(int width) {\n\tthis.width = width;\n\tcalculateWidthRatio();\n }", "public void setWidth(final int theWidth) {\n myWidth = theWidth;\n }", "public void setWidth(int width) {\n\t\tw = width;\n\t}", "public Builder setWidth(int value) {\n bitField0_ |= 0x00000004;\n width_ = value;\n onChanged();\n return this;\n }", "public void setWidth(double width) {\n\t\tthis.width = width;\n\t}", "public void setWidth(double width) {\n\t\tthis.width = width;\n\t}", "public void setWidth(int n){ // Setter method\n \n width = n; // set the class attribute (variable) radius equal to num\n }", "public Builder setWidth(int value) {\n \n width_ = value;\n onChanged();\n return this;\n }", "@Override\r\n\tpublic void setWidth(int width) {\n\t\t\r\n\t}", "public void setWidth(int width) {\n\t\tthis.width = width;\n\t}", "public void setWidth( int width ) {\n\t\t_width = width;\n\t}", "public void setWidth(int width) {\n if (width > 0) {\n this.width = width;\n }\n }", "protected void setLineWidth(int width) {\r\n\t\tif (primaryShape instanceof Shape) {\r\n\t\t\t((Shape) primaryShape).setLineWidth(width);\r\n\t\t}\r\n\t}", "public void setWidth(Integer width)\n {\n getStateHelper().put(PropertyKeys.width, width);\n }", "public void setWidth(final String value)\n {\n width = value;\n }", "@Override\n\tpublic void setWidth(float width) {\n\n\t}", "@JsProperty\n public void setWidth(int width);", "private void setBorderWidth(int width) {\n this.borderWidth = width;\n Rectangle r = (Rectangle) this.getChildren().get(0);\n r.setStrokeWidth(width);\n }", "public void setWidth(int width) {\n this.width = width;\n this.rightEdge = RRConstants.getRightEdge(width);\n }", "public void setWidth(double w)\n { this.widthDefault = w; }", "public final native void setWidth(double width) /*-{\n this.setWidth(width);\n }-*/;", "public void setWidth(Double width) {\n\t\tthis.width = width;\n\t}", "public void SetWidth(double width) {\n OCCwrapJavaJNI.ShapeAnalysis_FreeBoundData_SetWidth(swigCPtr, this, width);\n }", "public void setWidth (int width) {\r\n\tcheckWidget();\r\n\tif ((style & SWT.SEPARATOR) == 0) return;\r\n\tif (width < 0) return;\r\n\tOS.PtSetResource (handle, OS.Pt_ARG_WIDTH, width, 0);\r\n\tif (control != null && !control.isDisposed ()) {\r\n\t\tcontrol.setBounds (getBounds ());\r\n\t}\r\n}", "public void setWitdh(int newValue)\n {\n width = newValue;\n }", "public void setWidth(String width) {\r\n this.width = width;\r\n }", "public void setLineWidth(int width)\n {\n if (width > 0)\n lineWidth = width;\n else \n lineWidth = 1;\n }", "public void setWidth(int newWidth) {\n roomWidth = newWidth;\n }", "@Override\r\n public void setWidth(String width) {\n }", "public void setWidth(double w) {\n\t\t\twidth.set(clamp(w, WIDTH_MIN, WIDTH_MAX));\n\t\t}", "@Override\n @SimpleProperty()\n public void Width(int width) {\n if (width == LENGTH_PREFERRED) {\n width = LENGTH_FILL_PARENT;\n }\n super.Width(width);\n }", "private void setWidth(long value) {\n bitField0_ |= 0x00000004;\n width_ = value;\n }", "@Override\n public void setLineWidth(double width) {\n graphicsEnvironmentImpl.setLineWidth(canvas, width);\n }", "public void setWidth(Integer width) {\n\t\tthis.width = width;\n\t\tthis.handleConfig(\"width\", width);\n\t}", "public void setWidth(int width) {\n\t\tif (width <= 0)\n\t\t\tthrow new IllegalArgumentException(\"width must be > 0\");\n\n\t\tthis.width = width;\n\t}", "public void setWidth(int width) {\n if(width < 0) throw new NegativeSizeException(\"Negative width\");\n \tthis.width = width;\n }", "public void setLineWidth(Integer width) {\n style.setBorderWidth(width);\n }", "public void setRadWidth(int width) {\n radWidth = width;\n }", "public final native void setStrokeWidth(double width) /*-{\n\t\tthis.setStrokeWidth(width);\n\t}-*/;", "public void setWidth(java.lang.String width)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(WIDTH$20);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(WIDTH$20);\n }\n target.setStringValue(width);\n }\n }", "public void setLineWidth(int width) {\n mPaintLine.setStrokeWidth(width);\n }", "public void setLineWidth ( int width ) {\r\n\t\tline_width = width;\r\n\t}", "public void setSize(double aWidth, double aHeight) { setWidth(aWidth); setHeight(aHeight); }", "public void setLineWidth(float width)\r\n\t{\r\n\t\t// not implemented\r\n\t\tg.setPenWidth((int) width);\r\n\t}", "void setFitWidth(short width);", "@NonNull\n public Builder setWidth(@NonNull DpProp width) {\n if (width.getDynamicValue() != null) {\n throw new IllegalArgumentException(\"setWidth doesn't support dynamic values.\");\n }\n mImpl.setWidth(width.toProto());\n mFingerprint.recordPropertyUpdate(\n 1, checkNotNull(width.getFingerprint()).aggregateValueAsInt());\n return this;\n }", "public void resetPaddleWidth(){\n myRectangle.setWidth(myLength);\n }", "public void setWidth( int width )\n {\n int charWidth = ChatMenuAPI.getCharacterWidth( getCharacter( ) );\n length = width / charWidth;\n }", "public Builder setWidth(long value) {\n copyOnWrite();\n instance.setWidth(value);\n return this;\n }", "public void setWidth(String string) {\r\n\t\t_width = string;\r\n\t}", "public void xsetWidth(org.apache.xmlbeans.XmlString width)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlString target = null;\n target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(WIDTH$20);\n if (target == null)\n {\n target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(WIDTH$20);\n }\n target.set(width);\n }\n }", "public SpriteSheetSplitter setWidth(int width) {\n if (width <= 0) {\n throw new IllegalStateException(\"invalid width\");\n }\n this.width = width;\n return this;\n }", "public void setThumbWidth(int width) {\n invalidateRect\n .set(thumbOffset.getPointXToInt() - thumbCurvature, thumbOffset.getPointYToInt(), thumbOffset.getPointXToInt() + thumbWidth, thumbOffset.getPointYToInt() + thumbHeight);\n thumbWidth = width;\n updateThumbPath();\n invalidateRect\n .fuse(thumbOffset.getPointXToInt() - thumbCurvature, thumbOffset.getPointYToInt(), thumbOffset.getPointXToInt() + thumbWidth, thumbOffset.getPointYToInt() + thumbHeight);\n recyclerView.invalidate();\n }", "private void setTargetWidth(int width)\r\n\t{\r\n\t\tsynchronized (mMutex)\r\n\t\t{\r\n\t\t\tmTargetWidth = width;\r\n\t\t}\r\n\t}", "private void setCurrentWidth(int width)\r\n\t{\r\n\t\tsynchronized (mMutex)\r\n\t\t{\r\n\t\t\tmCurrentWidth = width;\r\n\t\t}\r\n\t}", "private void setWindowWidth(int width) {\n this.width = width;\n }", "public S<T> width(int width){\n\t\t((View)t).getLayoutParams().width = width;\n\t\treturn this;\n\t}", "@Override\r\n\tpublic void setWidth(int width) {\n\t\tif(!(width>0))\r\n\t\t\tthrow new PreConditionError(\"Error PreCondition: height>0\");\r\n\r\n\t\tcheckInvariant();\r\n\r\n\t\tgetDelegate().setWidth(width);\r\n\r\n\t\tcheckInvariant();\r\n\r\n\t\t// pos: getHeight()==height\r\n\t\tif(!(getWidth()==width))\r\n\t\t\tthrow new PostConditionError(\"Error PostCondition: getWidth()==width\");\r\n\r\n\t}", "public void setRrWidth(int width) {\n rrWidth = width;\n }", "public void setTrackWidth(int width){\n this.mTrackWidth = Utils.dp2px(mContext, width);\n progressPaint.setStrokeWidth(width);\n updateTheTrack();\n refreshTheView();\n }", "private void setShape(ChamberShape theShape) {\n mySize = theShape;\n createDoorsFromExits();\n }", "public void setArcwidth(double aw) {\n\t\t\tarcwidth.set(aw);\n\t\t}", "public void setOutlinePickWidth(int outlinePickWidth)\n {\n if (outlinePickWidth < 0)\n {\n String message = Logging.getMessage(\"generic.ArgumentOutOfRange\", \"width < 0\");\n Logging.logger().severe(message);\n throw new IllegalArgumentException(message);\n }\n\n this.outlinePickWidth = outlinePickWidth;\n }", "@MavlinkFieldInfo(\n position = 3,\n unitSize = 2,\n description = \"Width of a matrix or image.\"\n )\n public final Builder width(int width) {\n this.width = width;\n return this;\n }", "public void setBorderWidth(int borderWidth) {\n\n this.borderWidth = borderWidth;\n this.invalidate();\n }", "public void setTrackWidth(int width) {\n invalidateRect.set(thumbOffset.getPointXToInt() - thumbCurvature, 0, thumbOffset.getPointXToInt() + thumbWidth, recyclerView.getHeight());\n trackWidth = width;\n updateThumbPath();\n invalidateRect.fuse(thumbOffset.getPointXToInt() - thumbCurvature, 0, thumbOffset.getPointXToInt() + thumbWidth, recyclerView.getHeight());\n recyclerView.invalidate();\n }", "public void setGestureLineWidth(int width) {\n this.mGestureLineWidth = width;\n }", "public void setW(int i) {\n\t\tthis.width=i;\n\t\t\n\t}", "@Override\r\n\tpublic int setWidth() {\n\t\treturn 0;\r\n\t}", "@BindingAdapter({\"layout_width\"})\n public static void setWidth(View view, int width) {\n view.getLayoutParams().width = Math.round(width * view.getContext().getResources().getDisplayMetrics().density);\n }", "@Override\n\tpublic void setWidth(int newWidth) {\n\t\tint width = (int) (newWidth * 0.5);\n\t\tif (width > mainContainer.getMinWidth()) {\n\t\t\tscreenWidth = width;\n\t\t\tmainContainer.setPrefWidth(screenWidth);\n\t\t}\n\t\tcenterScreenX(newWidth);\n\t}", "@SuppressWarnings(\"unchecked\")\n\t@NotNull\n\tpublic J setWidth(MeasurementCSSImpl width)\n\t{\n\t\tthis.width = width;\n\t\treturn (J) this;\n\t}", "public void updateWidth() {\n\t\t// Update width\n\t\tif (this.getFamily() != null) {\n\t\t\tthis.getFamily().updateFamilyWidth();\n\t\t\tthis.setWidth(this.getFamily().getWidth()\n\t\t\t\t\t+ this.getFamily().getNextWidth());\n\t\t} else {\n\t\t\tthis.setWidth(1);\n\t\t}\n\t}", "public final Pen changeWidth(float width) {\n Color resultColor = this.color;\n LineStyle style = LineStyleUtils.getLineStyle(stroke);\n BasicStroke resultStroke = LineStyleUtils.getStroke(style, width);\n return new Pen(resultStroke, resultColor);\n }", "public void setWidth(short width) throws Exception {\n\n\t\tif (width > MAX_MAZE_WIDTH)\n\t\t\tthrow new Exception(String.format(\"Width %d is bigger than maximum allowed width %d\", width,\n\t\t\t\t\tMAX_MAZE_WIDTH));\n\n\t\tthis.width = width;\n\t}", "void setDimension(double width, double height);", "public void setShape(ChamberShape theShape) {\n mySize = theShape;\n setExits();\n }", "public MediaDeviceDescription setWidth(float width) {\n this.width = width;\n return this;\n }", "public void setCurrentWidth(final int currentWidth);", "public void setMinWidth(int width) {\n setMinSize(width, minHeight);\n }", "public void setBorderWidth(float borderWidth) {\n mPolygonShapeSpec.setBorderWidth(borderWidth * (getResources().getDisplayMetrics().density));\n updateBorderSpecs();\n }", "public abstract Builder setOutputWidth(int value);", "public boolean setWidth(double width){\n if (width <= 0.0) return false;\n this.width = width;\n return true;\n }", "public void setWidth(final int width) {\n\t\tthis.width = width;\n\t\tthis.widthString = \"%-\" + width + \"s\";\n\t}", "public void setWidth(double alpha, double beta, double coil)\n {\n this.widthAlpha = alpha;\n this.widthBeta = beta;\n this.widthCoil = coil;\n }" ]
[ "0.7786359", "0.77383214", "0.7695795", "0.7675758", "0.76523346", "0.76521856", "0.7637417", "0.7637417", "0.7608196", "0.75963897", "0.75922024", "0.7583903", "0.75608975", "0.7558282", "0.75516826", "0.7444868", "0.74388254", "0.74098814", "0.73679626", "0.73492616", "0.73182404", "0.73182404", "0.73175555", "0.7288643", "0.72664016", "0.7240323", "0.72245973", "0.72230965", "0.7203325", "0.71838444", "0.71757746", "0.7175", "0.7167225", "0.7165488", "0.70989484", "0.7092257", "0.7087551", "0.70811063", "0.70328134", "0.6994884", "0.69666135", "0.6964374", "0.6957738", "0.69522184", "0.6941495", "0.69283074", "0.6915047", "0.6884585", "0.68786526", "0.6849993", "0.6838061", "0.68133676", "0.67916894", "0.67570555", "0.6715976", "0.6641721", "0.6633694", "0.66268355", "0.6594954", "0.65802926", "0.65722793", "0.65684456", "0.6566057", "0.6523209", "0.65121675", "0.6477461", "0.6476304", "0.64738923", "0.6464099", "0.6455736", "0.64463437", "0.6437627", "0.6437292", "0.6433893", "0.64307195", "0.64254403", "0.6397088", "0.63681555", "0.635493", "0.6343301", "0.6331959", "0.63058895", "0.6302123", "0.6300546", "0.62980217", "0.6296493", "0.62641174", "0.6261242", "0.62490046", "0.6248897", "0.6248755", "0.6239509", "0.62197", "0.6206106", "0.61796296", "0.61771756", "0.617697", "0.61373144", "0.61346024", "0.6113823", "0.61086136" ]
0.0
-1
Returns the height of the shape.
public double getHeight() { return _height<0? -_height : _height; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public double getHeight();", "public double getHeight();", "public final int getHeight() {\r\n return (int) size.y();\r\n }", "public double getHeight() {\n\t\tdouble height = Math.round(sideLength + (2 * sideLength * \n\t\t\t\tMath.sin(Math.PI / 4)));\n\t\treturn height;\n\t}", "public double getHeight() {\n\t\t\treturn height.get();\n\t\t}", "public double getHeight()\r\n {\r\n return height;\r\n }", "public float getHeight();", "public double getHeight() {\r\n return height;\r\n }", "public double getHeight() {\n return height;\n }", "public double getHeight() {\n return height;\n }", "public double getHeight () {\n return height;\n }", "public double getHeight()\r\n {\r\n return height;\r\n }", "public int getHeight() {\n return height;\n }", "public int getHeight() {\n return height;\n }", "public int getHeight() {\n return height;\n }", "public int getHeight() {\n return height;\n }", "public int getHeight() {\n return height;\n }", "public int getHeight() {\n return height;\n }", "public int getHeight() {\n return height;\n }", "public int getHeight() {\n return height;\n }", "public int getHeight() {\n return height;\n }", "public int getHeight() {\n return height;\n }", "public int getHeight() {\n return height;\n }", "public int getHeight();", "public int getHeight();", "public int getHeight();", "public int getHeight();", "public int getHeight();", "public int getHeight();", "public final int getHeight() {\r\n return height;\r\n }", "public int getHeight() {\n return height;\n }", "public double getHeight() {\n\t\treturn height;\n\t}", "public double getHeight() {\n\t\treturn height;\n\t}", "public double getHeight() {\n\t\treturn height;\n\t}", "public double getHeight() {\n\t\treturn height;\n\t}", "public double getHeight() {\n\t\treturn height;\n\t}", "public double getHeight() {\n\t\treturn height;\n\t}", "public double getHeight() {\r\n\t\treturn height;\r\n\t}", "public int getHeight()\r\n\t{\r\n\t\treturn height;\r\n\t}", "double getHeight();", "public int getHeight()\n {\n return height;\n }", "public int getHeight() {\n return height_;\n }", "public SVGLength getHeight() {\n return height;\n }", "public int getHeight() {\r\n\t\treturn height;\r\n\t}", "public int getHeight() {\r\n\t\treturn height;\r\n\t}", "public int getHeight() {\n return height_;\n }", "public int getHeight()\n\t{\n\t\treturn height;\n\t}", "public int getHeight()\n\t{\n\t\treturn height;\n\t}", "public int getHeight() {\n return height;\n }", "public int getHeight() {\n return height;\n }", "public int getHeight() {\n return height;\n }", "public int getHeight() \n\t{\n\t\treturn height;\n\t}", "public int getHeight() {\n\t\treturn height;\n\t}", "public int getHeight() {\n\t\treturn height;\n\t}", "public int getHeight() {\n\t\treturn height;\n\t}", "public int getHeight() {\n\t\treturn height;\n\t}", "public int getHeight() {\n\t\treturn height;\n\t}", "public int getHeight() {\n\t\treturn height;\n\t}", "public int getHeight() {\n\t\treturn height;\n\t}", "public int getHeight() {\n\t\treturn height;\n\t}", "public int getHeight() {\n\t\treturn height;\n\t}", "public int getHeight() {\n\t\treturn height;\n\t}", "public int getHeight() {\n\t\treturn height;\n\t}", "private double getHeight() {\n\t\treturn height;\n\t}", "public static int getHeight()\r\n\t{\r\n\t\treturn height;\r\n\t}", "public int getHeight() {\r\n\t\t\r\n\t\treturn height;\r\n\t}", "public int getHeight()\n {\n return height;\n }", "public int getHeight() {\n\t\t\treturn height;\n\t\t}", "public double getHeight() {\n return getElement().getHeight();\n }", "public int getHeight() {\n return this.height;\n }", "public int getHeight() {\n return this.height;\n }", "public int getHeight() {\n return this.height;\n }", "public int getHeight()\n {\n return this.height;\n }", "public float getHeight() {\n return height;\n }", "final public double getHeight()\n\t{\n\t\treturn height;\n\t}", "public int getHeight() { return height; }", "public int getHeight()\n\t{\n\t\treturn this._height;\n\t}", "public final int getHeight(){\n return height_;\n }", "public int getHeight() {\n return this.height;\n }", "Length getHeight();", "public float getHeight() {\r\n\t\treturn height;\r\n\t}", "public int getHeight()\n {\n \treturn height;\n }", "public float getHeight() {\n\t\treturn height;\n\t}", "public int getHeight() {\r\n return Height;\r\n }", "public int getHeight() {\r\n\t\treturn this.height;\r\n\t}", "public int getHeight() {\n\t\treturn this.height;\n\t}", "public double getHeight() {\n\treturn height;\n }", "public int getHeight() {\n\t\treturn getHeight(this);\n\t}", "@Override\n public int getHeight() {\n colorSpaceType.assertNumElements(buffer.getFlatSize(), height, width);\n return height;\n }", "public float getHeight() {\n return this.height;\n }", "public Number getHeight() {\n\t\treturn getAttribute(HEIGHT_TAG);\n\t}", "public int getHeight() {\n\t\treturn (int) (Math.log(size) / Math.log(2));\n\t}", "int getHeight();", "int getHeight();", "int getHeight();", "int getHeight();", "int getHeight();", "int getHeight();", "int getHeight();", "int getHeight();", "int getHeight();" ]
[ "0.80208844", "0.80208844", "0.79921544", "0.7971154", "0.7915771", "0.7888842", "0.7886906", "0.786986", "0.78646207", "0.78646207", "0.7855773", "0.78381056", "0.7836345", "0.7836345", "0.7836345", "0.7836345", "0.7836345", "0.7836345", "0.7836345", "0.7836345", "0.7836345", "0.7836345", "0.7836345", "0.78283125", "0.78283125", "0.78283125", "0.78283125", "0.78283125", "0.78283125", "0.7824048", "0.78225523", "0.78210443", "0.78210443", "0.78210443", "0.78210443", "0.78210443", "0.78210443", "0.78203285", "0.78166234", "0.78027046", "0.7797719", "0.7785694", "0.7785518", "0.7774988", "0.7774988", "0.77743816", "0.77725726", "0.77725726", "0.77670467", "0.77670467", "0.77670467", "0.7766419", "0.77622414", "0.77622414", "0.77622414", "0.77622414", "0.77622414", "0.77622414", "0.77622414", "0.77622414", "0.77622414", "0.77622414", "0.77622414", "0.7757569", "0.7749073", "0.77447003", "0.77398586", "0.7735009", "0.772762", "0.7722569", "0.7722569", "0.7722569", "0.7719998", "0.77178895", "0.77158207", "0.77157736", "0.77032775", "0.7700376", "0.76948154", "0.7693355", "0.7683998", "0.7681809", "0.76813275", "0.7681254", "0.76780736", "0.7668163", "0.7666979", "0.7666026", "0.76494837", "0.76387745", "0.76250076", "0.7619312", "0.76073307", "0.76073307", "0.76073307", "0.76073307", "0.76073307", "0.76073307", "0.76073307", "0.76073307", "0.76073307" ]
0.0
-1
Sets the height of the shape.
public void setHeight(double aValue) { if(_height==aValue) return; // If value already set, just return repaint(); // Register repaint firePropertyChange("Height", _height, _height = aValue, -1); // Set value and fire PropertyChange if(_parent!=null) _parent.setNeedsLayout(true); // Rather bogus }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setHeight(int height);", "public void setHeight(int height);", "public void setHeight(int value) {\n this.height = value;\n }", "public void setHeight(double value) {\n this.height = value;\n }", "public void setHeight(int h)\n {\n height = h;\n }", "void setHeight(int height);", "void setHeight(int height);", "public void setHeight(int h) {\n this.H = h;\n }", "public void setHeight(Integer height) {\n this.height = height;\n control.draw();\n }", "public void setHeight(double height) {\n this.height = height;\n }", "void setHeight(VariableAmount height);", "public void setHeight(double height) {\r\n this.height = height;\r\n }", "public void setHeight(float height) {\n this.yRadius = 0.5f * height;\n }", "public void setHeight(double height){\n h=height;\r\n }", "public void setHeight(double height) {\n this.height = height;\n }", "public void setHeight(int newValue)\n {\n height = newValue;\n }", "public void setHeight(int h){ heightRadius = h; }", "public void setHeight(int height) {\n this.height = height;\n }", "public void setHeight(int height) {\r\n this.height = height;\r\n }", "public void setHeight(int l){\n \theight = l;\n }", "private void setHeight(float height){\n this.height = height;\n }", "public void setHeight(int height) {\n this.height = height;\n }", "public void setHeight(int height) {\n this.height = height;\n }", "public Builder setHeight(int value) {\n bitField0_ |= 0x00000008;\n height_ = value;\n onChanged();\n return this;\n }", "@Override\r\n\tpublic void setHeight(int height) {\n\t\t\r\n\t}", "@Override\n\tpublic void setHeight(float height) {\n\n\t}", "public void setHeight(double height) {\n\t\tthis.height = height;\n\t}", "public void setHeight(double height) {\n\t\tthis.height = height;\n\t}", "public void setHeight(double height) {\n\t\tthis.height = height;\n\t}", "public void setHeight(double height) {\n\t\t this.height = height;\n\t }", "private void setHeight(long value) {\n bitField0_ |= 0x00000008;\n height_ = value;\n }", "public void setHeight(int height) {\r\n\t\tthis.height = height;\r\n\t}", "public void setHeight(int height) {\n\t\th = height;\n\t}", "public void setHeight(int height) {\n\tthis.height = height;\n\tcalculateHeightRatio();\n }", "public void setHeight(int newValue)\r\n {\r\n seatHeight = newValue;\r\n }", "public void setHeight(final String value)\n {\n height = value;\n }", "public void setHeight(int newValue) {\n seatHeight = newValue;\n }", "public void setHeight(double h) {\n\t\t\theight.set(clamp(h, HEIGHT_MIN, HEIGHT_MAX));\n\t\t}", "public void setHeight(Short height) {\r\n this.height = height;\r\n }", "@Override\r\n public void setHeight(String height) {\n }", "public void setHeight( int height ) {\n\t\t_height = height;\n\t}", "public void setHeight (int height) {\n if (height < 10) {\n Log.warning(\"Attempted to set a checkbox height of less than 10 pixels.\");\n return;\n }\n\n synchronized (this) {\n this.height = height;\n }\n }", "public void setHeight(int height) {\n if (height > 0) {\n this.height = height;\n }\n }", "public final native void setHeight(double height) /*-{\n this.setHeight(height);\n }-*/;", "public void setHeight(int height) {\n\t\tthis.height = height;\n\t}", "public void setHeight(int height) {\n\t\tthis.height = height;\n\t}", "public void setHeight(int height) {\n int oldValue = mHeight;\n mHeight = height;\n pcs.firePropertyChange(PROP_HEIGHT, oldValue, mHeight);\n }", "public void setHeight(Integer height)\n {\n getStateHelper().put(PropertyKeys.height, height);\n }", "void setFitHeight(short height);", "public void setHeight(int height) {\n if(height < 0) throw new NegativeSizeException(\"Negative height\"); \n \tthis.height = height;\n }", "default void setHeight(int height) {\n setHeight(VariableAmount.fixed(height));\n }", "public void setHeight(String height) {\r\n this.height = height;\r\n }", "public void setHeight(int newHeight) {\n roomHeight = newHeight;\n }", "public void setH(int i) {\n\t\tthis.height=i;\n\t}", "public com.luisjrz96.streaming.birthsgenerator.models.BirthInfo.Builder setHeight(int value) {\n validate(fields()[6], value);\n this.height = value;\n fieldSetFlags()[6] = true;\n return this;\n }", "public void setHeight(String height) {\n this.height = height;\n }", "public void changeHeight(double y)\r\n {\n }", "@Override\n\tpublic void setHeight(short arg0) {\n\t\t\n\t}", "public Builder setHeight(long value) {\n copyOnWrite();\n instance.setHeight(value);\n return this;\n }", "public void setCurrentHeight(final int currentHeight);", "public void setArcheight(double ah) {\n\t\t\tarcheight.set(ah);\n\t\t}", "public void setHeight(int arg) throws ReadWriteException\n\t{\n\t\tsetValue(_Prefix + HardZone.HEIGHT.toString(), arg);\n\t}", "@Override\n\tpublic void setHeight(int y) {\n\t\tdelegate.setHeight(y);\n\t}", "@Override\r\n\tpublic int setHeight() {\n\t\treturn 0;\r\n\t}", "public abstract Builder setOutputHeight(int value);", "public void setHeight(int inches) {\n if (inches >= 24 && inches <= 84)\n this.height = inches;\n }", "private void setTargetHeight(int height)\r\n\t{\r\n\t\tsynchronized (mMutex)\r\n\t\t{\r\n\t\t\tmTargetHeight = height;\r\n\t\t}\r\n\t}", "public void updateHeight() {\n Rectangle repaintBounds = getBounds();\n parent.getScene().paintImmediately(repaintBounds);\n\n // set new height compute while repainting.\n setBounds(new Rectangle(bounds));\n\n parent.getScene().repaint(repaintBounds);\n setChanged();\n notifyObservers();\n }", "public boolean setHeight(double heightIn)\r\n {\r\n if (heightIn > 0)\r\n {\r\n height = heightIn;\r\n return true;\r\n }\r\n else \r\n {\r\n return false;\r\n }\r\n }", "public SpriteSheetSplitter setHeight(int height) {\n if (height <= 0) {\n throw new IllegalStateException(\"invalid height\");\n }\n this.height = height;\n return this;\n }", "public void setSize(float width, float height);", "@Override\r\n\tpublic void setHeight(int height) {\n\t\tif(!(height>0))\r\n\t\t\tthrow new PreConditionError(\"Error PreCondition: height>0\");\r\n\r\n\t\tcheckInvariant();\r\n\r\n\t\tgetDelegate().setHeight(height);\r\n\r\n\t\tcheckInvariant();\r\n\r\n\t\t// pos: getHeight()==height\r\n\t\tif(!(getHeight()==height))\r\n\t\t\tthrow new PostConditionError(\"Error PostCondition: getHeight()==height\");\r\n\r\n\t}", "Builder height(VariableAmount height);", "@Override\n\tpublic void height() {\n\t\t\n\t}", "@BindingAdapter({\"layout_height\"})\n public static void setHeight(View view, int height) {\n view.getLayoutParams().height = Math.round(height * view.getContext().getResources().getDisplayMetrics().density);\n }", "public void yBindHeight(String bind_name, ObservableValue<? extends Number> height, boolean stroke_included);", "void setDimension(double width, double height);", "@MavlinkFieldInfo(\n position = 4,\n unitSize = 2,\n description = \"Height of a matrix or image.\"\n )\n public final Builder height(int height) {\n this.height = height;\n return this;\n }", "public void setImageHeight(int val)\n {\n \n setImageHeight_0(nativeObj, val);\n \n return;\n }", "public StockDateTime setHeight(Number height) {\n if (jsBase == null) {\n this.height = height;\n } else {\n this.height = height;\n if (!isChain) {\n js.append(jsBase);\n isChain = true;\n }\n \n js.append(String.format(Locale.US, \".height(%s)\", height));\n\n if (isRendered) {\n onChangeListener.onChange(String.format(Locale.US, jsBase + \".height(%s);\", height));\n js.setLength(0);\n }\n }\n return this;\n }", "public void changeSize(Integer newLength, Integer newHeight) {\n control.erase();\n width = newLength;\n height = newHeight;\n control.draw();\n }", "public void setShape(ChamberShape theShape) {\n mySize = theShape;\n setExits();\n }", "protected final void setSize(float width, float height)\n {\n boolean flag = this.bokoblinWidth > 0.0F && this.bokoblinHeight > 0.0F;\n this.bokoblinWidth = width;\n this.bokoblinHeight = height;\n\n if (!flag)\n {\n this.multiplySize(1.0F);\n }\n }", "@Override\n\tpublic void setHeightInPoints(float arg0) {\n\t\t\n\t}", "public void setObject(double height) {\n // remove the object from the pane if it's already existed\n removeFromPane(object);\n \n // create object rectangle\n // x coordinate = Xcenter - half of the rectangle's width\n // y coordinate = Y coordinate of the ground line - rectangle's height\n object = new Rectangle(objectWidth, height);\n object.setLayoutX(objectCenterX - objectWidth / 2);\n object.setLayoutY(groundLineY - height);\n\n // Check the comboBox to set the corresponding object\n // fill the appropriate image to the object rectangle\n if (pickPicture.getValue().equals(\"Candle\")) {\n object.setFill(AssetManager.getCandleImage());\n } else if (pickPicture.getValue().equals(\"Can\")) {\n object.setFill(AssetManager.getCanImage());\n } else {\n object.setFill(AssetManager.getPencilImage());\n }\n\n // add the object rectangle to the pane\n addToPane(object);\n\n // update the object height value\n objectHeight = object.getHeight();\n }", "public void setSize(double aWidth, double aHeight) { setWidth(aWidth); setHeight(aHeight); }", "public void setHeight(short height) throws Exception {\n\n\t\tif (height > MAX_MAZE_HEIGHT)\n\t\t\tthrow new Exception(String.format(\"Height %d is bigger than maximum allowed height %d\",\n\t\t\t\t\theight, MAX_MAZE_HEIGHT));\n\n\t\tthis.height = height;\n\t}", "public void moveToHeight(double height) {\n\t\t//Sin(theta) = height/length\n\t\t//angleSetpoint = Math.toDegrees(Math.asin(height/Constants.BreachArm.ARM_LENGTH));\n\t}", "public void setHeight(float top, float bottom) {\n this.top = top;\n this.bottom = bottom;\n }", "public int getHeight() {return height;}", "private void setCurrentHeight(int height)\r\n\t{\r\n\t\tsynchronized (mMutex)\r\n\t\t{\r\n\t\t\tmCurrentHeight = height;\r\n\t\t}\r\n\t}", "public void setSpriteHeight(int height) {\n this.spriteHeight = height;\n\n if (spriteHeight == 0) {\n spriteHeight = 1;\n }\n\n frames = material.getTexture().getHeight() / spriteHeight;\n step = 1f / frames;\n\n this.animationFrameDurationMs = animationDurationMs / frames;\n lastFrameStart = System.currentTimeMillis();\n\n material.setUvMultiplier(1f, step);\n }", "public int getHeight() { return height; }", "private void setWindowHeight(int height) {\n this.height = height;\n }", "@Override\n public int getHeight() {\n return height;\n }", "@Override\n public int getHeight() {\n return height;\n }", "public void setHeight(int height) {\r\n\r\n\t\tsuper.setHeight(height);\r\n\r\n\t\tsetNumberOfSections(numberOfSections);\r\n\t}", "private void setShape(ChamberShape theShape) {\n mySize = theShape;\n createDoorsFromExits();\n }", "public void setSize(int width, int height) {\n this.width = width;\n this.height = height;\n }", "public void size(final int theWidth, final int theHeight);", "public void setBestHeight() { setHeight(getBestHeight()); }" ]
[ "0.77846336", "0.77846336", "0.7768116", "0.7748904", "0.76642257", "0.7626134", "0.7626134", "0.7546718", "0.7544578", "0.7500664", "0.7499388", "0.74362886", "0.7423669", "0.74163574", "0.74013335", "0.7374107", "0.7341222", "0.7335174", "0.7276713", "0.72612405", "0.72458345", "0.722991", "0.722991", "0.7199202", "0.7198731", "0.7164816", "0.71213555", "0.71213555", "0.71213555", "0.7079364", "0.7072609", "0.7065858", "0.7021859", "0.70168257", "0.70057285", "0.69873315", "0.69786495", "0.6968563", "0.6939263", "0.6925231", "0.6899372", "0.689811", "0.68980056", "0.6881854", "0.6869417", "0.6869417", "0.68659586", "0.68105584", "0.67667437", "0.6741452", "0.67219687", "0.66350865", "0.6634625", "0.6618477", "0.6592", "0.6590206", "0.65403867", "0.6538266", "0.6525865", "0.63469154", "0.634027", "0.63229716", "0.6304509", "0.6295577", "0.62898964", "0.6281345", "0.62808466", "0.61918396", "0.61823416", "0.6174074", "0.6164309", "0.616179", "0.616166", "0.61353046", "0.61277497", "0.61195296", "0.6104103", "0.60965574", "0.60965073", "0.60934883", "0.609126", "0.6089697", "0.6079982", "0.6076525", "0.6057329", "0.6041384", "0.6027483", "0.6025454", "0.5983893", "0.59786546", "0.59722406", "0.5964789", "0.59544927", "0.59392303", "0.5926167", "0.5926167", "0.5919675", "0.5919099", "0.59179157", "0.5910951", "0.59021336" ]
0.0
-1
Returns the max X of the shape (assumes not rotated, scaled or skewed).
public double getMaxX() { return getX() + getWidth(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public double getMaxX() {\n\t\treturn mx;\n\t}", "public double getMaximumX () {\n return minimumX + width;\n }", "public final int getMaxX() {\n return getMinX() + getWidth();\n }", "public int getMaxX() {\n\t\treturn maxX;\n\t}", "public float getMaxX(){\n return points.get(points.size()-1).getX();\n }", "public double getMaxX() {\n\treturn maxX;\n }", "public float getMaxX() {\n return maxX;\n }", "public int getXMax(){\n\t\treturn xDim;\n\t}", "public int getxMax() {\n\t\treturn xMax;\n\t}", "public Point getMaxPoint() {\r\n int maximumX = children.get(0).getShapeEndingPoint().getX();\r\n int maximumY = children.get(0).getShapeEndingPoint().getY();\r\n for(IShape shape: children) {\r\n if(shape.getShapeEndingPoint().getX() > maximumX) {\r\n maximumX = shape.getShapeEndingPoint().getX();\r\n }\r\n if(shape.getShapeEndingPoint().getY() > maximumY) {\r\n maximumY = shape.getShapeEndingPoint().getY();\r\n }\r\n }\r\n maxPoint = new Point(maximumX,maximumY);\r\n return maxPoint;\r\n }", "public double getMaxX() {\n\t\tif (pointList.size()==0) {\n\t\t\treturn 0;\n\t\t}\n\t\treturn pointList.get(pointList.size()-1 ).getX();\n\t}", "@Override\n\tpublic double getMaxX() {\n\t\treturn this.getPosition().getX();\n\t}", "public int getMax()\n {\n int max = data.get(0).getX();\n\n for(int i = 0; i < data.size(); i++)\n {\n if (data.get(i).getX() > max)\n {\n max = data.get(i).getX();\n }\n }\n\n\n return max;\n }", "public double max()\n\n {\n double max=xyValueArray.get(0).getY();\n\n for (int i = 0; i < xyValueArray.size(); i++) {\n if (xyValueArray.get(i).getY() > max) {\n max = xyValueArray.get(i).getY();\n }\n }\n return max;\n }", "public int getXMax(){\n\t\tDouble max = timeIncrements.get(timeIncrements.size()-1);\n\t\txMax = max.intValue();\n\t\treturn xMax;\n\t}", "private float getMaxX(HomePieceOfFurniture piece) {\n float [][] points = piece.getPoints();\n float maxX = Float.NEGATIVE_INFINITY;\n for (float [] point : points) {\n maxX = Math.max(maxX, point [0]);\n } \n return maxX;\n }", "public double getMaxCoordinateValue() {\n if (this.max_x > this.max_y)\n return this.max_x;\n else\n return this.max_y;\n }", "float xMax();", "@Override\n public int iamax(INDArray x) {\n return NativeBlas.isamax(x.length(), x.data(), x.offset(), x.stride()[0]) - 1;\n }", "public double getXRangeMax() {\n return xRangeMax;\n }", "public int getMaxX() {\n return scroller.getMaxX();\n }", "@Override\n public int iamax(IComplexNDArray x) {\n return NativeBlas.icamax(x.length(), x.data(), x.offset(), 1) - 1;\n }", "@Basic\n\tpublic double getVxmax() {\n\t\treturn this.vxmax;\n\t}", "public Boolean getLargestAxis() {\n\t\tdouble widthX = this.maxx.getData().getX()-this.minx.getData().getX();\n\t\tdouble widthY = this.maxy.getData().getY()-this.miny.getData().getY();\n\t\treturn (widthX > widthY);\n\t}", "float getXStepMax();", "public int getMaxTileX() {\n return convertXToTileX(getMaxX() - 1);\n }", "public double getFrameMaxX() { return isRSS()? getFrame().getMaxX() : getMaxX(); }", "@Override\n public double getMaxX() {\n if (getPoints() == null || getPoints().size() == 0) {\n return defaultY;\n }\n Set<Double> keys = getPoints().keySet();\n for (Double key : keys) {\n if (key >= adapter.getMaxFrequency()) {\n return key;\n }\n }\n return getPoints().lastKey();// this.getPoints().ceilingKey(this.getPoints().lastKey()/2);\n }", "public Point getMax () {\r\n\r\n\treturn getB();\r\n }", "public double getMaxValue() {\n double max = Double.NEGATIVE_INFINITY;\n for (int i = 0; i < rows; i++) {\n for (int j = 0; j < cols; j++) {\n if (data[i][j] > max)\n max = data[i][j];\n }\n }\n return max;\n }", "public int getMaximumPoints();", "public int extractMaximum() {\n \n int max = maximum();\n\n if (max == -1) {\n assert(xft.size() == 0);\n return -1;\n }\n \n remove(max);\n \n return max;\n }", "public int getYMax(){\n\t\treturn yDim;\n\t}", "public void theMaxX() {\n\t\tfloat maxx = coords.getFirst().getX(); // set the largest x to the first one\n\t\tfor(Coord2D c: coords) { // go through the whole linked list\n\t\t\tif(c.getX() > maxx) { // if the x of the current coordinate set is larger than the current max\n\t\t\t\tmaxx = c.getX(); // make that current coordinate the new max\n\t\t\t}\n\t\t}\n\t\tthis.setMaxX(maxx);\n\t}", "org.apache.xmlbeans.XmlDecimal xgetMaximum();", "public double max() {\n\t\tif (count() > 0) {\n\t\t\treturn _max.get();\n\t\t}\n\t\treturn 0.0;\n\t}", "public double max(Triangle figure) {\n double[] sides = {\n figure.getA().distanceTo(figure.getB()),\n figure.getA().distanceTo(figure.getC()),\n figure.getC().distanceTo(figure.getB()),\n };\n double maxSide = 0;\n for (double i : sides) {\n if (maxSide < i) {\n maxSide = i;\n }\n }\n return maxSide;\n }", "public int getYMax(){\n\t\tDouble max = Collections.max(byteIncrements);\n\t\tyMax = max.intValue();\n\t\treturn yMax;\n\t}", "public X maximumSize(Dimension max) {\n component.setMaximumSize(max);\n return (X) this;\n }", "public AnyType findMax() {\r\n\t\tif (isEmpty())\r\n\t\t\tthrow new UnderflowException();\r\n\t\treturn findMax(root).element;\r\n\t}", "public int getMax() {\n\t\treturn getMax(0.0f);\n\t}", "public double elementMaxAbs() {\n return ops.elementMaxAbs(mat);\n }", "public int maximum() {\n \n if (xft.size() == 0) {\n return -1;\n }\n \n Integer maxRepr = xft.maximum();\n \n assert(maxRepr != null);\n \n int index = maxRepr.intValue()/binSz;\n \n TreeMap<Integer, Integer> map = getTreeMap(index);\n \n assert(map != null);\n \n Entry<Integer, Integer> lastItem = map.lastEntry();\n \n assert(lastItem != null);\n \n return lastItem.getKey();\n }", "abstract int calculateMaximumSize(int axis);", "public final double getMax() {\r\n\t\treturn this.m_max;\r\n\t}", "public float getMaximumSpan(int axis) {\n return Integer.MAX_VALUE;\n }", "double rightmost_alien_x() {\n double max_x = 0;\n for (Alien alien : aliens) {\n if (alien.x_position > max_x) {\n max_x = alien.x_position;\n }\n }\n return max_x;\n }", "public Integer getMaxPax() {\n return this.maxPax;\n }", "public double getMaximum() {\n return (max);\n }", "final int getMaximumSize(int axis) {\n if (max == UNSET) {\n max = constrain(calculateMaximumSize(axis));\n }\n return max;\n }", "float yMax();", "public AnyType findMax() {\n\t\treturn elementAt(findMax(root));\n\t}", "public double max() {\n/* 323 */ Preconditions.checkState((this.count != 0L));\n/* 324 */ return this.max;\n/* */ }", "public T getMax()\n\t{\n\t\tif(size == 0)\n\t\t{\n\t\t\treturn null;\n\t\t}\n\t\telse if(size == 1)\n\t\t{\n\t\t\treturn array[0];\n\t\t}\n\t\telse if(size == 2)\n\t\t{\n\t\t\treturn array[1];\n\t\t}\n\n\t\telse\n\t\t{\n\t\t\tif(object.compare(array[1], array[2]) < 0)\n\t\t\t{\n\t\t\t\treturn array[2];\n\t\t\t}\n\t\t\telse if(object.compare(array[1], array[2]) > 0)\n\t\t\t{\n\t\t\t\treturn array[1];\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\treturn array[1];\n\t\t\t}\n\n\t\t}\n\t}", "public double max(){\r\n\t\t//variable for max val\r\n\t\tdouble max = this.data[0];\r\n\t\t\r\n\t\tfor (int i = 1; i < this.data.length; i++){\r\n\t\t\t//if the maximum is less than the current index, change max to that value\r\n\t\t\tif (max < this.data[i]){\r\n\t\t\t\tmax = this.data[i];\r\n\t\t\t}\r\n\t\t}\r\n\t\t//return the maximum val\r\n\t\treturn max;\r\n\t}", "public double getMaxDensity(){\n\t\tdouble mode = Math.exp(location - scale * scale);\n\t\treturn getDensity(mode);\n\t}", "public long max() {\n\t\tif (!this.isEmpty()) {\n\t\t\tlong result = theElements[0];\n\t\t\tfor (int i=1; i<numElements; i++) {\n\t\t\t\tif (theElements[i] > result) {\n\t\t\t\t\tresult = theElements[i];\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn result;\n\t\t}\n\t\telse {\n\t\t\tthrow new RuntimeException(\"Attempted to find max of empty array\");\n\t\t}\n\t}", "public SplayNode maximum(SplayNode x) {\n\t\t while(x.right != null)\n\t\t x = x.right;\n\t\t return x;\n\t\t }", "public Coord maxCell()\n {\n\t int maxX = getGrid().keySet().stream().mapToInt(Coord::getX).max().orElse(0);\n\n\t int maxY = getGrid().keySet().stream().mapToInt(Coord::getY).max().orElse(0);\n\n\t return new Coord(maxX, maxY);\n }", "public double getMaxT() {\n return v[points_per_segment - 1];\n }", "private double findMaxY() {\n\t\tif (pointList.size()==0) {\n\t\t\treturn Double.NaN;\n\t\t}\n\t\tdouble max = pointList.get(0).getY();\n\t\tfor(int i=0; i<pointList.size(); i++)\n\t\t\tif (max<pointList.get(i).getY())\n\t\t\t\tmax = pointList.get(i).getY();\n\t\treturn max;\n\t}", "public float max2DX() {\n return Math.max(stop2D.x, start2D.x);\n }", "public DoubleMatrix1D getDeltaMax() { return deltaMax_; }", "public double max() {\n return max(0.0);\n }", "public double getApproxEmax() {\n try {\n return computeE(getTmax());\n }\n catch (Exception e) {\n return 0x0.0p0;\n }\n }", "private double bufferHeadMaxX()\n {\n if (segmentBuffer.size() <= 0)\n return Double.NaN;\n LineSeg seg = (LineSeg) segmentBuffer.get(0);\n return seg.getMaxX();\n }", "public int getyMax() {\n\t\treturn yMax;\n\t}", "public double[] getMax(){\n double[] max = new double[3];\n for (Triangle i : triangles) {\n double[] tempmax = i.maxCor();\n max[0] = Math.max( max[0], tempmax[0]);\n max[1] = Math.max( max[1], tempmax[1]);\n max[2] = Math.max( max[2], tempmax[2]);\n }\n return max;\n }", "int getMaxScale();", "public E findMax() {\r\n\t\treturn heap.get(0);\r\n\t}", "public double getxMaxSpeed() {\n return this.X_MAX_SPEED;\n }", "public double getMaxValue() {\n\t\tdouble max = Double.NEGATIVE_INFINITY;\n\t\tfor (int i = 0; i < dataSheet.getDesignCount(); i++) {\n\t\t\tdouble value = dataSheet.getDesign(i).getDoubleValue(this);\n\t\t\tif (value > max)\n\t\t\t\tmax = value;\n\t\t}\n\t\treturn max;\n\t}", "public double getMaxDistance()\n\t{\n\t // Make sure it went some distance\n\t\tif(xPosList.size() > 0)\n\t\t{\n\t\t\treturn this.xPosList.get(xPosList.size() - 1);\n\t\t}\n\n\t\treturn 0;\n\t}", "double getMax() {\n\t\t\treturn value_max;\n\t\t}", "public int getMaximumValue() {\n/* 359 */ return Math.min(32767, (this.c.getMaximumSize()).width);\n/* */ }", "public K max();", "public double getHighestChildY() {\n\t\t/* Aucun enfant => aucune contrainte en y vers le bas */\n\t\tif (childrenEdges == null)\n\t\t\treturn Double.MAX_VALUE;\n\t\t\n\t\tdouble minY = Double.MAX_VALUE;\n\t\tfor (int i = 0; i < childrenEdges.size(); i++) {\n\t\t\t/*\n\t\t\t * Recherche de l'extrémité la plus basse de l'arête (la plus haute étant le noeud\n\t\t\t * courant)\n\t\t\t */\n\t\t\tEdge currentEdge = childrenEdges.elementAt(i);\n\t\t\tdouble y1 = currentEdge.getSource().getShape().getY();\n\t\t\tdouble y2 = currentEdge.getDestination().getShape().getY();\n\t\t\tdouble y = (y1 > y2) ? y1 : y2;\n\t\t\t\n\t\t\t/* Recherche de l'extrémité la plus haute parmi toutes les extrémités basses */\n\t\t\tif (y < minY)\n\t\t\t\tminY = y;\n\t\t}\n\t\t\n\t\treturn minY;\n\t}", "Double getMaximumValue();", "double getMax();", "double getMax();", "public Output<TFloat32> yMax() {\n return yMax;\n }", "public double getMaxY() {\n\t\treturn my;\n\t}", "public static int getIndexOfMax(double[] x) {\n Objects.requireNonNull(x, \"The supplied array was null\");\n int index = 0;\n double max = Double.MIN_VALUE;\n for (int i = 0; i < x.length; i++) {\n if (x[i] > max) {\n max = x[i];\n index = i;\n }\n }\n return (index);\n }", "public int getMaximum() {\n \tcheckWidget();\n \treturn maximum;\n }", "public int getMaximum() {\r\n return max;\r\n }", "@SuppressWarnings(\"static-method\")\n\tprivate int getXmax(BufferedImage img) {\n\t\tint height = img.getHeight();\n\t\tint width = img.getWidth();\n\t\tint trimmedWidth = 0;\n\t\tfor (int i = 0; i < height; i++) {\n\t\t\tfor (int j = width - 1; j >= 0; j--) {\n\t\t\t\tif (img.getRGB(j, i) != Color.WHITE.getRGB() && j > trimmedWidth) {\n\t\t\t\t\ttrimmedWidth = j;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn trimmedWidth;\n\t}", "public double getMaxY() { return getY() + getHeight(); }", "public int maxElement() {\n\t\tNode max=root;\n\t\tint out=-1;\n\t\twhile(max!=null) {\n\t\t\tout=max.data;\n\t\t\tmax=max.right;\n\t\t}\n\t\treturn out;\n\t}", "@Override\n public double getMaxX() {\n return curMap.getMap().getWidth();\n }", "public T max();", "public Double getMaximum() {\n\t\treturn maximum;\n\t}", "public double getMaximumScale() {\n\t\treturn 0;\n\t}", "private double getMax() {\n return Collections.max(values.values());\n }", "public int getMax() {\n return max;\n }", "public int getMax() {\n return max;\n }", "public int getMax() {\n return max;\n }", "private long getAbsMax() {\n return Math.max(Math.abs(Visualizer.getLowerBound().get()),\n Visualizer.getUpperBound().get());\n }", "E maxVal();", "int max() {\n\t\t// added my sort method in the beginning to sort out array\n\t\tint n = array.length;\n\t\tint temp = 0;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 1; j < (n - i); j++) {\n\n\t\t\t\tif (array[j - 1] > array[j]) {\n\t\t\t\t\ttemp = array[j - 1];\n\t\t\t\t\tarray[j - 1] = array[j];\n\t\t\t\t\tarray[j] = temp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t// finds the last term in the array --> if array is sorted then the last\n\t\t// term should be max\n\t\tint x = array[array.length - 1];\n\t\treturn x;\n\t}", "public float max3DX() {\n return Math.max(stop3D.x, start3D.x);\n }" ]
[ "0.753583", "0.7341127", "0.7325929", "0.73242563", "0.73205984", "0.72111756", "0.709119", "0.70713544", "0.70329094", "0.70266175", "0.7008182", "0.6980887", "0.69280946", "0.68909883", "0.6847777", "0.684287", "0.67902917", "0.66903573", "0.6608874", "0.6506307", "0.6478053", "0.64658797", "0.64291286", "0.64035165", "0.6387451", "0.63861525", "0.6381281", "0.63242245", "0.6310449", "0.630661", "0.6250509", "0.62149245", "0.617486", "0.6148699", "0.61388594", "0.6136785", "0.61253166", "0.6095042", "0.6090576", "0.608696", "0.6077514", "0.60774785", "0.6074805", "0.6074073", "0.60691214", "0.6066059", "0.6065118", "0.6040423", "0.6015983", "0.6014533", "0.599387", "0.5988975", "0.5984266", "0.59757835", "0.5967683", "0.5964993", "0.59621435", "0.5961561", "0.5957206", "0.5949973", "0.59494823", "0.59492797", "0.5949039", "0.59330803", "0.58992565", "0.5891431", "0.5885673", "0.5878774", "0.587794", "0.58706576", "0.58482164", "0.5844258", "0.5838988", "0.5823077", "0.58180094", "0.58047694", "0.57825124", "0.5772577", "0.57656425", "0.57656425", "0.5759235", "0.57592344", "0.57547796", "0.57273644", "0.5724163", "0.57241064", "0.5722756", "0.5719471", "0.57167", "0.5712506", "0.57111794", "0.5709874", "0.57070816", "0.57009673", "0.57009673", "0.57009673", "0.57001305", "0.56980866", "0.5694924", "0.5692288" ]
0.74321014
1
Returns the max Y of the shape (assumes not rotated, scaled or skewed).
public double getMaxY() { return getY() + getHeight(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public double getMaximumY () {\n return minimumY + height;\n }", "public double getBiggestY() {\r\n double y = 0;\r\n List<Enemy> enemyLowest = this.lowestLine();\r\n if (enemyLowest.size() > 0) {\r\n y = enemyLowest.get(0).getCollisionRectangle().getBoundaries().getLowY();\r\n for (Enemy e: enemyLowest) {\r\n if (e.getCollisionRectangle().getBoundaries().getLowY() > y) {\r\n y = e.getCollisionRectangle().getBoundaries().getLowY();\r\n }\r\n }\r\n return y;\r\n }\r\n return y;\r\n }", "public double getMaxY() {\n\t\treturn my;\n\t}", "public final int getMaxY() {\n return getMinY() + getHeight();\n }", "private double findMaxY() {\n\t\tif (pointList.size()==0) {\n\t\t\treturn Double.NaN;\n\t\t}\n\t\tdouble max = pointList.get(0).getY();\n\t\tfor(int i=0; i<pointList.size(); i++)\n\t\t\tif (max<pointList.get(i).getY())\n\t\t\t\tmax = pointList.get(i).getY();\n\t\treturn max;\n\t}", "public int getyMax() {\n\t\treturn yMax;\n\t}", "float yMax();", "public double max()\n\n {\n double max=xyValueArray.get(0).getY();\n\n for (int i = 0; i < xyValueArray.size(); i++) {\n if (xyValueArray.get(i).getY() > max) {\n max = xyValueArray.get(i).getY();\n }\n }\n return max;\n }", "public int getYMax(){\n\t\treturn yDim;\n\t}", "public int getYMax(){\n\t\tDouble max = Collections.max(byteIncrements);\n\t\tyMax = max.intValue();\n\t\treturn yMax;\n\t}", "public Output<TFloat32> yMax() {\n return yMax;\n }", "public double getHighestChildY() {\n\t\t/* Aucun enfant => aucune contrainte en y vers le bas */\n\t\tif (childrenEdges == null)\n\t\t\treturn Double.MAX_VALUE;\n\t\t\n\t\tdouble minY = Double.MAX_VALUE;\n\t\tfor (int i = 0; i < childrenEdges.size(); i++) {\n\t\t\t/*\n\t\t\t * Recherche de l'extrémité la plus basse de l'arête (la plus haute étant le noeud\n\t\t\t * courant)\n\t\t\t */\n\t\t\tEdge currentEdge = childrenEdges.elementAt(i);\n\t\t\tdouble y1 = currentEdge.getSource().getShape().getY();\n\t\t\tdouble y2 = currentEdge.getDestination().getShape().getY();\n\t\t\tdouble y = (y1 > y2) ? y1 : y2;\n\t\t\t\n\t\t\t/* Recherche de l'extrémité la plus haute parmi toutes les extrémités basses */\n\t\t\tif (y < minY)\n\t\t\t\tminY = y;\n\t\t}\n\t\t\n\t\treturn minY;\n\t}", "public int getMaxY() {\n\t\treturn maxY;\n\t}", "public int getMaxTileY() {\n return convertYToTileY(getMaxY() - 1);\n }", "public int getMaxY() {\n return maxY;\n }", "public double getMaxY() {\n\treturn maxY;\n }", "public double getChannelYPositionLast() {\n double max = 0.0;\n for (ChannelGraphic channelGraphic : channelGraphics) {\n if (channelGraphic.getyPosition() > max) {\n max = channelGraphic.getyPosition();\n }\n }\n return max;\n }", "public double getMaxCoordinateValue() {\n if (this.max_x > this.max_y)\n return this.max_x;\n else\n return this.max_y;\n }", "public double getFrameMaxY() { return isRSS()? getFrame().getMaxY() : getMaxY(); }", "private float getMaxY(HomePieceOfFurniture piece) {\n float [][] points = piece.getPoints();\n float maxY = Float.NEGATIVE_INFINITY;\n for (float [] point : points) {\n maxY = Math.max(maxY, point [1]);\n } \n return maxY;\n }", "public double getYRangeMax() {\n return yRangeMax;\n }", "public int getMaxY() {\n return scroller.getMaxY();\n }", "private int getYmax(int[] yt){\n\t\tint max = -1;\n\t\tfor(int i = 0;i<=3;i++){\n\t\t\tif(max < yt[i]){\n\t\t\t\tmax = yt[i];\n\t\t\t}\n\t\t}\n\t\treturn max;\n\t}", "public int getScrollMaxY(){\n return Math.max(0, getLineHeight() * getLineCount() - getHeight() / 2);\n }", "public void theMaxY() {\n\t\tfloat maxy = coords.getFirst().getY(); // set the largest y to the first one\n\t\tfor(Coord2D c: coords) { // go through the whole linked list\n\t\t\tif(c.getY() > maxy) { // if the y of the current coordinate set is larger than the current max\n\t\t\t\tmaxy = c.getY(); // make that current coordinate the new max\n\t\t\t}\n\t\t}\n\t\tthis.setMaxY(maxy);\n\t}", "public float max2DY() {\n return Math.max(stop2D.y, start2D.y);\n }", "public float getYChartMax() {\n return 0.0F;\n }", "public int getMaxYTxt(){\n\n int max = 0;\n\n for (Point p : points){\n Rect size = getTxtBounds(tetxPaint, Float.toString(p.getY()));\n\n if(max < size.width())\n max = size.width();\n }\n\n return max;\n }", "@Override\n public double getMaxY() {\n return curMap.getMap().getHeight();\n }", "public Point getMaxPoint() {\r\n int maximumX = children.get(0).getShapeEndingPoint().getX();\r\n int maximumY = children.get(0).getShapeEndingPoint().getY();\r\n for(IShape shape: children) {\r\n if(shape.getShapeEndingPoint().getX() > maximumX) {\r\n maximumX = shape.getShapeEndingPoint().getX();\r\n }\r\n if(shape.getShapeEndingPoint().getY() > maximumY) {\r\n maximumY = shape.getShapeEndingPoint().getY();\r\n }\r\n }\r\n maxPoint = new Point(maximumX,maximumY);\r\n return maxPoint;\r\n }", "private Integer getHighestYAt(Location locationIncludingYmax, int minY) {\n int y = locationIncludingYmax.getBlockY();\n while (y >= minY) {\n locationIncludingYmax.setY(y);\n Block block = locationIncludingYmax.getBlock();\n if (block.getType().isSolid())\n return y;\n y--;\n }\n return -1;\n }", "public static int getEndYCoordinate(){\n\tint y = getThymioEndField_Y(); \n\t\t\n\t\tif(y == 0){\n\t\t\n \t}else{\n \t y *= FIELD_HEIGHT;\n \t}\n\t\treturn y;\n\t}", "public float setYMax(){\n\t\tif (game.getDifficulty() == 0)\n\t\t\treturn 72;\n\t\telse if (game.getDifficulty() == 1)\n\t\t\treturn 108;\n\t\telse\n\t\t\treturn 144;\n\t}", "public int yPos() {\n\t\treturn Engine.scaleY(y);\n\t}", "protected double getReferenceY() {\n if (isYAxisBoundsManual() && !mGraphView.getGridLabelRenderer().isHumanRoundingY()) {\n if (Double.isNaN(referenceY)) {\n referenceY = getMinY(false);\n }\n return referenceY;\n } else {\n // starting from 0 so that the steps have nice numbers\n return 0;\n }\n }", "public double getY() {\n\t\tRectangle2D bounds = _parentFigure.getBounds();\n\t\tdouble y = bounds.getY() + (_yt * bounds.getHeight());\n\t\treturn y;\n\t}", "public long getMaxHeight(){\r\n\t\treturn world.getHeight();\r\n\t}", "public Boolean getLargestAxis() {\n\t\tdouble widthX = this.maxx.getData().getX()-this.minx.getData().getX();\n\t\tdouble widthY = this.maxy.getData().getY()-this.miny.getData().getY();\n\t\treturn (widthX > widthY);\n\t}", "public SVGLength getY() {\n return y;\n }", "public float getUpperRightY()\n {\n return ((COSNumber)rectArray.get(3)).floatValue();\n }", "public int getYSize()\n\t{\n\t\treturn this.ySize;\n\t}", "public Point getMax () {\r\n\r\n\treturn getB();\r\n }", "public final double getMax() {\r\n\t\treturn this.m_max;\r\n\t}", "public double getMaximum() {\n return (max);\n }", "public int getMaxHeight() {\n return Integer.MAX_VALUE;\n }", "public double getMaxValue() {\n double max = Double.NEGATIVE_INFINITY;\n for (int i = 0; i < rows; i++) {\n for (int j = 0; j < cols; j++) {\n if (data[i][j] > max)\n max = data[i][j];\n }\n }\n return max;\n }", "public double getMaxHeight()\n\t{\n\t\treturn this.maxHeight;\n\t}", "@SuppressWarnings(\"static-method\")\n\tprivate int getYmax(BufferedImage img) {\n\t\tint width = img.getWidth();\n\t\tint height = img.getHeight();\n\t\tint trimmedHeight = 0;\n\t\tfor (int i = 0; i < width; i++) {\n\t\t\tfor (int j = height - 1; j >= 0; j--) {\n\t\t\t\tif (img.getRGB(i, j) != Color.WHITE.getRGB() && j > trimmedHeight) {\n\t\t\t\t\ttrimmedHeight = j;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn trimmedHeight;\n\t}", "public int maxArea(int[] height);", "public int getMaxHeight() {\n\t\treturn maxHeight;\n\t\t//Quickly return the stored max height info\n\t}", "public double getY()\n\t\t{\n\t\t\treturn this.y[0];\n\t\t}", "public int getSizeY(){\r\n\t\treturn size[1];\r\n\t}", "public float getCropRectScaleY() {\n // No scale.\n return 1;\n }", "public double getEndY() {\n\treturn v2.getY();\n }", "public double getRight(double max) {\n return Math.max(max, max - (this.length * Math.cos(Math.toRadians(this.theta)))); \n }", "public double getYRotate() {\n\t\tif (Math.abs(getRawAxis(Axis_YRotate)) > stickDeadband) {\n\t\t\treturn getRawAxis(Axis_YRotate);\n\t\t} else {\n\t\t\treturn 0;\n\t\t}\n\t}", "private long getAbsMax() {\n return Math.max(Math.abs(Visualizer.getLowerBound().get()),\n Visualizer.getUpperBound().get());\n }", "public int getSizeY() {\r\n\t\treturn sizeY;\r\n\t}", "public double max() {\n\t\tif (count() > 0) {\n\t\t\treturn _max.get();\n\t\t}\n\t\treturn 0.0;\n\t}", "static long largestRectangle(int[] h) {\n\n int max = -1;\n\n for(int i = 0; i < h.length; i++){\n int height = h[i];\n int currentW = 1;\n int pointer = i-1;\n while(pointer >= 0 && h[pointer] >= height){\n currentW++;\n pointer--;\n }\n pointer = i+1;\n while(pointer < h.length && h[pointer] >= height){\n currentW++;\n pointer++;\n }\n\n max = Math.max(max, height*currentW);\n }\n\n return max;\n\n }", "public double lastYValue() {\n\t\tif (pointList.size()==0)\n\t\t\treturn Double.NaN;\n\t\telse\n\t\t\treturn pointList.get( pointList.size()-1).getY();\n\t}", "public int getYSize() {\n\t\treturn (highPoint.getBlockY() - lowPoint.getBlockY()) + 1;\n\t}", "public float max3DY() {\n return Math.max(stop3D.y, start3D.y);\n }", "public float getYHeight() {\n\t\treturn this.yHeight;\n\t}", "public DoubleMatrix1D getDeltaMax() { return deltaMax_; }", "public static double getOrigY() {\n return 0.3987833857536316;\n }", "public short getHeight() {\n\n\t\treturn getShort(ADACDictionary.Y_DIMENSIONS);\n\t}", "public double max() {\n/* 323 */ Preconditions.checkState((this.count != 0L));\n/* 324 */ return this.max;\n/* */ }", "public int getY(){\n\t\tif(!resetCoordinates()) return 10000;\n\t\treturn Math.round(robot.translation.get(1)/ AvesAblazeHardware.mmPerInch);\n\t}", "public final double getY() {\n return y;\n }", "public int getY() {\n return (int) Math.round(y);\n }", "double getMax() {\n\t\t\treturn value_max;\n\t\t}", "public double max(Triangle figure) {\n double[] sides = {\n figure.getA().distanceTo(figure.getB()),\n figure.getA().distanceTo(figure.getC()),\n figure.getC().distanceTo(figure.getB()),\n };\n double maxSide = 0;\n for (double i : sides) {\n if (maxSide < i) {\n maxSide = i;\n }\n }\n return maxSide;\n }", "public double getY();", "Double getYLength();", "public int getY() {\n if (this.coordinates == null)\n return -1;\n return this.coordinates.y();\n }", "public double getY() {\n\t\treturn y;\n\t}", "public double getY() {\n\t\treturn y;\n\t}", "public double getY() {\n\t\treturn y;\n\t}", "public double getY() {\n\t\treturn y;\n\t}", "public double getMaxT() {\n return v[points_per_segment - 1];\n }", "public final int getHeight() {\r\n return (int) size.y();\r\n }", "public final double getY() {\n return y;\n }", "public static int TLEmaxArea(int[] height) {\n int y = 0, y2 = 0;\n int maxs = 0;\n for (int x = 0; x < height.length - 1; x++) {\n for (int x2 = x + 1; x2 < height.length; x2++) {\n y = height[x];\n y2 = height[x2];\n maxs = Math.max(maxs, Math.min(y, y2) * (x2 - x));\n }\n }\n return maxs;\n }", "public double getMinY() {\n\t\treturn ny;\n\t}", "public int getY() {\n\t\t\tint lastRobot = (state[2 * k] + k - 1) % k;\n\t\t\treturn state[lastRobot + k];\n\t\t}", "public double getY()\n\t{\n\t\treturn y;\n\t}", "public double getY() {\n return mY;\n }", "public Double getMaximum() {\n\t\treturn maximum;\n\t}", "private double getMax() {\n return Collections.max(values.values());\n }", "public double getY() {\n return this.y;\n }", "public double getY() {\n return this.y;\n }", "public double getY() {\n return this.y;\n }", "protected Number getY() {\n return this.yCoordinate;\n }", "public double topmostVertexY() {\n if (right != null && ! right.isEmpty() &&\n left != null && ! left.isEmpty() &&\n left.get(0).getLine().isAscending() &&\n ! right.get(0).getLine().isAscending()) {\n return Line.intersection(right.get(0).getLine(),\n left.get(0).getLine()).getY();\n } else {\n return Double.POSITIVE_INFINITY;\n }\n }", "public Double getY() {\n\t\treturn y;\n\t}", "public Double getMaximumValue () {\r\n\t\treturn (maxValue);\r\n\t}", "public static Double LargeY() {\n return LargeY;\n }", "public final int getY()\n\t{\n\t\treturn pos.y;\n\t}", "public double max(){\r\n\t\t//variable for max val\r\n\t\tdouble max = this.data[0];\r\n\t\t\r\n\t\tfor (int i = 1; i < this.data.length; i++){\r\n\t\t\t//if the maximum is less than the current index, change max to that value\r\n\t\t\tif (max < this.data[i]){\r\n\t\t\t\tmax = this.data[i];\r\n\t\t\t}\r\n\t\t}\r\n\t\t//return the maximum val\r\n\t\treturn max;\r\n\t}" ]
[ "0.77317184", "0.76597", "0.765793", "0.7645681", "0.75488704", "0.7522877", "0.7427177", "0.73604876", "0.7359815", "0.7358399", "0.7214912", "0.71421385", "0.714035", "0.7113746", "0.71024555", "0.7095327", "0.7053363", "0.70191675", "0.7017867", "0.6975407", "0.69393855", "0.69237834", "0.6911329", "0.6766338", "0.67617136", "0.67421615", "0.6736209", "0.66906714", "0.6612041", "0.6554248", "0.6534123", "0.6510426", "0.64945817", "0.6485955", "0.6485856", "0.6477967", "0.6463352", "0.64372575", "0.64245135", "0.6390661", "0.6376248", "0.6362816", "0.6361085", "0.63242376", "0.6313807", "0.6302337", "0.6299412", "0.62840235", "0.627195", "0.62489516", "0.62251157", "0.6219108", "0.6214529", "0.6199663", "0.61914545", "0.61813587", "0.6173166", "0.61720437", "0.6171309", "0.6169661", "0.6165185", "0.61565965", "0.61518854", "0.6144391", "0.6127536", "0.6118093", "0.6102415", "0.6092675", "0.60787576", "0.6063349", "0.60622907", "0.60583365", "0.6056184", "0.6053175", "0.6052475", "0.6046115", "0.6045607", "0.6045607", "0.6045607", "0.6045607", "0.60433865", "0.6038721", "0.603679", "0.6033354", "0.602258", "0.60215205", "0.6020565", "0.6016349", "0.6011276", "0.600578", "0.5997864", "0.5997864", "0.5997864", "0.59971064", "0.5992307", "0.5990162", "0.5988638", "0.59809715", "0.5978634", "0.5977955" ]
0.7747756
0
Returns the XY location of the shape as a point.
public RMPoint getXY() { return new RMPoint(getX(), getY()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Point getLocation() {\r\n return new Point((int)x,(int)y);\r\n }", "public Point getXY()\n\t{\n\t\tPoint newPoint = new Point(x,y);\t\t\t\t\t\t// Create new Point object \n\t\treturn newPoint; \t\t\t\t\t\t\t\t\t\t// Return point's x and y coordinates\n\t}", "public RMPoint getXYP() { return convertPointToShape(new RMPoint(), _parent); }", "public Point location( Solid shape ) {\n Double ex = x;\n Double wy = y;\n Double ze = z;\n\n Double lastWidth = 0.0;\n\n for ( Thing item : thingsOnThis) {\n ex = Math.max( ex, item.point.x() );\n wy = Math.max( wy, item.point.y() );\n ze = Math.max( ze, item.point.z() );\n\n lastWidth = item.solid.width();\n }\n Thing thing = new Thing();\n thing.point = new Point( x, wy + lastWidth, z + height );\n thing.solid = shape;\n\n thingsOnThis.add( thing );\n\n return thing.point;\n }", "public final double getX() { return location.getX(); }", "public abstract Point location( Solid shape ) throws DataException, FeatureException, InvalidXMLException,\n LocationException, MountingException, ReferenceException\n ;", "public Point getLocation();", "public Point.Double getPosition(){\r\n return new Point.Double(x, y);\r\n }", "public Point getPosition();", "public Point getLocation() {\n return pos;\n }", "@Override\n\tpublic Point getLocation() {\n\t\treturn new Point(x,y);\n\t}", "public double getPoint() {\r\n return point;\r\n }", "public double getPoint() {\r\n return point;\r\n }", "public Point getLocation() {\r\n\t\tint[] p = value.getIntArray();\r\n\t\tif (p.length < 2) {\r\n\t\t\tthrow new RuntimeException(\r\n\t\t\t\t\t\"Location parameters must contain at least 2 values\");\r\n\t\t}\r\n\t\treturn (new Point(p[0], p[1]));\r\n\t}", "public Point getCoordinate() {\n return this.coordinate;\n }", "public KDPoint getPoint() {\n\t\treturn new KDPoint(this.loc.lat,this.loc.lng,0.0);\n\t}", "public Point getPosition() {\n\t\treturn new Point(getXPosition(), getYPosition());\n\t}", "public Point getPosition() {\n return new Point(position);\n }", "Point getPosition();", "Point getPosition();", "public Point getPosition(){\r\n return new Point(this.position);\r\n }", "public double getX() {\n\t\treturn point[0];\n\t}", "public Point getLocation() {\n Map<String, Long> map = (java.util.Map<String, Long>) driver.executeAtom(\n atoms.getLocationJs, false, this);\n return new Point(map.get(\"x\").intValue(), map.get(\"y\").intValue());\n }", "public Integer getPoint() {\n return point;\n }", "public float getX() { return xCoordinate;}", "public Coordinate getPosition();", "public Point getPos(){\n return new Point(getUserFriendlyXPos(),getUserFriendlyYPos());\n }", "public Point2D getLocation();", "@Generated\n @Selector(\"position\")\n @ByValue\n public native CGPoint position();", "double getXPosition();", "public Coordinate getLocation();", "public int getXCoordinate ()\n {\n return xCoordinate;\n }", "public int getPointX() {\n return pointX;\n }", "public Point getPosition() {\n return this.position;\n }", "public Point getPosition() {\n return position;\n }", "public double getXCoordinate() {\n return xCoordinate;\n }", "public Point getLocation ( )\r\n\t{\r\n\t\treturn new Point ( currentCol, currentRow );\r\n\t}", "public LatLonPoint getLatLon() {\n return LatLonPoint.create(getLatitude(), getLongitude());\n }", "public int getXcoord(){\n\t\treturn this.coordinates[0];\n\t}", "public double getX() {\n return position.getX();\n }", "public native GLatLng getPoint(GInfoWindow self)/*-{\r\n\t\treturn self.getPoint();\r\n\t}-*/;", "public double getX_location() {\n return x_location;\n }", "public double getLocationX() {\r\n\t\treturn location.getX();\r\n\t}", "public Point getPoint() {\n return point;\n }", "public double getXPos() {\n\t\treturn this.position[0];\n\t}", "public Point getPoint()\n\t{\n\t\treturn point;\n\t}", "public Point getLocation() {\r\n\t\treturn this.center;\r\n\t}", "public PVector getPos() {\n\t\treturn new PVector(getX(), getY());\n\t}", "public static Point2D.Double getCenter(Shape shape) {\n\t\tRectangle bounds = shape.getBounds();\n\t\tdouble x = bounds.getX() + bounds.getWidth()/2;\n\t\tdouble y = bounds.getY() + bounds.getHeight()/2;\n\t\treturn new Point2D.Double(x,y);\n\t}", "@Override\n\tpublic Point getLocation() {\n\t\treturn position;\n\t}", "public double getXCoordinates() { return xCoordinates; }", "public int getX() {\n return this.coordinate.x;\n }", "public Point getPoint() {\n return this.mPoint;\n }", "public Point3D getLocation() {\n\t\treturn p;\n\t}", "public int getXPoint() {\r\n return this.x;\r\n }", "IntPoint getLocation();", "public Point getPosition(){\n\t\treturn position;\n\t}", "public Point getPos() {\n return this.pos;\n }", "public final Point getPosition()\n\t{\n\t\treturn pos;\n\t}", "public int getX()\r\n {\r\n return xCoord;\r\n }", "public double getX() {\r\n\t\t return this.xCoord;\r\n\t }", "public Coordinate getCoordinate() {\n\t\treturn super.listCoordinates().get(0);\n\t}", "public Point getPosition()\n\t{\n\t\treturn pos;\n\t}", "@Override\n\tpublic double getXLoc() {\n\t\tdouble side = Math.sqrt(getMySize())/2;\n\t\treturn x+side;\n\t}", "public int getxCoordinate() {\n return xCoordinate;\n }", "public int getxCoordinate() {\n return xCoordinate;\n }", "public final Point getLocation() {\n return this.location ;\n }", "public GeoPoint position(){\n return position;\n }", "public Point getPoint(){\n\t\treturn _point;\n\t}", "public Point getCentrePoint()\n\t\t{\n\t\t\tif(shape.equals(\"circle\") || shape.equals(\"ellipse\"))\n\t\t\t\treturn new Point((int)((Ellipse2D)obj).getCenterX(),(int)((Ellipse2D)obj).getCenterY());\n\t\t\tif(shape.equals(\"poly\"))\n\t\t\t{\n\t\t\t\tint xtot = 0;\n\t\t\t\tint ytot = 0;\n\t\t\t\tfor(int i=0; i < coords.length; i++)\n\t\t\t\t{\n\t\t\t\t\tif((i % 2) == 0)\n\t\t\t\t\t\txtot += coords[i];\n\t\t\t\t\telse\n\t\t\t\t\t\tytot += coords[i];\n\t\t\t\t}\n\t\t\t\treturn new Point((xtot*2)/coords.length,(ytot*2)/coords.length);\n\t\t\t}else\n\t\t\t{\n\t\t\t\treturn new Point((int)((Rectangle)obj).getCenterX(),(int)((Rectangle)obj).getCenterY());\n\t\t\t}\n\t\t}", "public double getXPosition()\n\t{\n\t\treturn xPosition;\n\t}", "public double getxCoordinate() {\n return xCoordinate;\n }", "double getX() { return pos[0]; }", "public abstract Point2D getPosition();", "public int getX() {\n return xCoord;\n }", "public int get_X_Coordinate()\n {\n return currentBallX;\n }", "public Point getLocation() { return loc; }", "public Point getPointerPosition() {\n\t\treturn new Point(getXPointerPosition(), getYPointerPosition());\n\t}", "public double getX()\n\t{\n\t\treturn x;\t\t\t\t\t\t\t\t\t\t\t\t// Return point's x-coordinate\n\t}", "public int getLocationX() {\r\n\t\treturn x;\r\n\t}", "public PointF get_position() { return _position; }", "public GeoPoint getPosition() {\n\t\treturn position;\n\t}", "public Point2D getNodePositionXY () { return n.getXYPositionMap(); }", "public Point getLocation() {\n return location;\n }", "public Point getAWTPoint() {\n\t\treturn new Point(this.x0, this.y0);\n\t}", "public Coords getCoord() {\r\n\t\treturn coord;\r\n\t}", "public X location(Point p) {\n component.setLocation(p);\n return (X) this;\n }", "public Coordinates getCoordinates() {\n if (this.coordinates == null)\n return new Coordinates(-1, -1);\n return this.coordinates;\n }", "public int getX(){\n\t\treturn this.x_location;\n\t}", "public Point getLocation() {\n\t\treturn location;\n\t}", "public Point2D getOrigin() {\r\n return new Point2D.Double(originX, originY);\r\n }", "@Basic\n\tpublic double getXCoordinate() {\n\t\treturn this.x;\n\t}", "public int getX() {\r\n\t\treturn xcoord;\r\n\t}", "public Point getMPoint() {\n\t\treturn new Point(getX() + (getWidth() / 2), getY() + (getHeight() / 2));\n\t}", "@Pure\n\tPT getGraphPoint();", "public int getX() {\n if (this.coordinates == null)\n return -1;\n return this.coordinates.x();\n }", "public Point getNotePoint() {\r\n\t\tif (rect != null) {\r\n\t\t\treturn new Point((int) rect.getX(), (int) rect.getY());\r\n\t\t} else {\r\n\t\t\treturn new Point(0, 0);\r\n\t\t}\r\n\t}", "public final double getY() { return location.getY(); }", "public PointInSpace getPointInSpace() {\n return point;\n }", "public Point getLocation() {\r\n return layout.location;\r\n }" ]
[ "0.73875695", "0.71292025", "0.7093252", "0.7013875", "0.69340384", "0.69151604", "0.6891883", "0.68916655", "0.6828541", "0.6745641", "0.66886616", "0.6653205", "0.6653205", "0.66495234", "0.6644754", "0.6628089", "0.66118026", "0.6591493", "0.65836793", "0.65836793", "0.65065765", "0.6499393", "0.6492265", "0.64672476", "0.6464625", "0.6449266", "0.6448428", "0.64483625", "0.6446831", "0.64434946", "0.6442324", "0.6439072", "0.64327693", "0.6390728", "0.63856953", "0.6369983", "0.63606554", "0.6356799", "0.63320065", "0.6328124", "0.6321064", "0.6314045", "0.6306007", "0.6302278", "0.6301663", "0.6298323", "0.6296906", "0.62952024", "0.6284406", "0.628213", "0.627517", "0.62736875", "0.6273097", "0.62708104", "0.62706995", "0.62703145", "0.6267646", "0.62389404", "0.6231721", "0.62249", "0.6218003", "0.6213532", "0.62078273", "0.620702", "0.62062955", "0.62062955", "0.62032914", "0.61929345", "0.61897737", "0.6184082", "0.61747104", "0.61735547", "0.6167515", "0.61657894", "0.6163658", "0.6157528", "0.6133341", "0.6132987", "0.61261046", "0.612556", "0.6121914", "0.61151403", "0.611313", "0.6110127", "0.6108132", "0.61064833", "0.61060745", "0.61058336", "0.61012596", "0.6098898", "0.6098887", "0.6096972", "0.60968333", "0.60962206", "0.6089197", "0.60809624", "0.6080363", "0.60773873", "0.6060011", "0.6044644" ]
0.6786106
9
Sets the X and Y location of the shape to the given point (convenience).
public void setXY(Point2D aPoint) { setXY(aPoint.getX(), aPoint.getY()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setPosition(Point point);", "public void setPosition(Point point) {\n setPosition(point.x, point.y);\n }", "public void setLocation( Point p ) {\r\n this.x = p.x;\r\n this.y = p.y;\r\n }", "public T setPoint(@NonNull PointF point) {\n return setPoint(point.x, point.y);\n }", "public void setPoint(int x, int y) {\r\n this.x = x;\r\n this.y = y;\r\n }", "public void set(Point p)\r\n\t{\r\n\t\tx = p.x;\r\n\t\ty = p.y;\r\n\t}", "public abstract void setPoint(Point p);", "public void setPosition(Point position);", "public void setX(double point) {\n this.x = point;\n }", "public void setPoint(double point){\r\n this.point = point;\r\n }", "public void setLocation(Point2D p);", "public void setLocation(float x, float y);", "public T setPoint(float x, float y) {\n this.startX = x;\n this.startY = y;\n return self();\n }", "@Override\n public void setLoc(Point p) {\n this.rect.setLocation(p);\n }", "void setLocation(int x, int y);", "public void setLocation(Point p)\n\t{\n\t\tsetLocation(p.x,p.y);\n\t}", "public Point(Point point) {\n this.x = point.x;\n this.y = point.y;\n }", "public void setCoordinate(int PointX, int PointY)\n {\n rectangle.set(PointX - rectangle.width()/2, PointY - rectangle.height()/2, PointX + rectangle.width()/2,PointY + rectangle.height()/2);\n\n //hitBox(this.rectangle);\n }", "public int setPoint(float x, float y, int gnum);", "void moveToPoint(float x, float y) {\n _x = x;\n _y = y;\n }", "public Point(Point point) {\n super(point.getReferenceX(), point.getReferenceY());\n this.x = point.x;\n this.y = point.y;\n this.setHeight(point.getHeight());\n }", "public void moveTo(Point point){\n updateUndoBuffers(new LinkedList<>());\n xPos = point.getMyX()+myGrid.getWidth()/ HALF;\n yPos = myGrid.getHeight()/ HALF-point.getMyY();\n }", "public void setPosition(double x, double y) {\r\n this.x = x;\r\n this.y = y;\r\n }", "public void setXY(int x, int y)\n\t{\n\t\tthis.x = x;\t\t\t\t\t\t\t\t\t\t\t\t\t// Update point's x-coordinate \n\t\tthis.y = y;\t\t\t\t\t\t\t\t\t\t\t\t\t// Update point's y-coordinate \n\t}", "void setPosition(double xPos, double yPos);", "@SuppressWarnings(\"unchecked\")\n public AnimatorType position(PointF point)\n {\n addTransformer(new PositionTransformer(getShape(), point));\n return (AnimatorType) this;\n }", "Point(Double x, Double y) {\n\t\tthis.setX(x);\n\t\tthis.setY(y);\n\t}", "public void setLocation(int X, int Y){\n \tlocation = new Point(X,Y);\n }", "public void setPosition(double x, double y)\n {\n mPosition = new Point2D.Double(x, y);\n }", "public void setPosition(float x, float y);", "public void setFrameXY(RMPoint aPoint) { setFrameXY(aPoint.x, aPoint.y); }", "public void setPosition(double x, double y) {\n this.x = x;\n this.y = y;\n }", "public void setPoint( Float point ) {\n this.point = point;\n }", "public abstract void setPosition(Point2D position);", "public void setObjectAtLocation(Point p, Object o);", "public void setPosition(Point p) {\r\n\t\tthis.position = p;\r\n\t\tc.setPosition(p);\r\n\t}", "public void setPosition(ScreenPoint p) {\n setX(p.x);\n setY(p.y);\n }", "public void setLoc(int x, int y) {\n locX = x;\n locY = y;\n }", "void setPos(float x, float y);", "public void setPosition(Point newPosition);", "public void setLocation(int someX, int someY) {\r\n\t\tx = someX;\r\n\t\ty = someY;\r\n\t}", "public void setPoint(Integer point) {\n this.point = point;\n }", "public void setOrigin(Point p) {\n origin = new Point(p);\n }", "public void setLocation(Vec2f loc) {\n\t\tsuper.setLocation(loc);\n\t\tif (_shape != null) _shape.setLocation(loc);\n\t}", "public void setPosition(int x, int y) {\n this.coordX = x;\n this.coordY = y;\n }", "public X location(Point p) {\n component.setLocation(p);\n return (X) this;\n }", "public void setPosition(double x, double y){\r\n this.x = (float)x;\r\n this.y = (float)y;\r\n changed();\r\n }", "public void setPoint(Integer point) {\n\t\tthis.point = point;\n\t}", "public void setPoint(Point operand, Point target) {\n\tfor (Shape s : this.shapes)\n\t s.setPoint(operand, target);\n }", "public void setPosition(Point position){\r\n this.position.set(position.x, position.y);\r\n\r\n this.shadow.setPosition(position);\r\n this.surface.setPosition(position);\r\n this.shading.setPosition(position);\r\n\r\n\r\n this.setBounds(new Rect(\r\n this.position.x - this.radius,\r\n this.position.y - this.radius,\r\n this.position.x + this.radius,\r\n this.position.y + this.radius\r\n ));\r\n \r\n }", "public Point2D setPoint(int i, double x, double y);", "public void setPathOrigin(int x, int y);", "public void setLocation(int x, int y) {\r\n\t\tthis.x = x;\r\n\t\tthis.y = y;\r\n\t}", "public void setLocXY(int x, int y) {\n locX = x;\n locY = y;\n }", "public void setPosition(final Point p) {\n this.position = p;\n }", "public void setLocation(int x,int y)\n\t{\n\t\tthis.x=x;\n\t\tthis.y=y;\n\t}", "public void setSetpoint(double setpoint);", "public T setPoint(@NonNull View view) {\n int[] location = new int[2];\n view.getLocationInWindow(location);\n int x = location[0] + view.getWidth() / 2;\n int y = location[1] + view.getHeight() / 2;\n return setPoint(x, y);\n }", "public void setRobotLocation(Point p);", "public void setLocation(double x, double y) {\n currentLocation.x = (int) x;\n currentLocation.y = (int) y;\n refreshLocation();\n }", "@Generated\n @Selector(\"setPosition:\")\n public native void setPosition(@ByValue CGPoint value);", "@Override\n public void setLocation(geo_location p) {\n this.location.setX(p.x());\n this.location.setY(p.y());\n this.location.setZ(p.z());\n }", "public void setLocation(Coordinate coordinate);", "public void setXY(double anX, double aY) { setX(anX); setY(aY); }", "public void setPosicion(double x, double y) {\n\t\tthis.x = x;\n\t\tthis.y = y;\n\t}", "public void setPosition(double x, double y) {\n\t\tsetX(x);\n\t\tsetY(y);\n\t}", "public void setPosition(int x, int y)\n\t{\n\t\tint w = getSize().width;\n\t\tint h = getSize().height;\n\n\t\tpos.x = x;\n\n\t\tpos.y = y;\n\n\t\trect.setLocation(x - w / 2, y - h / 2);\n\t}", "private void setShape(){\n // 0 - index of the vertex at the top of the polygon\n shapex[0] = x + MathUtils.cos(radians) * 8;\n shapey[0] = y + MathUtils.sin(radians) * 8;\n\n // 1 - index of the vertex at the bottom left of the polygon\n shapex[1] = x + MathUtils.cos(radians - 4 * 3.1415f / 5) * 8;\n shapey[1] = y + MathUtils.sin(radians - 4 * 3.1415f / 5) * 8;\n\n // 2 - index of the vertex at the bottom right of the polygon\n shapex[2] = x + MathUtils.cos(radians + 4 * 3.1415f / 5) * 8;\n shapey[2] = y + MathUtils.sin(radians + 4 * 3.1415f / 5) * 8;\n }", "@Override\n\tpublic void SetCoord(double x, double y) {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "public void setPoint(double value) {\r\n this.point = value;\r\n }", "public void setPosition(int x, int y) {\n this.x = x;\n this.y = y;\n }", "protected void setShape(Shape shape) {\n\t\tif (shape != null) {\n\t\t\t_shape = shape;\n\t\t\tthis.setLocation(shape.getLocation());\n\t\t\tthis.setDimensions(shape.getDimensions());\n\t\t}\n\t}", "public void setPosition(float x, float y) {\n this.x = x;\n this.y = y;\n }", "Point() {\n\t\tthis.x = 0;\n\t\tthis.y = 0;\n\t}", "public void setPosition(double x, double y) {\n // set the location\n setLocation((int)Math.round(x), (int)Math.round(y));\n \n // set the position variables\n position.x = x;\n position.y = y;\n }", "Point() {\n this.x = 0;\n this.y = 0;\n }", "@Override\n\tpublic void setLocation(double x, double y) {\n\t\tdouble oldX = getX();\n\t\tdouble oldY = getY();\n\t\tdouble dx = x - oldX;\n\t\tdouble dy = y - oldY;\n\t\tfor (GPoint point : this) {\n\t\t\tpoint.translate(dx, dy);\n\t\t}\n\t\trepaint();\n\t}", "Point(int x_, int y_){\n x = x_;\n y = y_;\n }", "public void setPosition(int x, int y) {\r\n\t\tmyX = x;\r\n\t\tmyY = y;\r\n\t}", "@Override\n\tpublic void setPos(int x, int y) {\n\t\txPos = x;\n\t\tyPos = y;\n\t}", "public void set(double x, double y) {\n \n _x = x;\n _y = y;\n \n }", "private void CreaCoordinate(){\n \n this.punto = new Point(80, 80);\n \n }", "public void setShape(Info shape) {\n \n }", "static void setViewPointRelevantTo(Point point) {\n point.translate(-1 * viewPoint.x, -1 * viewPoint.y);\n point.x /= Map.zoom;\n point.y /= Map.zoom;\n point.translate(viewPoint.x, viewPoint.y);\n viewPoint.setLocation(point.x - GAME_WIDTH / 2, point.y - GAME_HEIGHT / 2);\n verifyViewPoint();\n }", "void setXandY(double x, double y){\r\n\t\tthis.x=x;\r\n\t\tthis.y=y;\r\n\t}", "public void setPointX(int pointX) {\n this.pointX = pointX;\n }", "public void setLocation(Vector location);", "public abstract Point location( Solid shape ) throws DataException, FeatureException, InvalidXMLException,\n LocationException, MountingException, ReferenceException\n ;", "public void setPosition(Point position) {\n this.position = position;\n }", "public void setLocation(int x, int y) {\r\n manager.setLocation(this, x, y);\r\n }", "public void setPosition(int x, int y) {\n this.mXPosition = x;\n this.mYPosition = y;\n }", "@Override\n public Position setPosition(double x, double y) {\n this.x = x;\n this.y = y;\n\n return new Position(x, y);\n }", "default void setOrigin(Vector3 point) {\r\n setOrigin(point.getX(), point.getY(), point.getZ());\r\n }", "public void setCoord(short xPos , short yPos ){\n this.xPos = xPos;\n this.yPos = yPos;\n }", "public void setPosition(Point pos) {\n this.topLeft = pos.asVector();\n }", "public void setBallXY(int x, int y)\n\t{\n\t\tthis.x = x;\n\t\tthis.y = y; \n\t\t\n\t}", "public final void setToPoint(Vector toPoint) {\n\t\ttransform.setToPoint(toPoint);\n\t}", "public void setOrigin(int x, int y) {\r\n\t\torigin.setLocation(x, y);\r\n\t}", "public void setPosition(int x, int y) {\r\n\t\tthis.x = x;\r\n\t\tthis.y = y;\r\n\t}", "public Point(int x, int y) {\n /* DO NOT MODIFY */\n this.x = x;\n this.y = y;\n SLOPE_ORDER = new SlopeOrder();\n }" ]
[ "0.76348466", "0.7523635", "0.7475616", "0.7394603", "0.7360162", "0.7354413", "0.7346441", "0.70688194", "0.70512587", "0.7050279", "0.7039142", "0.70390505", "0.6960714", "0.6908524", "0.6903082", "0.6897053", "0.6874218", "0.68704814", "0.68490094", "0.683044", "0.6784147", "0.6740617", "0.67234695", "0.6712781", "0.66898745", "0.66885036", "0.66808885", "0.66781884", "0.66640115", "0.66492414", "0.66482", "0.6635062", "0.66210634", "0.6612906", "0.6610505", "0.6608634", "0.6588036", "0.65837544", "0.6581766", "0.6578261", "0.65726477", "0.6555425", "0.65323716", "0.6523877", "0.6513893", "0.65037394", "0.65022707", "0.64970016", "0.648651", "0.648554", "0.6476623", "0.64762783", "0.647545", "0.6470531", "0.6459105", "0.6454498", "0.6449231", "0.6424472", "0.64203984", "0.6414163", "0.63982826", "0.6371423", "0.63587517", "0.63558215", "0.63492227", "0.6327293", "0.63188654", "0.6318415", "0.63090974", "0.6304793", "0.6290455", "0.6276919", "0.62753165", "0.62751704", "0.6269516", "0.6260411", "0.6252781", "0.6241437", "0.6241339", "0.62236696", "0.62226444", "0.6218932", "0.6215812", "0.6205291", "0.61967725", "0.6191967", "0.61840266", "0.618077", "0.6167601", "0.6163451", "0.61553836", "0.61493707", "0.61483383", "0.61467385", "0.6137658", "0.6127793", "0.61209756", "0.6115158", "0.6112911", "0.61101484" ]
0.74406606
3
Sets the X and Y location of the shape to the given point (convenience).
public void setXY(double anX, double aY) { setX(anX); setY(aY); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setPosition(Point point);", "public void setPosition(Point point) {\n setPosition(point.x, point.y);\n }", "public void setLocation( Point p ) {\r\n this.x = p.x;\r\n this.y = p.y;\r\n }", "public void setXY(Point2D aPoint) { setXY(aPoint.getX(), aPoint.getY()); }", "public T setPoint(@NonNull PointF point) {\n return setPoint(point.x, point.y);\n }", "public void setPoint(int x, int y) {\r\n this.x = x;\r\n this.y = y;\r\n }", "public void set(Point p)\r\n\t{\r\n\t\tx = p.x;\r\n\t\ty = p.y;\r\n\t}", "public abstract void setPoint(Point p);", "public void setPosition(Point position);", "public void setX(double point) {\n this.x = point;\n }", "public void setPoint(double point){\r\n this.point = point;\r\n }", "public void setLocation(float x, float y);", "public void setLocation(Point2D p);", "public T setPoint(float x, float y) {\n this.startX = x;\n this.startY = y;\n return self();\n }", "@Override\n public void setLoc(Point p) {\n this.rect.setLocation(p);\n }", "void setLocation(int x, int y);", "public void setLocation(Point p)\n\t{\n\t\tsetLocation(p.x,p.y);\n\t}", "public Point(Point point) {\n this.x = point.x;\n this.y = point.y;\n }", "public void setCoordinate(int PointX, int PointY)\n {\n rectangle.set(PointX - rectangle.width()/2, PointY - rectangle.height()/2, PointX + rectangle.width()/2,PointY + rectangle.height()/2);\n\n //hitBox(this.rectangle);\n }", "public int setPoint(float x, float y, int gnum);", "void moveToPoint(float x, float y) {\n _x = x;\n _y = y;\n }", "public Point(Point point) {\n super(point.getReferenceX(), point.getReferenceY());\n this.x = point.x;\n this.y = point.y;\n this.setHeight(point.getHeight());\n }", "public void moveTo(Point point){\n updateUndoBuffers(new LinkedList<>());\n xPos = point.getMyX()+myGrid.getWidth()/ HALF;\n yPos = myGrid.getHeight()/ HALF-point.getMyY();\n }", "public void setPosition(double x, double y) {\r\n this.x = x;\r\n this.y = y;\r\n }", "public void setXY(int x, int y)\n\t{\n\t\tthis.x = x;\t\t\t\t\t\t\t\t\t\t\t\t\t// Update point's x-coordinate \n\t\tthis.y = y;\t\t\t\t\t\t\t\t\t\t\t\t\t// Update point's y-coordinate \n\t}", "void setPosition(double xPos, double yPos);", "@SuppressWarnings(\"unchecked\")\n public AnimatorType position(PointF point)\n {\n addTransformer(new PositionTransformer(getShape(), point));\n return (AnimatorType) this;\n }", "public void setLocation(int X, int Y){\n \tlocation = new Point(X,Y);\n }", "Point(Double x, Double y) {\n\t\tthis.setX(x);\n\t\tthis.setY(y);\n\t}", "public void setPosition(double x, double y)\n {\n mPosition = new Point2D.Double(x, y);\n }", "public void setPosition(float x, float y);", "public void setFrameXY(RMPoint aPoint) { setFrameXY(aPoint.x, aPoint.y); }", "public void setPosition(double x, double y) {\n this.x = x;\n this.y = y;\n }", "public void setPoint( Float point ) {\n this.point = point;\n }", "public abstract void setPosition(Point2D position);", "public void setObjectAtLocation(Point p, Object o);", "public void setPosition(Point p) {\r\n\t\tthis.position = p;\r\n\t\tc.setPosition(p);\r\n\t}", "public void setPosition(ScreenPoint p) {\n setX(p.x);\n setY(p.y);\n }", "public void setLoc(int x, int y) {\n locX = x;\n locY = y;\n }", "void setPos(float x, float y);", "public void setPosition(Point newPosition);", "public void setLocation(int someX, int someY) {\r\n\t\tx = someX;\r\n\t\ty = someY;\r\n\t}", "public void setPoint(Integer point) {\n this.point = point;\n }", "public void setOrigin(Point p) {\n origin = new Point(p);\n }", "public void setLocation(Vec2f loc) {\n\t\tsuper.setLocation(loc);\n\t\tif (_shape != null) _shape.setLocation(loc);\n\t}", "public void setPosition(int x, int y) {\n this.coordX = x;\n this.coordY = y;\n }", "public void setPosition(double x, double y){\r\n this.x = (float)x;\r\n this.y = (float)y;\r\n changed();\r\n }", "public X location(Point p) {\n component.setLocation(p);\n return (X) this;\n }", "public void setPoint(Integer point) {\n\t\tthis.point = point;\n\t}", "public void setPoint(Point operand, Point target) {\n\tfor (Shape s : this.shapes)\n\t s.setPoint(operand, target);\n }", "public void setPosition(Point position){\r\n this.position.set(position.x, position.y);\r\n\r\n this.shadow.setPosition(position);\r\n this.surface.setPosition(position);\r\n this.shading.setPosition(position);\r\n\r\n\r\n this.setBounds(new Rect(\r\n this.position.x - this.radius,\r\n this.position.y - this.radius,\r\n this.position.x + this.radius,\r\n this.position.y + this.radius\r\n ));\r\n \r\n }", "public Point2D setPoint(int i, double x, double y);", "public void setPathOrigin(int x, int y);", "public void setLocation(int x, int y) {\r\n\t\tthis.x = x;\r\n\t\tthis.y = y;\r\n\t}", "public void setLocXY(int x, int y) {\n locX = x;\n locY = y;\n }", "public void setPosition(final Point p) {\n this.position = p;\n }", "public void setLocation(int x,int y)\n\t{\n\t\tthis.x=x;\n\t\tthis.y=y;\n\t}", "public void setSetpoint(double setpoint);", "public T setPoint(@NonNull View view) {\n int[] location = new int[2];\n view.getLocationInWindow(location);\n int x = location[0] + view.getWidth() / 2;\n int y = location[1] + view.getHeight() / 2;\n return setPoint(x, y);\n }", "public void setRobotLocation(Point p);", "public void setLocation(double x, double y) {\n currentLocation.x = (int) x;\n currentLocation.y = (int) y;\n refreshLocation();\n }", "@Generated\n @Selector(\"setPosition:\")\n public native void setPosition(@ByValue CGPoint value);", "@Override\n public void setLocation(geo_location p) {\n this.location.setX(p.x());\n this.location.setY(p.y());\n this.location.setZ(p.z());\n }", "public void setLocation(Coordinate coordinate);", "public void setPosicion(double x, double y) {\n\t\tthis.x = x;\n\t\tthis.y = y;\n\t}", "public void setPosition(double x, double y) {\n\t\tsetX(x);\n\t\tsetY(y);\n\t}", "public void setPosition(int x, int y)\n\t{\n\t\tint w = getSize().width;\n\t\tint h = getSize().height;\n\n\t\tpos.x = x;\n\n\t\tpos.y = y;\n\n\t\trect.setLocation(x - w / 2, y - h / 2);\n\t}", "private void setShape(){\n // 0 - index of the vertex at the top of the polygon\n shapex[0] = x + MathUtils.cos(radians) * 8;\n shapey[0] = y + MathUtils.sin(radians) * 8;\n\n // 1 - index of the vertex at the bottom left of the polygon\n shapex[1] = x + MathUtils.cos(radians - 4 * 3.1415f / 5) * 8;\n shapey[1] = y + MathUtils.sin(radians - 4 * 3.1415f / 5) * 8;\n\n // 2 - index of the vertex at the bottom right of the polygon\n shapex[2] = x + MathUtils.cos(radians + 4 * 3.1415f / 5) * 8;\n shapey[2] = y + MathUtils.sin(radians + 4 * 3.1415f / 5) * 8;\n }", "@Override\n\tpublic void SetCoord(double x, double y) {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "public void setPoint(double value) {\r\n this.point = value;\r\n }", "public void setPosition(int x, int y) {\n this.x = x;\n this.y = y;\n }", "public void setPosition(float x, float y) {\n this.x = x;\n this.y = y;\n }", "protected void setShape(Shape shape) {\n\t\tif (shape != null) {\n\t\t\t_shape = shape;\n\t\t\tthis.setLocation(shape.getLocation());\n\t\t\tthis.setDimensions(shape.getDimensions());\n\t\t}\n\t}", "Point() {\n\t\tthis.x = 0;\n\t\tthis.y = 0;\n\t}", "public void setPosition(double x, double y) {\n // set the location\n setLocation((int)Math.round(x), (int)Math.round(y));\n \n // set the position variables\n position.x = x;\n position.y = y;\n }", "Point() {\n this.x = 0;\n this.y = 0;\n }", "@Override\n\tpublic void setLocation(double x, double y) {\n\t\tdouble oldX = getX();\n\t\tdouble oldY = getY();\n\t\tdouble dx = x - oldX;\n\t\tdouble dy = y - oldY;\n\t\tfor (GPoint point : this) {\n\t\t\tpoint.translate(dx, dy);\n\t\t}\n\t\trepaint();\n\t}", "public void setPosition(int x, int y) {\r\n\t\tmyX = x;\r\n\t\tmyY = y;\r\n\t}", "Point(int x_, int y_){\n x = x_;\n y = y_;\n }", "@Override\n\tpublic void setPos(int x, int y) {\n\t\txPos = x;\n\t\tyPos = y;\n\t}", "public void set(double x, double y) {\n \n _x = x;\n _y = y;\n \n }", "private void CreaCoordinate(){\n \n this.punto = new Point(80, 80);\n \n }", "public void setShape(Info shape) {\n \n }", "static void setViewPointRelevantTo(Point point) {\n point.translate(-1 * viewPoint.x, -1 * viewPoint.y);\n point.x /= Map.zoom;\n point.y /= Map.zoom;\n point.translate(viewPoint.x, viewPoint.y);\n viewPoint.setLocation(point.x - GAME_WIDTH / 2, point.y - GAME_HEIGHT / 2);\n verifyViewPoint();\n }", "void setXandY(double x, double y){\r\n\t\tthis.x=x;\r\n\t\tthis.y=y;\r\n\t}", "public void setPointX(int pointX) {\n this.pointX = pointX;\n }", "public void setLocation(Vector location);", "public abstract Point location( Solid shape ) throws DataException, FeatureException, InvalidXMLException,\n LocationException, MountingException, ReferenceException\n ;", "public void setPosition(Point position) {\n this.position = position;\n }", "public void setLocation(int x, int y) {\r\n manager.setLocation(this, x, y);\r\n }", "public void setPosition(int x, int y) {\n this.mXPosition = x;\n this.mYPosition = y;\n }", "@Override\n public Position setPosition(double x, double y) {\n this.x = x;\n this.y = y;\n\n return new Position(x, y);\n }", "default void setOrigin(Vector3 point) {\r\n setOrigin(point.getX(), point.getY(), point.getZ());\r\n }", "public void setCoord(short xPos , short yPos ){\n this.xPos = xPos;\n this.yPos = yPos;\n }", "public void setPosition(Point pos) {\n this.topLeft = pos.asVector();\n }", "public void setBallXY(int x, int y)\n\t{\n\t\tthis.x = x;\n\t\tthis.y = y; \n\t\t\n\t}", "public final void setToPoint(Vector toPoint) {\n\t\ttransform.setToPoint(toPoint);\n\t}", "public void setOrigin(int x, int y) {\r\n\t\torigin.setLocation(x, y);\r\n\t}", "public void setPosition(int x, int y) {\r\n\t\tthis.x = x;\r\n\t\tthis.y = y;\r\n\t}", "public Point(int x, int y) {\n /* DO NOT MODIFY */\n this.x = x;\n this.y = y;\n SLOPE_ORDER = new SlopeOrder();\n }" ]
[ "0.76372105", "0.75252146", "0.7477799", "0.7442382", "0.7396375", "0.7362335", "0.7356355", "0.73481506", "0.70711213", "0.70517206", "0.705146", "0.70421857", "0.70419335", "0.69625276", "0.69107395", "0.6906586", "0.6899477", "0.6874121", "0.68712735", "0.6850552", "0.6831809", "0.67842597", "0.6741353", "0.6726036", "0.6714733", "0.6692432", "0.66884553", "0.66808826", "0.6680661", "0.6666522", "0.6652145", "0.66493845", "0.66375816", "0.66215533", "0.6615264", "0.6612653", "0.6610757", "0.65907073", "0.6587063", "0.658438", "0.6580586", "0.65751886", "0.65567994", "0.6534107", "0.65255713", "0.6516279", "0.6504699", "0.6503742", "0.64983475", "0.6487644", "0.64865834", "0.6478897", "0.64783984", "0.647831", "0.6473153", "0.64610195", "0.6457478", "0.64514273", "0.6426301", "0.6423199", "0.6417116", "0.6400229", "0.6373726", "0.63618416", "0.63514733", "0.6329866", "0.63211435", "0.6316529", "0.63117015", "0.63057923", "0.6293268", "0.62776196", "0.62770146", "0.62752575", "0.62719554", "0.62604445", "0.62554723", "0.62442076", "0.62420493", "0.62264603", "0.6225557", "0.6219224", "0.6214698", "0.62069404", "0.619893", "0.61915153", "0.6187035", "0.6178395", "0.616921", "0.61667305", "0.61577195", "0.61518425", "0.6149307", "0.614854", "0.61391187", "0.6129047", "0.61228436", "0.6117463", "0.6115741", "0.61097574" ]
0.63579893
64
Returns the size of the shape.
public RMSize getSize() { return new RMSize(getWidth(), getHeight()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Point2D.Float getSize() {\r\n\t\treturn size;\r\n\t}", "Dimension getSize();", "Dimension getSize();", "public int get_size() {\r\n return this.dimension * 2 * sizeof_float + 4 * sizeof_float + sizeof_dimension + sizeof_int;\r\n }", "public int getSize() {\n\t\treturn width + length;\n\t}", "public double getSize()\n\t{\n\t\treturn size;\n\t}", "public float getSize() {\n\t\treturn size;\n\t}", "public Dimension getSize() {\r\n\t\treturn this.size;\r\n\t}", "public double getSize() {\n return size_;\n }", "public double getSize() {\n return size_;\n }", "public int getLength() {\n return mySize.getLength();\n }", "public float getSize() {\n return size;\n }", "public Dimension getSize()\n\t{\n\t\treturn rect.getSize();\n\t}", "public float getSize()\n {\n return size;\n }", "public Point getSize();", "public final Vector2f getSize() {\r\n return size;\r\n }", "public int getWidth() {\n return mySize.getWidth();\n }", "public Dimension3d getSize() {\n return size;\n }", "public double getSize() \n {\n return size;\n }", "public final int getSize() {\n return size;\n }", "public int getSize() {\n return rows * cols;\n }", "public Dimension getSize() {\n\t\treturn size.getCopy();\n\t}", "public static int GetSize() {\n\t\t\treturn gridSize.getValue();\n\t\t}", "public double getSize() {\n return getElement().getSize();\n }", "public Dimension getSize ( )\r\n\t{\r\n\t\treturn new Dimension ( BORDER_X*2 + SQUARE_SIZE*size, BORDER_Y*2 + SQUARE_SIZE*size );\r\n\t}", "public int shapeCount()\n {\n // return the number of children in the list\n return children.size();\n }", "double getSize();", "@Override\n\tpublic double getSize() {\n\t\treturn Math.sqrt(getMySize())/2;\n\t}", "public int size() {\n //encapsulate\n int size = this.array.length;\n return size;\n }", "public static int size_length() {\n return (8 / 8);\n }", "public int getSize() {\r\n\t\treturn size;\r\n\t}", "public int getSize() {\n return this.size;\n }", "public int getSize() {\n return this.radius;\n }", "public int getSize() {\n return size;\n }", "public int getSize() {\n return size;\n }", "public int getSize() {\n return size;\n }", "public int getSize() {\n return size;\n }", "public int getSize() {\n return size;\n }", "public int getSize() {\n return size;\n }", "public int getSize() {\n return size;\n }", "public int getSize() {\n return size;\n }", "public int getSize() {\n return size;\n }", "public int getSize() {\n\t\treturn size;\n\t}", "public int getSize() {\n\t\treturn size;\n\t}", "public int getSize() {\n\t\treturn size;\n\t}", "public int getSize() {\n\t\treturn size;\n\t}", "public int getSize() {\n\t\treturn size;\n\t}", "public int getSize() {\n\t\treturn size;\n\t}", "public int getSize() {\n\t\treturn size;\n\t}", "public int getSize() {\n\t\treturn size;\n\t}", "public int getSize() {\n\t\treturn size;\n\t}", "public int getSize() {\n\t\treturn size;\n\t}", "public int getSize() {\n\t\treturn size;\n\t}", "public int getSize() {\n\t\treturn size;\n\t}", "public int getSize() {\n\t\treturn size;\n\t}", "public Dimension getSize()\n\t{\n\t\treturn new Dimension(image.getWidth(),image.getHeight());\n\t}", "public int getSize() {\r\n return size;\r\n }", "public Vector2i getSize() {\n return new Vector2i(getWidth(), getHeight());\n }", "public int getSize()\n {\n return this.size;\n }", "public int getSize() {\r\n return _size;\r\n }", "public long getSize() {\r\n\t\treturn size;\r\n\t}", "public long getSize() {\n\t\treturn size;\n\t}", "public int getSize() {\n\t\treturn _size;\n\t}", "public int getSize() {\r\n return this.radius;\r\n }", "public abstract Dimension getSize();", "public int getSize() {\r\n return this.size;\r\n }", "public Size getSize() {\n return size;\n }", "public int getSize()\r\n {\r\n return size;\r\n }", "public int getSize() {\r\n\t\treturn this.size;\r\n\t}", "public int getSize() {\r\n\t\treturn this.size;\r\n\t}", "public int getSize() {\n\t\treturn this.size;\n\t}", "public int getSize() {\n\t\treturn this.size;\n\t}", "public int getSize() {\n\t\treturn this.size;\n\t}", "public int getSize() {\n\t\treturn this.size;\n\t}", "public int getSize() {\n\t\treturn this.size;\n\t}", "public int getSize( )\n {\n return size;\n }", "public int getSize()\r\n {\r\n return size;\r\n }", "public int getSize() {\n\t\t\treturn this.size;\n\t\t}", "public int getSize()\n\t{\n\t\treturn this.size;\n\t}", "public int getSize()\n\t{\n\t\treturn size;\n\t}", "public int getSize()\n\t{\n\t\treturn size;\n\t}", "Vector getSize();", "public int size() {\n return mSize;\n }", "public int getSize() {\n\n return size;\n }", "public final int getWidth() {\r\n return (int) size.x();\r\n }", "public int getSize() {\n return size;\n }", "public int size() {\n // DO NOT MODIFY THIS METHOD!\n return size;\n }", "public int getSize()\n {\n return size;\n }", "public int getSize()\n {\n return size;\n }", "public int getSize()\n {\n return size;\n }", "public int getSize() {\n\t\tif (type == Attribute.Type.Int) {\r\n\t\t\treturn INT_SIZE;\r\n\t\t} else if (type == Attribute.Type.Char) {\r\n\t\t\treturn CHAR_SIZE * length;\r\n\t\t} else if (type == Attribute.Type.Long) {\r\n\t\t\treturn LONG_SIZE;\r\n\t\t} else if (type == Attribute.Type.Float) {\r\n\t\t\treturn FLOAT_SIZE;\r\n\t\t} else if (type == Attribute.Type.Double) {\r\n\t\t\treturn DOUBLE_SIZE;\r\n\t\t} else if (type == Attribute.Type.DateTime){\r\n\t\t\treturn LONG_SIZE;\r\n\t\t}\r\n\t\t\r\n\t\treturn size;\r\n\t}", "public int size() {\n // DO NOT MODIFY!\n return size;\n }", "public int size() {\n return this.m_GenotypeLength;\n }", "public static int getSIZE() {\n return SIZE;\n }", "public int size () {\r\n return this.size;\r\n }", "public int size() {\n\t\treturn mySize;\n\t}", "public int size() {\n\t\treturn mySize;\n\t}", "public long getSize() {\n return mSize;\n }", "public long getSize() {\n return size;\n }", "public long getSize() {\n return size;\n }" ]
[ "0.74511015", "0.7448963", "0.7448963", "0.7448696", "0.73660594", "0.7362602", "0.72733855", "0.7247341", "0.7211093", "0.7191925", "0.71771646", "0.71736693", "0.7165734", "0.71233714", "0.7118567", "0.7100292", "0.70699376", "0.70269495", "0.7017892", "0.701243", "0.6975916", "0.69520557", "0.6942524", "0.69243866", "0.6913589", "0.69057", "0.6902904", "0.69019574", "0.68975013", "0.6896186", "0.68928075", "0.6884974", "0.6883879", "0.6883518", "0.68818074", "0.68818074", "0.68818074", "0.68818074", "0.68818074", "0.68818074", "0.68818074", "0.68818074", "0.6877484", "0.6877484", "0.6877484", "0.6877484", "0.6877484", "0.6877484", "0.6877484", "0.6877484", "0.6877484", "0.6877484", "0.6877484", "0.6877484", "0.6877484", "0.68773323", "0.6872895", "0.68719196", "0.6870857", "0.68689114", "0.68664443", "0.6863093", "0.6862936", "0.68576336", "0.6853185", "0.6847394", "0.68453175", "0.68410295", "0.6840635", "0.6840635", "0.6838694", "0.6838694", "0.6838694", "0.6838694", "0.6838694", "0.68340063", "0.68314487", "0.6825975", "0.6825817", "0.68253094", "0.68253094", "0.6814268", "0.68115276", "0.6809773", "0.68086976", "0.6800379", "0.6794688", "0.6793461", "0.6793461", "0.6793461", "0.6792878", "0.6787966", "0.6780383", "0.67789257", "0.67778724", "0.6766061", "0.6766061", "0.67618424", "0.6760532", "0.6760532" ]
0.6823486
81
Sets the size of the shape.
public void setSize(RMSize aSize) { setSize(aSize.width, aSize.height); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setSize(int _size)\r\n {\r\n size = _size;\r\n }", "public void setSize(int size) {\r\n _size = size;\r\n }", "public void setSize(double size) \n {\n this.size = size;\n }", "public void setSize(int size) {\r\n this.size = size;\r\n }", "public void setSize(Dimension size) {\r\n this.size = size;\r\n }", "public void setSize(int size) {\n this.size = size;\n }", "public void setSize(int size) {\n this.size = size;\n }", "public void setSize(int size){\n this.size = size;\n }", "public void setSize(int size) {\n\t\t _size = size;\n\t}", "public void setSize(int size) {\n this.size = size;\n }", "private void setShape(ChamberShape theShape) {\n mySize = theShape;\n createDoorsFromExits();\n }", "public void setSize(int size) {\n\t\tthis.size = size;\n\t}", "public void setSize(int size) {\n\t\tthis.size = size;\n\t}", "public void setSize(int size) {\n\t\tthis.size = size;\n\t}", "public void setSize(int size) {\n\t\tthis.size = size;\n\t}", "public void setShape(ChamberShape theShape) {\n mySize = theShape;\n setExits();\n }", "public void setSize(int size);", "private void set_size(int size)\r\n\t{\r\n\t\tthis.size = size;\r\n\t}", "public void setSizeModifier(Dimension size) {\n\t\tthis.size = size;\n\t}", "void setSize(Dimension size);", "public void setSize(long size) {\r\n\t\tthis.size = size;\r\n\t}", "public boolean setShapeSize(DimensionF shapeSize) {\n if (ObjectUtils.equals(this.shapeSize, shapeSize))\n return false;\n this.shapeSize = shapeSize;\n return true;\n }", "public void setSize(String size) {\r\n //System.out.print(\"Setting Size...\");\r\n this.Size = size;\r\n }", "public void setSize( Point size ) {\n checkWidget();\n if ( size == null )\n error( SWT.ERROR_NULL_ARGUMENT );\n setSize( size.x, size.y );\n }", "public void setSize(int size){\n\t\tthis.shipSize = size;\n\t}", "public void setSize(Integer size) {\n this.size = size;\n }", "public void setSize(Vector2ic size){\n glfwSetWindowSize(handle, size.x(), size.y());\n this.size.set(size);\n sizeMultiplexer.handle(new WindowSizeEvent(handle, size.x(), size.y()));\n }", "public void setSize(String size) {\n this.size = size;\n }", "public void setSize(int value) {\n\t\tthis.size = value;\n\t}", "public void setSize(int size) {\n\tthis.sizeNumber = sizeNumber;\r\n}", "public void setSize(double s)\n\t{\n\t\tsize = s;\n\t}", "public void setStructureSize(int size) {\n\t\tmStructureSize = size;\n\t\tvalidateSize();\n\t\trepaint();\n\t\t}", "public void setSize(float width, float height);", "public void setSize(double aWidth, double aHeight) { setWidth(aWidth); setHeight(aHeight); }", "public void setSize(int newSize);", "public void setSize(int newSize);", "private void setSize(int s){\n\t\tsize = s;\n\t}", "public void setShape(Shape shape) {\n validateShape(shape);\n\n this.shape = shape;\n this.shape.calculate();\n initializeScroller();\n resetScroll();\n }", "@Element \n public void setSize(String size) {\n this.size = size;\n }", "public void setSize();", "public void setFrameSize();", "public void setPreferredSize( Point size ) {\n checkWidget();\n if ( size == null )\n error( SWT.ERROR_NULL_ARGUMENT );\n setPreferredSize( size.x, size.y );\n }", "public Builder setSize(int value) {\n\n size_ = value;\n onChanged();\n return this;\n }", "public Builder setSize(int value) {\n\n size_ = value;\n onChanged();\n return this;\n }", "public void set_size(int s);", "public void setSize(long value) {\n this.size = value;\n }", "public void setSize(TSizeInBytes size) {\n\n\t\tthis.size = size;\n\t}", "public abstract void setSize(Dimension d);", "protected abstract void setSize();", "public void setSizeState(SizeState size) {\n this.sizeState = size;\n }", "public void setBorderSize(double size)\n {\n borderSize = size;\n }", "public void setSize(@Nullable String size) {\n this.size = size;\n }", "void setDimension(double width, double height);", "public void size(final int theWidth, final int theHeight);", "public void changeSize(Integer newLength, Integer newHeight) {\n control.erase();\n width = newLength;\n height = newHeight;\n control.draw();\n }", "@Override\n\tpublic void setSize(float size) {\n\t\tthis.size = size;\n\t\trxs = new int [ Math.max(Math.round(size/calibration[0]), Math.round(size/calibration[1])) + 1 ];\t\t\n\t\treset();\n\t}", "public void setPointSize(float pointSize)\n {\n myPointSize = pointSize;\n }", "public void setSize(VideoSize size) {\n this.size = size;\n }", "public void setSize(String size) {\r\n this.size = size == null ? null : size.trim();\r\n }", "public void setBrushSize(int size)\n {\n brushSize = size;\n }", "public static final void setSize(UIObject o, Rect size) {\n o.setPixelSize(size.w, size.h);\n\n }", "public void setSize(int size) {\n\t members = size;\n\t}", "public void setSize(int x, int y)\n {\n \tthis.width = x;\n \tthis.height = y;\n }", "public void setSize(String size) {\n\t\tthrow new UnsupportedOperationException(\"readonly\");\n\t}", "void setSize(float w, float h) {\n _w = w;\n _h = h;\n }", "@JSProperty(\"size\")\n void setSize(double value);", "protected final void multiplySize(float size)\n {\n super.setSize(this.bokoblinWidth * size, this.bokoblinHeight * size);\n }", "public FontRenderer setSize(float size) {\n\t\tthis.size = size;\n\t\ttransform.setScale(size);\n\t\t\n\t\treturn this;\n\t}", "public void sizeBy(float size) {\n internalGroup.sizeBy(size);\n dataTrait.width = internalGroup.getWidth();\n dataTrait.height = internalGroup.getHeight();\n resetSprite();\n }", "public Builder setSize(double value) {\n bitField0_ |= 0x00000020;\n size_ = value;\n onChanged();\n return this;\n }", "public void setSize(Dimension newSize) {\n\t\tif(newSize.height<80)\n\t\t\tnewSize.height=80;\n\t\tif (newSize != null) {\n\t\t\tsize.setSize(newSize);\n\t\t\tfirePropertyChange(Props.SIZE_PROP.getValue(), null, size);\n\t\t}\n\t}", "public void setSize(double value) {\n getElement().setSize(value);\n }", "public Builder setSize(godot.wire.Wire.Vector3 value) {\n if (sizeBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n size_ = value;\n onChanged();\n } else {\n sizeBuilder_.setMessage(value);\n }\n\n return this;\n }", "public void sizeHasBeenSet() {\n isSizeSet = true;\n }", "protected void setSize(Dimension dim) {}", "public void setSizeType(int type) {\n\t\tif (sizeType == type)\n\t\t\treturn;\n\t\tif (type != LMOptions.SMALL && type != LMOptions.LARGE && type != LMOptions.VARY)\n\t\t\treturn;\n\t\t\n\t\tdouble scale = parentLattice.getScale();\n\t\tdouble dotSize = DOT_NODE_SIZE * scale;\n\t\tdouble smallSize = SMALL_NODE_SIZE * scale;\n\t\tdouble largeSize = LARGE_NODE_SIZE * scale;\n\t\t\n\t\tif (type == LMOptions.SMALL && sizeType == LMOptions.LARGE) {\n\t\t\tsizeType = LMOptions.SMALL;\n\t\t\tdouble x = shape.getX() + ((largeSize - smallSize) / 2.0);\n\t\t\tdouble y = shape.getY() + ((largeSize - smallSize) / 2.0);\n\t\t\tshape.setFrame(x, y, smallSize, smallSize);\n\t\t}\n\n\t\telse if (type == LMOptions.SMALL && sizeType == LMOptions.VARY) {\n\t\t\tsizeType = LMOptions.SMALL;\n\t\t\tif (ownObject) {\n\t\t\t\tdouble x = shape.getX() + ((largeSize - smallSize) / 2.0);\n\t\t\t\tdouble y = shape.getY() + ((largeSize - smallSize) / 2.0);\n\t\t\t\tshape.setFrame(x, y, smallSize, smallSize);\n\t\t\t} else {\n\t\t\t\tdouble x = shape.getX() - ((smallSize - dotSize) / 2.0);\n\t\t\t\tdouble y = shape.getY() - ((smallSize - dotSize) / 2.0);\n\t\t\t\tshape.setFrame(x, y, smallSize, smallSize);\n\t\t\t}\n\t\t}\n\n\t\telse if (type == LMOptions.LARGE && sizeType == LMOptions.SMALL) {\n\t\t\tsizeType = LMOptions.LARGE;\n\t\t\tdouble x = shape.getX() - ((largeSize - smallSize) / 2.0);\n\t\t\tdouble y = shape.getY() - ((largeSize - smallSize) / 2.0);\n\t\t\tshape.setFrame(x, y, largeSize, largeSize);\n\t\t}\n\n\t\telse if (type == LMOptions.LARGE && sizeType == LMOptions.VARY) {\n\t\t\tsizeType = LMOptions.LARGE;\n\t\t\tif (!ownObject) {\n\t\t\t\tdouble x = shape.getX() - ((largeSize - dotSize) / 2.0);\n\t\t\t\tdouble y = shape.getY() - ((largeSize - dotSize) / 2.0);\n\t\t\t\tshape.setFrame(x, y, largeSize, largeSize);\n\t\t\t}\n\t\t}\n\n\t\telse if (type == LMOptions.VARY && sizeType == LMOptions.LARGE) {\n\t\t\tsizeType = LMOptions.VARY;\n\t\t\tif (!ownObject) {\n\t\t\t\tdouble x = shape.getX() + ((largeSize - dotSize) / 2.0);\n\t\t\t\tdouble y = shape.getY() + ((largeSize - dotSize) / 2.0);\n\t\t\t\tshape.setFrame(x, y, dotSize, dotSize);\n\t\t\t}\n\t\t}\n\n\t\telse if (type == LMOptions.VARY && sizeType == LMOptions.SMALL) {\n\t\t\tsizeType = LMOptions.VARY;\n\t\t\tif (ownObject) {\n\t\t\t\tdouble x = shape.getX() - ((largeSize - smallSize) / 2.0);\n\t\t\t\tdouble y = shape.getY() - ((largeSize - smallSize) / 2.0);\n\t\t\t\tshape.setFrame(x, y, largeSize, largeSize);\n\t\t\t} else {\n\t\t\t\tdouble x = shape.getX() + ((smallSize - dotSize) / 2.0);\n\t\t\t\tdouble y = shape.getY() + ((smallSize - dotSize) / 2.0);\n\t\t\t\tshape.setFrame(x, y, dotSize, dotSize);\n\t\t\t}\n\t\t}\n\t\t\n\t\tif (internalLattice != null)\n\t\t\tinternalLattice.refreshConceptsShape();\n\t\t\n\t\tlabel.refreshShape();\n\t}", "public void setSize(PlayerSize size) {\n if (size == this.size) {\n return; // Return, already sized like that\n }\n\n PlayerSize oldSize = this.size;\n this.size = size;\n\n updateSizeSafely(getView());\n\n if (mListener != null) {\n mListener.onPlayerSizeChanged(size, oldSize);\n }\n }", "public void setShapeType(ShapeType shapeType) {\n }", "public void setSize(int width, int height) {\n this.width = width;\n this.height = height;\n }", "void setSize(int axis, int origin, int size) {\n this.size = size;\n if (size == UNSET) {\n unset();\n }\n }", "public void setMinSize(Point size) {\n if (size == null) {\n setMinSize(0, 0);\n } else {\n setMinSize(size.x, size.y);\n }\n }", "public void setSize(int size) {\n\t\tdist = new double[size];\n\t\tprev = new Node[size];\n\t\tready = new boolean[size];\n\t}", "public void setShape(ShapeType shape) {\n\t\tthis.shape = shape;\n\t}", "public void setSize(int x, int y) {\n if (x < 0 || y < 0) {\n throw new AssertionError();\n }\n\n fenetre.setSize(x, y); \n }", "@ReactProp(name = \"size\")\n public void setSize(ReactSwipeRefreshLayout view, Dynamic size) {\n if (size.isNull()) {\n view.setSize(SwipeRefreshLayout.DEFAULT);\n } else if (size.getType() == ReadableType.Number) {\n view.setSize(size.asInt());\n } else if (size.getType() == ReadableType.String) {\n setSize(view, size.asString());\n } else {\n throw new IllegalArgumentException(\"Size must be 'default' or 'large'\");\n }\n }", "public com.autodesk.ws.avro.Call.Builder setObjectSize(java.lang.Long value) {\n validate(fields()[6], value);\n this.object_size = value;\n fieldSetFlags()[6] = true;\n return this; \n }", "public void assignShape() {\n\t\t\n\t}", "private void basicSize(){\n setSize(375,400);\n }", "public void setSizeInBits(final int size) {\n\t\tthis.sizeinbits = size;\n\t}", "public void setShape( final FireShapes shape ) {\r\n\t\tthis.shape = shape;\r\n\t}", "public void setLocalSize(int size);", "void setPaperSize(short size);", "public void setSizeP(Number value) {\n setAttributeInternal(SIZEP, value);\n }", "public void setMinimumSize( Point size ) {\n checkWidget();\n if ( size == null )\n error( SWT.ERROR_NULL_ARGUMENT );\n setMinimumSize( size.x, size.y );\n }", "public void setSize(int index, int size);", "public void setSize(int w, int h) {\n\n\t}", "public MazePanel(int size) \r\n\t{\r\n\t\tthis.size = size;\r\n\t\tthis.setPreferredSize( getSize() );\r\n\t\tReset ( );\r\n\t}", "public void setSize(Dimension d) {\n\n\t}", "@Override\n\tpublic void setSize(String sizeOfTheBeverage) {\n\t\tthis.sizeOfTheBeverage = sizeOfTheBeverage;\n\t}", "public void setShape(Info shape) {\n \n }" ]
[ "0.7553719", "0.75526345", "0.7530696", "0.75091565", "0.74953914", "0.747411", "0.747411", "0.74518675", "0.74309534", "0.7398468", "0.7379944", "0.73571676", "0.73571676", "0.73571676", "0.73571676", "0.73328626", "0.72988725", "0.7280309", "0.7253397", "0.7188038", "0.71677524", "0.7142447", "0.71370137", "0.70919627", "0.7060077", "0.7043552", "0.6925367", "0.69197875", "0.69088805", "0.68805164", "0.68094355", "0.6800359", "0.679741", "0.67405933", "0.67323476", "0.67323476", "0.6715137", "0.67068654", "0.6699445", "0.6697157", "0.66517496", "0.6650768", "0.6621253", "0.6621253", "0.6619406", "0.6584887", "0.65804434", "0.65440696", "0.6541635", "0.6518496", "0.6487768", "0.64631665", "0.64620626", "0.64534724", "0.6446028", "0.6440301", "0.640413", "0.64025456", "0.6401838", "0.63997626", "0.63870007", "0.6372327", "0.63446385", "0.63415277", "0.6332333", "0.63247615", "0.632405", "0.63202673", "0.6319352", "0.62898594", "0.62859833", "0.62496454", "0.6248024", "0.62384313", "0.62353927", "0.62225", "0.6215223", "0.62129235", "0.61926347", "0.61852825", "0.6178653", "0.6173861", "0.6142337", "0.6139152", "0.6075637", "0.60754067", "0.6068623", "0.6056636", "0.60535324", "0.60523194", "0.6051695", "0.60465753", "0.6046289", "0.6037358", "0.6035154", "0.60300577", "0.6025186", "0.59871876", "0.59847045", "0.59821635" ]
0.72129893
19
Sets the size of the shape.
public void setSize(double aWidth, double aHeight) { setWidth(aWidth); setHeight(aHeight); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setSize(int _size)\r\n {\r\n size = _size;\r\n }", "public void setSize(int size) {\r\n _size = size;\r\n }", "public void setSize(double size) \n {\n this.size = size;\n }", "public void setSize(int size) {\r\n this.size = size;\r\n }", "public void setSize(Dimension size) {\r\n this.size = size;\r\n }", "public void setSize(int size) {\n this.size = size;\n }", "public void setSize(int size) {\n this.size = size;\n }", "public void setSize(int size){\n this.size = size;\n }", "public void setSize(int size) {\n\t\t _size = size;\n\t}", "public void setSize(int size) {\n this.size = size;\n }", "private void setShape(ChamberShape theShape) {\n mySize = theShape;\n createDoorsFromExits();\n }", "public void setSize(int size) {\n\t\tthis.size = size;\n\t}", "public void setSize(int size) {\n\t\tthis.size = size;\n\t}", "public void setSize(int size) {\n\t\tthis.size = size;\n\t}", "public void setSize(int size) {\n\t\tthis.size = size;\n\t}", "public void setShape(ChamberShape theShape) {\n mySize = theShape;\n setExits();\n }", "public void setSize(int size);", "private void set_size(int size)\r\n\t{\r\n\t\tthis.size = size;\r\n\t}", "public void setSizeModifier(Dimension size) {\n\t\tthis.size = size;\n\t}", "public void setSize(RMSize aSize) { setSize(aSize.width, aSize.height); }", "void setSize(Dimension size);", "public void setSize(long size) {\r\n\t\tthis.size = size;\r\n\t}", "public boolean setShapeSize(DimensionF shapeSize) {\n if (ObjectUtils.equals(this.shapeSize, shapeSize))\n return false;\n this.shapeSize = shapeSize;\n return true;\n }", "public void setSize(String size) {\r\n //System.out.print(\"Setting Size...\");\r\n this.Size = size;\r\n }", "public void setSize( Point size ) {\n checkWidget();\n if ( size == null )\n error( SWT.ERROR_NULL_ARGUMENT );\n setSize( size.x, size.y );\n }", "public void setSize(int size){\n\t\tthis.shipSize = size;\n\t}", "public void setSize(Integer size) {\n this.size = size;\n }", "public void setSize(Vector2ic size){\n glfwSetWindowSize(handle, size.x(), size.y());\n this.size.set(size);\n sizeMultiplexer.handle(new WindowSizeEvent(handle, size.x(), size.y()));\n }", "public void setSize(String size) {\n this.size = size;\n }", "public void setSize(int value) {\n\t\tthis.size = value;\n\t}", "public void setSize(int size) {\n\tthis.sizeNumber = sizeNumber;\r\n}", "public void setSize(double s)\n\t{\n\t\tsize = s;\n\t}", "public void setStructureSize(int size) {\n\t\tmStructureSize = size;\n\t\tvalidateSize();\n\t\trepaint();\n\t\t}", "public void setSize(float width, float height);", "public void setSize(int newSize);", "public void setSize(int newSize);", "private void setSize(int s){\n\t\tsize = s;\n\t}", "public void setShape(Shape shape) {\n validateShape(shape);\n\n this.shape = shape;\n this.shape.calculate();\n initializeScroller();\n resetScroll();\n }", "@Element \n public void setSize(String size) {\n this.size = size;\n }", "public void setSize();", "public void setFrameSize();", "public void setPreferredSize( Point size ) {\n checkWidget();\n if ( size == null )\n error( SWT.ERROR_NULL_ARGUMENT );\n setPreferredSize( size.x, size.y );\n }", "public Builder setSize(int value) {\n\n size_ = value;\n onChanged();\n return this;\n }", "public Builder setSize(int value) {\n\n size_ = value;\n onChanged();\n return this;\n }", "public void set_size(int s);", "public void setSize(long value) {\n this.size = value;\n }", "public void setSize(TSizeInBytes size) {\n\n\t\tthis.size = size;\n\t}", "public abstract void setSize(Dimension d);", "protected abstract void setSize();", "public void setSizeState(SizeState size) {\n this.sizeState = size;\n }", "public void setBorderSize(double size)\n {\n borderSize = size;\n }", "public void setSize(@Nullable String size) {\n this.size = size;\n }", "void setDimension(double width, double height);", "public void size(final int theWidth, final int theHeight);", "public void changeSize(Integer newLength, Integer newHeight) {\n control.erase();\n width = newLength;\n height = newHeight;\n control.draw();\n }", "@Override\n\tpublic void setSize(float size) {\n\t\tthis.size = size;\n\t\trxs = new int [ Math.max(Math.round(size/calibration[0]), Math.round(size/calibration[1])) + 1 ];\t\t\n\t\treset();\n\t}", "public void setPointSize(float pointSize)\n {\n myPointSize = pointSize;\n }", "public void setSize(VideoSize size) {\n this.size = size;\n }", "public void setSize(String size) {\r\n this.size = size == null ? null : size.trim();\r\n }", "public void setBrushSize(int size)\n {\n brushSize = size;\n }", "public static final void setSize(UIObject o, Rect size) {\n o.setPixelSize(size.w, size.h);\n\n }", "public void setSize(int size) {\n\t members = size;\n\t}", "public void setSize(int x, int y)\n {\n \tthis.width = x;\n \tthis.height = y;\n }", "public void setSize(String size) {\n\t\tthrow new UnsupportedOperationException(\"readonly\");\n\t}", "void setSize(float w, float h) {\n _w = w;\n _h = h;\n }", "@JSProperty(\"size\")\n void setSize(double value);", "protected final void multiplySize(float size)\n {\n super.setSize(this.bokoblinWidth * size, this.bokoblinHeight * size);\n }", "public FontRenderer setSize(float size) {\n\t\tthis.size = size;\n\t\ttransform.setScale(size);\n\t\t\n\t\treturn this;\n\t}", "public void sizeBy(float size) {\n internalGroup.sizeBy(size);\n dataTrait.width = internalGroup.getWidth();\n dataTrait.height = internalGroup.getHeight();\n resetSprite();\n }", "public Builder setSize(double value) {\n bitField0_ |= 0x00000020;\n size_ = value;\n onChanged();\n return this;\n }", "public void setSize(Dimension newSize) {\n\t\tif(newSize.height<80)\n\t\t\tnewSize.height=80;\n\t\tif (newSize != null) {\n\t\t\tsize.setSize(newSize);\n\t\t\tfirePropertyChange(Props.SIZE_PROP.getValue(), null, size);\n\t\t}\n\t}", "public void setSize(double value) {\n getElement().setSize(value);\n }", "public Builder setSize(godot.wire.Wire.Vector3 value) {\n if (sizeBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n size_ = value;\n onChanged();\n } else {\n sizeBuilder_.setMessage(value);\n }\n\n return this;\n }", "public void sizeHasBeenSet() {\n isSizeSet = true;\n }", "protected void setSize(Dimension dim) {}", "public void setSizeType(int type) {\n\t\tif (sizeType == type)\n\t\t\treturn;\n\t\tif (type != LMOptions.SMALL && type != LMOptions.LARGE && type != LMOptions.VARY)\n\t\t\treturn;\n\t\t\n\t\tdouble scale = parentLattice.getScale();\n\t\tdouble dotSize = DOT_NODE_SIZE * scale;\n\t\tdouble smallSize = SMALL_NODE_SIZE * scale;\n\t\tdouble largeSize = LARGE_NODE_SIZE * scale;\n\t\t\n\t\tif (type == LMOptions.SMALL && sizeType == LMOptions.LARGE) {\n\t\t\tsizeType = LMOptions.SMALL;\n\t\t\tdouble x = shape.getX() + ((largeSize - smallSize) / 2.0);\n\t\t\tdouble y = shape.getY() + ((largeSize - smallSize) / 2.0);\n\t\t\tshape.setFrame(x, y, smallSize, smallSize);\n\t\t}\n\n\t\telse if (type == LMOptions.SMALL && sizeType == LMOptions.VARY) {\n\t\t\tsizeType = LMOptions.SMALL;\n\t\t\tif (ownObject) {\n\t\t\t\tdouble x = shape.getX() + ((largeSize - smallSize) / 2.0);\n\t\t\t\tdouble y = shape.getY() + ((largeSize - smallSize) / 2.0);\n\t\t\t\tshape.setFrame(x, y, smallSize, smallSize);\n\t\t\t} else {\n\t\t\t\tdouble x = shape.getX() - ((smallSize - dotSize) / 2.0);\n\t\t\t\tdouble y = shape.getY() - ((smallSize - dotSize) / 2.0);\n\t\t\t\tshape.setFrame(x, y, smallSize, smallSize);\n\t\t\t}\n\t\t}\n\n\t\telse if (type == LMOptions.LARGE && sizeType == LMOptions.SMALL) {\n\t\t\tsizeType = LMOptions.LARGE;\n\t\t\tdouble x = shape.getX() - ((largeSize - smallSize) / 2.0);\n\t\t\tdouble y = shape.getY() - ((largeSize - smallSize) / 2.0);\n\t\t\tshape.setFrame(x, y, largeSize, largeSize);\n\t\t}\n\n\t\telse if (type == LMOptions.LARGE && sizeType == LMOptions.VARY) {\n\t\t\tsizeType = LMOptions.LARGE;\n\t\t\tif (!ownObject) {\n\t\t\t\tdouble x = shape.getX() - ((largeSize - dotSize) / 2.0);\n\t\t\t\tdouble y = shape.getY() - ((largeSize - dotSize) / 2.0);\n\t\t\t\tshape.setFrame(x, y, largeSize, largeSize);\n\t\t\t}\n\t\t}\n\n\t\telse if (type == LMOptions.VARY && sizeType == LMOptions.LARGE) {\n\t\t\tsizeType = LMOptions.VARY;\n\t\t\tif (!ownObject) {\n\t\t\t\tdouble x = shape.getX() + ((largeSize - dotSize) / 2.0);\n\t\t\t\tdouble y = shape.getY() + ((largeSize - dotSize) / 2.0);\n\t\t\t\tshape.setFrame(x, y, dotSize, dotSize);\n\t\t\t}\n\t\t}\n\n\t\telse if (type == LMOptions.VARY && sizeType == LMOptions.SMALL) {\n\t\t\tsizeType = LMOptions.VARY;\n\t\t\tif (ownObject) {\n\t\t\t\tdouble x = shape.getX() - ((largeSize - smallSize) / 2.0);\n\t\t\t\tdouble y = shape.getY() - ((largeSize - smallSize) / 2.0);\n\t\t\t\tshape.setFrame(x, y, largeSize, largeSize);\n\t\t\t} else {\n\t\t\t\tdouble x = shape.getX() + ((smallSize - dotSize) / 2.0);\n\t\t\t\tdouble y = shape.getY() + ((smallSize - dotSize) / 2.0);\n\t\t\t\tshape.setFrame(x, y, dotSize, dotSize);\n\t\t\t}\n\t\t}\n\t\t\n\t\tif (internalLattice != null)\n\t\t\tinternalLattice.refreshConceptsShape();\n\t\t\n\t\tlabel.refreshShape();\n\t}", "public void setSize(PlayerSize size) {\n if (size == this.size) {\n return; // Return, already sized like that\n }\n\n PlayerSize oldSize = this.size;\n this.size = size;\n\n updateSizeSafely(getView());\n\n if (mListener != null) {\n mListener.onPlayerSizeChanged(size, oldSize);\n }\n }", "public void setShapeType(ShapeType shapeType) {\n }", "public void setSize(int width, int height) {\n this.width = width;\n this.height = height;\n }", "void setSize(int axis, int origin, int size) {\n this.size = size;\n if (size == UNSET) {\n unset();\n }\n }", "public void setMinSize(Point size) {\n if (size == null) {\n setMinSize(0, 0);\n } else {\n setMinSize(size.x, size.y);\n }\n }", "public void setSize(int size) {\n\t\tdist = new double[size];\n\t\tprev = new Node[size];\n\t\tready = new boolean[size];\n\t}", "public void setShape(ShapeType shape) {\n\t\tthis.shape = shape;\n\t}", "public void setSize(int x, int y) {\n if (x < 0 || y < 0) {\n throw new AssertionError();\n }\n\n fenetre.setSize(x, y); \n }", "@ReactProp(name = \"size\")\n public void setSize(ReactSwipeRefreshLayout view, Dynamic size) {\n if (size.isNull()) {\n view.setSize(SwipeRefreshLayout.DEFAULT);\n } else if (size.getType() == ReadableType.Number) {\n view.setSize(size.asInt());\n } else if (size.getType() == ReadableType.String) {\n setSize(view, size.asString());\n } else {\n throw new IllegalArgumentException(\"Size must be 'default' or 'large'\");\n }\n }", "public com.autodesk.ws.avro.Call.Builder setObjectSize(java.lang.Long value) {\n validate(fields()[6], value);\n this.object_size = value;\n fieldSetFlags()[6] = true;\n return this; \n }", "public void assignShape() {\n\t\t\n\t}", "private void basicSize(){\n setSize(375,400);\n }", "public void setSizeInBits(final int size) {\n\t\tthis.sizeinbits = size;\n\t}", "public void setShape( final FireShapes shape ) {\r\n\t\tthis.shape = shape;\r\n\t}", "public void setLocalSize(int size);", "void setPaperSize(short size);", "public void setSizeP(Number value) {\n setAttributeInternal(SIZEP, value);\n }", "public void setMinimumSize( Point size ) {\n checkWidget();\n if ( size == null )\n error( SWT.ERROR_NULL_ARGUMENT );\n setMinimumSize( size.x, size.y );\n }", "public void setSize(int index, int size);", "public void setSize(int w, int h) {\n\n\t}", "public MazePanel(int size) \r\n\t{\r\n\t\tthis.size = size;\r\n\t\tthis.setPreferredSize( getSize() );\r\n\t\tReset ( );\r\n\t}", "public void setSize(Dimension d) {\n\n\t}", "@Override\n\tpublic void setSize(String sizeOfTheBeverage) {\n\t\tthis.sizeOfTheBeverage = sizeOfTheBeverage;\n\t}", "public void setShape(Info shape) {\n \n }" ]
[ "0.7553719", "0.75526345", "0.7530696", "0.75091565", "0.74953914", "0.747411", "0.747411", "0.74518675", "0.74309534", "0.7398468", "0.7379944", "0.73571676", "0.73571676", "0.73571676", "0.73571676", "0.73328626", "0.72988725", "0.7280309", "0.7253397", "0.72129893", "0.7188038", "0.71677524", "0.7142447", "0.71370137", "0.70919627", "0.7060077", "0.7043552", "0.6925367", "0.69197875", "0.69088805", "0.68805164", "0.68094355", "0.6800359", "0.679741", "0.67323476", "0.67323476", "0.6715137", "0.67068654", "0.6699445", "0.6697157", "0.66517496", "0.6650768", "0.6621253", "0.6621253", "0.6619406", "0.6584887", "0.65804434", "0.65440696", "0.6541635", "0.6518496", "0.6487768", "0.64631665", "0.64620626", "0.64534724", "0.6446028", "0.6440301", "0.640413", "0.64025456", "0.6401838", "0.63997626", "0.63870007", "0.6372327", "0.63446385", "0.63415277", "0.6332333", "0.63247615", "0.632405", "0.63202673", "0.6319352", "0.62898594", "0.62859833", "0.62496454", "0.6248024", "0.62384313", "0.62353927", "0.62225", "0.6215223", "0.62129235", "0.61926347", "0.61852825", "0.6178653", "0.6173861", "0.6142337", "0.6139152", "0.6075637", "0.60754067", "0.6068623", "0.6056636", "0.60535324", "0.60523194", "0.6051695", "0.60465753", "0.6046289", "0.6037358", "0.6035154", "0.60300577", "0.6025186", "0.59871876", "0.59847045", "0.59821635" ]
0.67405933
34
Returns the X, Y, width and height of the shape as a rect (use getFrame if shape has roll/scale/skew).
public RMRect getBounds() { return new RMRect(getX(), getY(), getWidth(), getHeight()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Shape getShape()\n\t{\n\t\treturn rect;\n\t}", "org.chromium.components.paint_preview.common.proto.PaintPreview.RectProto getRect();", "public Rectangle getShape() \n\t{\n\t\treturn box;\n\t}", "Shape getShape();", "public Rectangle get_rect() {\n\t\treturn new Rectangle(\n\t\t\t\torigin_x+component_x, \n\t\t\t\torigin_y+component_y-component_height+3, \n\t\t\t\tcomponent_width, \n\t\t\t\tcomponent_height\n\t\t\t);\n\t}", "@Override\n\tpublic String getShape() {\n\t\treturn \"Rectangle\";\n\t}", "public Shape getRectangle() {\n return rectangle;\n }", "public Rectangle getShape(){\n return myRectangle;\n }", "@Override\n\tpublic String getShapeType() {\n\t\treturn \"Rectangle\";\n\t}", "public RMRect getFrame() { return isRSS()? convertRectToShape(getBoundsInside(), _parent) : getBounds(); }", "public Rectangle getRectangle() {\r\n return new Rectangle((int) x, (int) y, cwidth, cheight);\r\n }", "public Rectangle getRect() {\n return new Rectangle(x,y,(imageWeight-50),(imageHeight-50));\n }", "Rectangle getRect(){\n \treturn new Rectangle(x,y,70,25);\n }", "public Shape getShape();", "public Rectangle getRectangle();", "public Shape getShape() {\n\t\tif (_child == null) {\n\t\t\treturn new Rectangle2D.Double();\n\t\t} else {\n\t\t\treturn _child.getShape();\n\t\t}\n\t}", "public Shape getShape() {\r\n\t\t\treturn shape;\r\n\t\t}", "public Shape getShape() {\n\t\treturn shape;\n\t}", "IShape getCurrentShape();", "@java.lang.Override\n public org.chromium.components.paint_preview.common.proto.PaintPreview.RectProto getRect() {\n return instance.getRect();\n }", "public Rectangle getAWTRectangle() {\n\t\tRectangle r = null;\n\t\tif (width >= 0) {\n\t\t\tif (height >= 0) {\n\t\t\t\tr = new Rectangle(this.origin.getX0(), this.origin\n\t\t\t\t\t\t.getY0(), width, height);\n\t\t\t} else {\n\t\t\t\t// width >= 0 && height < 0\n\t\t\t\tr = new Rectangle(this.origin.getX0(), this.origin\n\t\t\t\t\t\t.getY0()\n\t\t\t\t\t\t+ height, width, -height);\n\t\t\t}\n\t\t} else {\n\t\t\tif (height >= 0) {\n\t\t\t\tr = new Rectangle(this.origin.getX0() + width, this.origin\n\t\t\t\t\t\t.getY0(), -width, height);\n\t\t\t} else {\n\t\t\t\t// width < 0 && height < 0\n\t\t\t\tr = new Rectangle(this.origin.getX0() + width, this.origin\n\t\t\t\t\t\t.getY0()\n\t\t\t\t\t\t+ height, -width, -height);\n\t\t\t}\n\t\t}\n\t\treturn r;\n\t}", "public Shape getShape() { return shape; }", "public BoundingShape getBoundingShape() {\n\treturn boundingShape;\n }", "public Shape getShape() {\n\treturn shape;\n }", "public Shape getShape() {\n return shape;\n }", "public Vector2D toRect()\n {\n return new Vector2D(this.x * Math.cos(this.y), this.x * Math.sin(this.y));\n }", "public Rectangle getBounds() {\n\t\treturn new Rectangle((int) xPos, (int) yPos, (int) width, (int) height);\n\t}", "Rect getCollisionShape()\n {\n return new Rect(x+2,y+2,x +(width-2), y+(height-2));\n }", "public Shape getBgetBoundingBox() {\r\n\t\t\r\n\t\tEllipse2D elilipse = new Ellipse2D.Double(0, 0, imageWidth, imageHeight);\r\n\t\tAffineTransform at = new AffineTransform(); \r\n\t\tat.translate(locationX, locationY);\r\n\t\tat.rotate(Math.toRadians(angle*sizeAngles));\r\n\t\t at.scale(0.5, 0.5);\r\n\t\tat.translate(-imageWidth/2, -imageHeight/2);\r\n\t\t\r\n\t\tShape rotatedRect = at.createTransformedShape(elilipse);\r\n\t\treturn rotatedRect;\r\n\t}", "public MyRectangle getRectangle() {\n\t\treturn new MyRectangle(x, y, width, height);\n\t}", "public Rectangle getBounds() {\n\treturn new Rectangle((int)x,(int)y,32,32);\n\t}", "public abstract Rectangle getSnapshotSquareBounds();", "public Rectangle getBounds()\n {\n return new Rectangle ((int)x,(int)y,32,32);\n }", "public Rectangle2D getRectangle() {\n return Util.getRectangle(getLocation(), size);\n }", "public RMRect convertedRectFromShape(RMRect aRect, RMShape aShape)\n{\n return convertRectFromShape(new RMRect(aRect), aShape);\n}", "public PDRectangle getRectDifference() {\n/* 615 */ COSBase base = getCOSObject().getDictionaryObject(COSName.RD);\n/* 616 */ if (base instanceof COSArray)\n/* */ {\n/* 618 */ return new PDRectangle((COSArray)base);\n/* */ }\n/* 620 */ return null;\n/* */ }", "@java.lang.Override\n public org.chromium.components.paint_preview.common.proto.PaintPreview.RectProto getRect() {\n return rect_ == null ? org.chromium.components.paint_preview.common.proto.PaintPreview.RectProto.getDefaultInstance() : rect_;\n }", "public Rectangle2D getBounds() {\n\t\t// FIXME: these bounds REALLY need to be cached. But it's\n\t\t// painful because of the public members.\n\t\tif (stroke == null) {\n\t\t\treturn shape.getBounds2D();\n\t\t} else if (stroke instanceof BasicStroke) {\n\t\t\t// For some reason (antialiasing?) the bounds returned by\n\t\t\t// BasicStroke is off by one. This code works around it.\n\t\t\t// if all we want is the bounds, then we don't need to actually\n\t\t\t// stroke the shape. We've had reports that this is no longer\n\t\t\t// necessary with JDK1.3.\n\t\t\tRectangle2D rect = shape.getBounds2D();\n\t\t\tint width = (int) ((BasicStroke) stroke).getLineWidth() + 2;\n\t\t\treturn new Rectangle2D.Double(rect.getX() - width, rect.getY()\n\t\t\t\t\t- width, rect.getWidth() + width + width, rect.getHeight()\n\t\t\t\t\t+ width + width);\n\t\t} else {\n\t\t\t// For some reason (antialiasing?) the bounds returned by\n\t\t\t// BasicStroke is off by one. This code works around it.\n\t\t\t// We've had reports that this is no longer\n\t\t\t// necessary with JDK1.3.\n\t\t\tRectangle2D rect = stroke.createStrokedShape(shape).getBounds2D();\n\t\t\treturn new Rectangle2D.Double(rect.getX() - 1, rect.getY() - 1,\n\t\t\t\t\trect.getWidth() + 2, rect.getHeight() + 2);\n\t\t}\n\t}", "public RMRect convertedRectToShape(RMRect aRect, RMShape aShape)\n{\n return convertRectToShape(new RMRect(aRect), aShape);\n}", "public Rectangle getRectangle() {\n\t\treturn new Rectangle(x, y, imgBullet.getIconWidth(), imgBullet.getIconHeight());\n\t}", "public Rectangle toRectangle()\r\n {\r\n return new Rectangle(x, y, width, height);\r\n }", "public Rectangle2D getBoundary()\n {\n \tRectangle2D shape = new Rectangle2D.Float();\n shape.setFrame(location.getX(),location.getY(),12,length);\n return shape;\n }", "@Override\n\tpublic Rectangle2D getRectangle() {\n\t\treturn rect;\n\t}", "public int[] getShape() {\n return shape;\n }", "public Shape getShape(Graphics2D g) {\r\n\t\tdouble innerNodeHeight = getInnerBoxHeight(g);\r\n\t\treturn new Rectangle2D.Double(visualNode.getUpperLeftCornerX(g) + INTERNAL_MARGIN, \r\n\t\t\t\tvisualNode.getUpperLeftCornerY(g) + visualNode.getTextHeight(g) + INTERNAL_MARGIN, \r\n\t\t\t\tBOX_WIDTH, \r\n\t\t\t\tinnerNodeHeight);\r\n\t}", "public ShapeType getShape() {\n\t\treturn this.shape;\n\t}", "public Rect getBBox() throws PDFNetException {\n/* 857 */ return new Rect(GetBBox(this.a));\n/* */ }", "public Rectangle getBounds();", "public Rectangle getBounds();", "Rectangle getBounds();", "private Geometry createRectangle(double x, double y, double w, double h) {\n Coordinate[] coords = {\n new Coordinate(x, y), new Coordinate(x, y + h),\n new Coordinate(x + w, y + h), new Coordinate(x + w, y),\n new Coordinate(x, y)\n };\n LinearRing lr = geometry.getFactory().createLinearRing(coords);\n\n return geometry.getFactory().createPolygon(lr, null);\n }", "public Rectangle getBounds(){\r\n return new Rectangle(x, y, w, w);\r\n }", "protected void createRect()\r\n\t{\r\n\t\trect = new Rectangle(getX(),getY(),width,height);\r\n\t}", "@Override\r\n\tpublic Rectangle getRect() {\n\t\treturn null;\r\n\t}", "public Rectangle getRectangle() {\n if (isFacingRight) {\n return new Rectangle(getX() + R_HORIZ_OFF, getY() + VERT_OFF, SIDE_LEN, SIDE_LEN);\n } else {\n return new Rectangle(getX() + L_HORIZ_OFF, getY() + VERT_OFF, SIDE_LEN, SIDE_LEN);\n }\n }", "public Rectangle getBounds () {\r\n\tcheckWidget();\r\n\tPhArea_t area = new PhArea_t ();\r\n\tOS.PtWidgetArea (handle, area);\r\n\treturn new Rectangle (area.pos_x, area.pos_y, area.size_w, area.size_h);\r\n}", "public RMRect bounds() { return new RMRect(x(), y(), width(), height()); }", "public abstract Rectangle getBounds();", "public abstract Rectangle getBounds();", "public abstract Rectangle getBounds();", "public String getRectangleBounds() {\n checkAvailable();\n return impl.getRectangle();\n }", "public Rectangle getBounds() {\n return new Rectangle(x, y, DIAMETER, DIAMETER); // returns a rectangle with its dimensions\r\n }", "public Rectangle getBounds() {\n\t\tRectangle Box = new Rectangle(x, y, 48, 48);\n\t\treturn Box;\n\t}", "public interface CompositeShapeInt\n{\n /**\n Add a shape to this composite shape.\n @param aShape the shape to add\n */\n void add(Shape aShape);\n\n /**\n Returns an integer Rectangle that completely encloses the Shape.\n Note that there is no guarantee that the returned Rectangle is the\n smallest bounding box that encloses the Shape, only that the Shape\n lies entirely within the indicated Rectangle.\n */\n Rectangle getBounds();\n\n /**\n Draws this CompositeShape at the relative position to the top left corner of the bounding box.\n @param g2 the graphics context\n */\n void draw (Graphics2D g);\n\n}", "godot.wire.Wire.Rect2 getRect2Value();", "int[] shape(){\n int[] dimensions = new int[2];\n dimensions[0] = this.rows;\n dimensions[1] = this.cols;\n return dimensions;\n }", "public Rectangle getBounds()\r\n\t{\r\n\t\treturn new Rectangle(x, y, w, h);\r\n\t}", "public Shape getShape() {\n\t\treturn _shape!=null? _shape: new CircleShape(new Vec2f(0,0), 0);\n\t}", "public Shape getShape() {\n\t\treturn this;\n\t}", "public Rectangle getBounds() {\n\t\treturn new Rectangle(getX(),getY(),width, width);\n\t}", "private Rectangle computeGrabRect() {\n\t\tint grabWidth = (int) ((double) magnifierSize.width / zoom);\n\t\tint grabHeight = (int) ((double) magnifierSize.height / zoom);\n\t\t// upper left corner is current point\n\t\treturn new Rectangle(point.x-grabWidth/2, point.y-grabHeight/2, grabWidth, grabHeight);\n\t}", "ShapeType getShapeType();", "Rectangle getBoundingBox(Rectangle rect);", "public java.awt.Rectangle getBounds(){\r\n return new java.awt.Rectangle((int)Math.round(x), (int)Math.round(y), (int)Math.round(getWidth()), (int)Math.round(getHeight()));\r\n }", "@Override\n\tpublic String toString() {\n\t\treturn (\"rect(\" + corner.x + \", \" + corner.y + \", \" + size.x + \", \"\n\t\t\t\t+ size.y + \")\");\n\t}", "interface DrawingShape {\n\t\tboolean contains(Graphics2D g2, double x, double y);\n\t\tvoid draw(Graphics2D g2);\n\t\tRectangle2D getBounds(Graphics2D g2);\n\t}", "public Shape getShape() {\n\t\treturn null;\n\t}", "@Override\n Shape getShape() {\n return Shape.Square;\n }", "@Override\n public COSBase getCOSObject()\n {\n return rectArray;\n }", "public Rectangle getRectangle() {\n return rectangle;\n }", "public abstract Rectangle getSnapshotBounds();", "public Rectangle get_bounds() {\n return new Rectangle(x,y, width-3, height-3);\n }", "public Rectangle2D getRectangle() {\n return rectangle;\n }", "public Rectangle getBounds() {\n return new Rectangle(x, y, 32, 32);\n }", "public Rectangle getBoundingBox() {\n return new Rectangle(this);\r\n }", "godot.wire.Wire.Rect2OrBuilder getRect2ValueOrBuilder();", "Rectangle getBounds() {\n return new Rectangle(getLocation(), getSize());\n }", "@Override\n\tpublic Rectangle getBoundingBox() {\n\t\tRectangle rectangle = new Rectangle(this.image.getWidth(), this.image.getWidth());\n\t\trectangle.setLocation(this.position);\n\t\treturn rectangle;\n\t}", "interface DrawingShape {\n\t\tboolean contains(Graphics2D g2, double x, double y);\n\n\t\tvoid draw(Graphics2D g2);\n\n\t\tRectangle2D getBounds(Graphics2D g2);\n\t}", "private RectHV rectLb() {\n\n if (!horizontal) {\n return new RectHV(\n rect.xmin(),\n rect.ymin(),\n p.x(),\n rect.ymax()\n );\n\n\n } else {\n return new RectHV(\n rect.xmin(),\n rect.ymin(),\n rect.xmax(),\n p.y()\n );\n }\n }", "public String whatShape();", "public RMRect getBoundsInside() { return new RMRect(0, 0, getWidth(), getHeight()); }", "protected Shape getShape()\n {\n return null;\n }", "public Rectangle getBounds() {\r\n return new Rectangle(x, y, 55, 51);\r\n }", "protected Rectangle determineBounds() {\n return getNetTransform().createTransformedShape( _bounds ).getBounds();\n }", "public Shape getMyShape() {\n\t\treturn myShape;\n\t}", "void createRectangles();", "public Rectangle() {\n\t\tthis.corner = new Point();\n\t\tthis.size = new Point();\n\t}", "public Rectangle getBounds() {\n\t\tif (img == null)\n\t\t\treturn new Rectangle();\n\t\treturn new Rectangle(new Dimension(img.getWidth(), img.getHeight()));\n\t}", "@Override\n public Rectangle getBounds() {\n return new Rectangle(x,y,64,64);\n }" ]
[ "0.7340351", "0.71050715", "0.69340104", "0.68972", "0.68853706", "0.68403226", "0.6823326", "0.6687171", "0.6670039", "0.6619761", "0.658755", "0.6575387", "0.6537841", "0.6514343", "0.6481784", "0.6468818", "0.6420214", "0.6383062", "0.6369067", "0.63655907", "0.6327447", "0.6323132", "0.63166505", "0.6311566", "0.63110834", "0.6300314", "0.62825894", "0.6277585", "0.62702066", "0.62639153", "0.62323654", "0.62259626", "0.6224441", "0.6211223", "0.62097937", "0.6195937", "0.6184906", "0.618481", "0.6178037", "0.6173695", "0.6171432", "0.6122903", "0.6121445", "0.61187124", "0.6106225", "0.6101385", "0.60980695", "0.6097541", "0.6097541", "0.6087232", "0.6079267", "0.6076368", "0.6064743", "0.6060187", "0.6059581", "0.6057345", "0.60556626", "0.6055362", "0.6055362", "0.6055362", "0.60526216", "0.60310054", "0.6026572", "0.60075486", "0.6004324", "0.59983736", "0.5987894", "0.59836984", "0.59754336", "0.5956241", "0.593864", "0.5936203", "0.5927555", "0.5921767", "0.5913114", "0.5911343", "0.59099114", "0.59084123", "0.59047985", "0.5904587", "0.58965564", "0.58902276", "0.58866465", "0.58850634", "0.5876969", "0.5870845", "0.5870765", "0.586895", "0.5854854", "0.584874", "0.5840641", "0.5837855", "0.58357894", "0.5832184", "0.5806753", "0.5800525", "0.5795989", "0.5795588", "0.5791788", "0.5782429" ]
0.61891437
36
Sets X, Y, width and height of shape to dimensions in given rect.
public void setBounds(Rectangle2D aRect) { setBounds(aRect.getX(), aRect.getY(), aRect.getWidth(), aRect.getHeight()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public RectangleShape(int xCoord, int yCoord, int widthOfRect, int heightOfRect)\n {\n System.out.println(\"setting x to: \"+ xCoord+\" & setting y to: \"+ yCoord);\n x = xCoord;\n y = yCoord;\n width = widthOfRect;\n height = heightOfRect;\n }", "@Override\n public void rect(double x, double y, double width, double height) {\n graphicsEnvironmentImpl.rect(canvas, x, y, width, height);\n }", "void setBounds(Rectangle rectangle);", "Rectangle(double newWidth, double newHeight){\n height = newHeight;\n width = newWidth;\n }", "public void fillRectangle(RectangleShape rectangle);", "protected void createRect()\r\n\t{\r\n\t\trect = new Rectangle(getX(),getY(),width,height);\r\n\t}", "public void set(double x, double y, double width, double height) {\n setRect(x, y, width, height);\n }", "private void setRect(org.chromium.components.paint_preview.common.proto.PaintPreview.RectProto value) {\n value.getClass();\n rect_ = value;\n bitField0_ |= 0x00000001;\n }", "public void drawRect(int x, int y, int width, int height);", "private void resizeRectangle() {\r\n Rectangle r;\r\n for (Rectangle rectangle : rectangles) {\r\n r = rectangle;\r\n r.setHeight(rectangleSize);\r\n r.setWidth(rectangleSize);\r\n }\r\n }", "public void showRectangleSizeSetup() {\n sizeArea.removeAllViewsInLayout();\n sizeArea.addView(heightEdit);\n sizeArea.addView(widthEdit);\n }", "public void fillRect(int x, int y, int width, int height);", "@Override\n public void setRectangle() {\n switch (direction){\n case 0:\n rectangle.setLocation((int)x+5,(int)y+8);\n break;\n case 2:\n rectangle.setLocation((int)x+5,(int)y+8);\n break;\n case 1:\n rectangle.setLocation((int)x+13,(int)y+8);\n break;\n case 3:\n rectangle.setLocation((int)x+2,(int)y+8);\n break;\n }\n\n }", "@As( \"figure with dimensions x: $, y: $, width: $, height: $\" )\n void figure(double x, double y, double width, double height) {\n figure = new SVGRectFigure(x,y,width,height);\n handles.clear();\n ResizeHandleKit.addEdgeResizeHandles(figure,handles);\n ResizeHandleKit.addCornerResizeHandles(figure, handles);\n setUpView();\n }", "public void setShape(int left, int top, int width, int height) {\n rectShape.left = left;\n rectShape.top = top;\n rectShape.width = width;\n rectShape.height = height;\n\n setPathShapes(0, 0, width, height);\n subgroup.setTransform(left, top);\n textGroup.setTransform(left, top);\n\n textUtil.setShapeSize(width, height);\n\n if (legacy) {\n textUtil.setTextShape();\n }\n }", "public Rect(int xPos,int yPos,int rectWidth,int rectHeight,Color rectColor) {\n \tsuper(rectColor);\n \tx = xPos;\n \ty = yPos;\n \twidth = rectWidth;\n \theight = rectHeight;\n }", "public void setSize(int width, int height)\n\t{\n\t\tint x = getPosition().x;\n\t\tint y = getPosition().y;\n\n\t\trect.setLocation(x - width / 2, y - height / 2);\n\n\t\trect.setSize(width, height);\n\t}", "protected abstract void fillRect(final float x, final float y,\n final float width, final float height);", "Rectangle(){\n height = 1;\n width = 1;\n }", "void setDimension(double width, double height);", "public void fillRectangle(int x, int y, int width, int height);", "public void strokeRectangle(int x, int y, int width, int height);", "public Rectangle(int x, int y, int w, int h) {\n this.x = x;\n this.y = y;\n this.size = new Dimension(w, h);\n }", "private void setSizeBox() {\n\t\t\tthis.leftX = pointsSubStroke.get(0).getX();\n\t\t\tthis.righX = pointsSubStroke.get(0).getX();\n\t\t\tthis.topY = pointsSubStroke.get(0).getY();\n\t\t\tthis.bottomY = pointsSubStroke.get(0).getY();\n\t\t\t\n\t\t\tfor(int i = 0; i < pointsSubStroke.size();i++) {\n\t\t\t\tdouble x = pointsSubStroke.get(i).getX();\n\t\t\t\tdouble y = pointsSubStroke.get(i).getX();\n\t\t\t\t\n\t\t\t\tthis.leftX = Math.min(x, leftX);\n\t\t\t\tthis.righX = Math.max(x, righX);\n\t\t\t\tthis.topY = Math.min(y, topY);\n\t\t\t\tthis.bottomY = Math.max(y, bottomY);\n\t\t\t}\n\t\t}", "public void setBounds(double anX, double aY, double aW, double aH) { setX(anX); setY(aY); setWidth(aW); setHeight(aH); }", "public RectangleAdapter(Shapes rect) {\n super(rect);\n //this.rect = (Rectangle)rect;\n }", "void setRectHitbox(float w, float h) {\n _hitbox = new PVector[]{\n new PVector(-w/2, h/2),\n new PVector(-w/2, -h/2),\n new PVector(w/2, -h/2),\n new PVector(w/2, h/2)\n };\n }", "public void drawRect(int x, int y, int width, int height, int color);", "public void createRectangle(double x, double y, double width, double height) {\r\n GRect rectangle = new GRect(x, y, width, height);\r\n rectangle.setFilled(true);\r\n rectangle.setFillColor(Color.GRAY);\r\n rectangle.setColor(Color.WHITE);\r\n add(rectangle);\r\n }", "public Rectangle set(int x, int y, int width, int height) {\n\t\tthis.corner.set(x, y);\n\t\tthis.size.set(width, height);\n\t\treturn this;\n\t}", "public static void bgfx_set_view_rect(@NativeType(\"bgfx_view_id_t\") int _id, @NativeType(\"uint16_t\") int _x, @NativeType(\"uint16_t\") int _y, @NativeType(\"uint16_t\") int _width, @NativeType(\"uint16_t\") int _height) {\n nbgfx_set_view_rect((short)_id, (short)_x, (short)_y, (short)_width, (short)_height);\n }", "public void setRect(RectF rectF) {\n float[] fArr = this.coords;\n float f = rectF.left;\n fArr[0] = f;\n float f2 = rectF.top;\n fArr[1] = f2;\n float f3 = rectF.right;\n fArr[2] = f3;\n fArr[3] = f2;\n fArr[4] = f3;\n float f4 = rectF.bottom;\n fArr[5] = f4;\n fArr[6] = f;\n fArr[7] = f4;\n }", "public Rectangle() {\n\t\tthis.corner = new Point();\n\t\tthis.size = new Point();\n\t}", "public void setBounds(Rectangle b);", "public void strokeRectangle(RectangleShape rectangle);", "public Rectangle(double width, double height) {\r\n this.width = width;\r\n this.height = height;\r\n }", "public RectangleObject(double width, double height) {\r\n\t\tthis.width = width;\r\n\t\tthis.height = height;\r\n\t}", "public void setBounds(float x, float y, float width, float height) {\n internalGroup.setBounds(x, y, width, height);\n dataTrait.x = x;\n dataTrait.y = y;\n dataTrait.width = width;\n dataTrait.height = height;\n resetSprite();\n\n }", "public void reshape(int x, int y, int w, int h) {\n size.width = w;\n size.height = h;\n }", "public void setStuff(int x, int y, int w, int h)\n {\n\t xPos = x;\n\t yPos = y;\n\t width = w;\n\t height = h;\n }", "@Override\n\tpublic void setWidthAndHeight(int width, int height) {\n\t\t\n\t}", "public Shape(int width, int height) {\r\n\r\n\t\t// Shape width and height should not be greater than the sheet width and height\r\n\t\tif (width > Sheet.SHEET_WIDTH || height > Sheet.SHEET_HEIGHT) {\r\n\t\t\tthrow new IllegalArgumentException(\"Shape width or height is not valid\");\r\n\t\t}\r\n\r\n\t\tthis.sWidth = width;\r\n\t\tthis.sHeight = height;\r\n\t}", "Rectangle(int l, int w)\n {\n\tlength = l;\n\twidth = w;\n }", "public void setBounds(Rect bounds) {\r\n\t\tthis.widthAndHeight = bounds;\r\n\t\tc.setBounds(bounds);\r\n\t}", "public abstract void clearRect(int x, int y, int width, int height);", "public Rectangle(Integer width, Integer height) {\n super(300, 100, \"red\",null);\n this.width = width;\n this.height = height;\n control = new Control(this);\n }", "public CanvasDims(int x, int y, int width, int height) {\n this.x = x;\n this.y = y;\n this.width = width;\n this.height = height;\n }", "public void clearRect(int x, int y, float width, float height);", "private void setShape(ChamberShape theShape) {\n mySize = theShape;\n createDoorsFromExits();\n }", "void setPosition(int posX, int posY, int width, int height) {\n this.posX = posX;\n this.posY = posY;\n this.width = width;\n this.height = height;\n }", "@Override\n public void setBounds(Rectangle bounds) {\n final Rectangle repaintBounds = new Rectangle(getBounds());\n\n final Rectangle newBounds = new Rectangle(ajustOnGrid(bounds.x),\n ajustOnGrid(bounds.y), ajustOnGrid(bounds.width), bounds.height);\n\n newBounds.width = newBounds.width < MINIMUM_SIZE.x ? MINIMUM_SIZE.x\n : newBounds.width;\n\n this.bounds = newBounds;\n\n parent.getScene().repaint(repaintBounds);\n parent.getScene().repaint(newBounds);\n\n // Move graphics elements associated with this component\n leftMovableSquare.setBounds(computeLocationResizer(0));\n rightMovableSquare.setBounds(computeLocationResizer(bounds.width));\n\n setChanged();\n notifyObservers();\n }", "private static void storeRectangle(Roi roi, MetadataStore store,\n int roiNum, int shape)\n {\n Rectangle bounds = roi.getBounds();\n store.setRectangleX(new Double(bounds.x), roiNum, shape);\n store.setRectangleY(new Double(bounds.y), roiNum, shape);\n store.setRectangleWidth(new Double(bounds.width), roiNum, shape);\n store.setRectangleHeight(new Double(bounds.height), roiNum, shape);\n }", "public QuadtreeNode(Rectangle rect) {\n this.rectangle = rect;\n }", "public void setSize(int x, int y)\n {\n \tthis.width = x;\n \tthis.height = y;\n }", "public MyShape(Component c, int height, int width, int x, int y) {\n\t\tthis.r = new Rectangle(x, y, width,height);//height and width had to be changed to match the actual objects\n\t\tsetX(x);\n\t\tsetY(y);\n\t\tthis.width = width;\n\t\tthis.height = height;\t\n\n\t}", "Rectangle(int width, int height){\n area = width * height;\n }", "public void setShape(ChamberShape theShape) {\n mySize = theShape;\n setExits();\n }", "TwoDShape5(double x) {\n width = height = x;\n }", "public void drawRect(float x, float y, float width, float height) {\n float x1 = margins.computeX(x), y1 = margins.computeY(y);\n float x2 = margins.computeX(x + width), y2 = margins.computeY(y + height);\n buffer(() -> {\n GL15.glBufferData(GL15.GL_ARRAY_BUFFER, new float[]{\n x1, y1, 0F, 0F,\n x2, y1, 1F, 0F,\n x2, y2, 1F, 1F,\n x1, y2, 0F, 1F\n }, GL15.GL_STREAM_DRAW);\n GL11.glDrawArrays(GL11.GL_QUADS, 0, 4);\n });\n }", "public void setRectangleClip(int x, int y, float width, float height);", "public RectangleFromGeometricObject(double width, double height) {\r\n\t\tthis.width = width;\r\n\t\tthis.height = height;\r\n\t}", "public void setFrame(Rectangle2D aRect) { setFrame(aRect.getX(), aRect.getY(), aRect.getWidth(), aRect.getHeight()); }", "Polymorph(int x, int y, int height, int width){\n \t this.x = x;\n \t this.y = y;\n \t this.height = height;\n \t this.width = width;\n }", "public Rectangle(Rectangle rect) {\n\t\tsuper(rect.getX(),rect.getY(),rect.getWidth(),rect.getHeight(),rect.getColour());\n\t}", "public void drawRect(float[] rect) {\n\t\tparent.rect(rect[0], rect[1], rect[2], rect[3]);\n\t}", "public Rectangle(Point upperLeft, double width, double height) {\n this.upperLeft = upperLeft;\n this.width = width;\n this.height = height;\n }", "private void drawRect(double x0, double y0, double width, double height, int lWidth, Color color){\n \n lWidth = Math.min(lWidth, max_width);\n \n x0 += 0.5 * lWidth;\n y0 += 0.5 * lWidth;\n width -= lWidth;\n height -= lWidth;\n \n x0 /= this.width;\n y0 /= this.height;\n width /= this.width;\n height /= this.height;\n \n x0 -= 0.5;\n y0 -= 0.5;\n \n glLineWidth(lWidth);\n \n glBegin(GL_LINES);\n glEnable(GL_LINE_WIDTH);\n glColor3f(color.getRed(), color.getGreen(), color.getBlue());\n \n //left side\n glVertex3d(x0, y0 + height, 0);\n glVertex3d(x0, y0, 0);\n \n //Right side\n glVertex3d(x0 + width, y0, 0);\n glVertex3d(x0 + width, y0 + height, 0);\n \n x0 -= (double)lWidth / (double)this.width / 2d;\n width += (double)lWidth / (double)this.width;\n \n //bottom\n glVertex3d(x0, y0, 0);\n glVertex3d(x0 + width, y0, 0);\n \n //top\n glVertex3d(x0, y0 + height, 0);\n glVertex3d(x0 + width, y0 + height, 0);\n \n \n glEnd();\n }", "Rectangle() {\r\n\t\tlength = 1.0;\r\n\t\twidth = 1.0;\r\n\t}", "public Rectangle(int w, int h) {\n\t\tthis.width = w;\n\t\tthis.height = h;\n\t}", "public RMRect convertedRectToShape(RMRect aRect, RMShape aShape)\n{\n return convertRectToShape(new RMRect(aRect), aShape);\n}", "public void resize(int newWidth, int newHeight){\n\t\trect = new Rectangle((int)x, (int)y, newWidth, newHeight);\n\t}", "public void set(int x, int y, int width, int height, int rotation) {\n\t\tobox.set(x, y, width, height, rotation);\n\t}", "protected abstract void setShapes();", "public void assignShape() {\n\t\t\n\t}", "public HitBox(double x, double y, int width, int height){\n\t\trect = new Rectangle((int)x, (int)y, width, height);\n\t\tthis.width = width;\n\t\tthis.height = height;\n\t\tthis.x = x;\n\t\tthis.y = y;\n\t}", "public void setWidthHeight(double x, double y) {\n\t\twidth = x;\n\t\theight = y;\n\t}", "public static void drawRectangle(double width, double height) {\n gl.glPushMatrix();\n gl.glScaled(width, height, 1);\n gl.glBegin(GL.GL_TRIANGLE_FAN);\n gl.glVertex3d(-0.5, -0.5, 0);\n gl.glVertex3d(0.5, -0.5, 0);\n gl.glVertex3d(0.5, 0.5, 0);\n gl.glVertex3d(-0.5, 0.5, 0);\n gl.glEnd();\n gl.glPopMatrix();\n }", "public synchronized void setManualFramingRect(int width, int height) {\n if (initialized) {\n Point screenResolution = getScreenResolution();\n if (width > screenResolution.x) {\n width = screenResolution.x;\n }\n if (height > screenResolution.y) {\n height = screenResolution.y;\n }\n int leftOffset = (screenResolution.x - width) / 2;\n int topOffset = (screenResolution.y - height) / 2;\n framingRect = new Rect(leftOffset, topOffset, leftOffset + width, topOffset + height);\n Log.d(TAG, \"Calculated manual framing rect: \" + framingRect);\n framingRectInPreview = null;\n } else {\n requestedFramingRectWidth = width;\n requestedFramingRectHeight = height;\n }\n }", "public RMRect convertRectToShape(RMRect rect, RMShape shape)\n{\n if(shape==_parent && !isRSS()) { rect.offset(getX(), getY()); return rect; }\n return getTransformToShape(shape).transform(rect);\n}", "@Override\n public void fillRect(double x, double y, double width, double height) {\n graphicsEnvironmentImpl.fillRect(canvas, x, y, width, height);\n }", "void createRectangles();", "@Override\n public void setBounds(int x, int y, int w, int h, int op) {\n setBounds(x, y, w, h, op, true, false);\n }", "public void roundedRect(ShapeRenderer sr, float x, float y, float width, float height, float radius) {\n if(radius <= 0) {\n sr.rect(x, y, width, height);\n } else {\n // Central rectangle\n sr.rect(x + radius, y + radius, width - 2 * radius, height - 2 * radius);\n\n // Four side rectangles, in clockwise order\n sr.rect(x + radius, y, width - 2 * radius, radius);\n sr.rect(x + width - radius, y + radius, radius, height - 2 * radius);\n sr.rect(x + radius, y + height - radius, width - 2 * radius, radius);\n sr.rect(x, y + radius, radius, height - 2 * radius);\n\n // Four arches, clockwise too\n sr.arc(x + radius, y + radius, radius, 180f, 90f);\n sr.arc(x + width - radius, y + radius, radius, 270f, 90f);\n sr.arc(x + width - radius, y + height - radius, radius, 0f, 90f);\n sr.arc(x + radius, y + height - radius, radius, 90f, 90f);\n }\n }", "public Rectangle(int length, int width)\n {\n this.length = length;\n this.width = width;\n\n }", "public void setViewRectangle(Rectangle r) {\n\n\t}", "public void onBoundsChange(Rect rect) {\n Drawable drawable = this.f1995c;\n if (drawable != null) {\n drawable.setBounds(rect);\n }\n }", "public void setLens(double x, double y, double width, double height) {\n // remove the original lens image from the pane and create a new rectangle\n removeFromPane(lens);\n lens = new Rectangle(x, y, width, height);\n\n // fill up the rectangle with the lens image and add it to the pane\n lens.setFill(AssetManager.getLensImage());\n addToPane(lens);\n\n // update the lens width and the X coordinates of the lens rectangle\n lensWidth = lens.getWidth();\n lensX = lensCenterX - lensWidth / 2;\n }", "public void setRectangle(String key, Rectangle value) {\n\t\tif (value != null && !value.equals(getDefault(key)))\n\t\t\tinternal.setProperty(key, value.x + \" \" + value.y + \" \" + value.width + ' ' + value.height);\n\t\telse\n\t\t\tinternal.remove(key);\n\t}", "public Rectangle(String id, double height, double width) {\n\t\tsuper(id);\n\t\t\n\t\t// Initialized here for local use\n\t\tthis.height = height;\n\t\tthis.width = width;\n\t\t\n\t\t// Adds these variables to the array \"sideLengths\" \n\t\tthis.sideLengths.add(height);\n\t\tthis.sideLengths.add(height);\n\t\tthis.sideLengths.add(width);\n\t\tthis.sideLengths.add(width);\n\t}", "@Override\n\tpublic void resize(double width, double height) {\n\t\t// call the superclass method first\n\t\tsuper.resize(width, height);\n\n\t\t// figure out the width and height of a cell\n\t\tcell_width = width / 4.0;\n\t\tcell_height = height / 4.0;\n\n\t\t// resize the rectangle to take the full size of the widget\n\t\tback.setWidth(width);\n\t\tback.setHeight(height);\n\n\t\t// set a new y on the horizontal lines and translate them into place\n\t\tch_one.setY(cell_height);\n\t\tch_two.setY(2 * cell_height);\n\t\tch_three.setY(3 * cell_height);\n\t\th1.setEndX(width);\n\t\th2.setEndX(width);\n\t\th3.setEndX(width);\n\n\t\t// set a new x on the vertical lines and translate them into place\n\t\tcw_one.setX(cell_width);\n\t\tcw_two.setX(2 * cell_width);\n\t\tcw_three.setX(3 * cell_width);\n\t\tv1.setEndY(height);\n\t\tv2.setEndY(height);\n\t\tv3.setEndY(height);\n\t\t\n\t\t// we need to reset the sizes and positions of all XOPieces that were\n\t\t// placed\n\t\tfor (int i = 0; i < 4; i++) {\n\t\t\tfor (int j = 0; j < 4; j++) {\n\t\t\t\tif (board[i][j] != 0) {\n\t\t\t\t\trenders[i][j].relocate(i * cell_width, j * cell_height);\n\t\t\t\t\trenders[i][j].resize(cell_width, cell_height);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "public void drawRect(int x, int y, int width, int height, int color){\n hline(x, x + width - 1, y, color);\n hline(x, x + width - 1, y + height - 1, color);\n vline(y, y + height - 1, x, color);\n vline(y, y + height - 1, x + width - 1, color);\n }", "public void setSize(int width, int height) {\n this.width = width;\n this.height = height;\n }", "public void fillRoundRectangle(RectangleShape rectangle, int radius);", "public Shape(RectF bounds)\n {\n this.zIndex = 0;\n this.bounds = GeometryUtils.copy(bounds);\n this.visible = true;\n this.color = Color.white;\n this.positionAnchor = new PointF(0, 0);\n }", "public void setSize(double aWidth, double aHeight) { setWidth(aWidth); setHeight(aHeight); }", "public void setWindowRect(int width, int height) {\n \t\tGWT.log(\"setWindowRect(\" + width + \", \" + height + \")\");\n \t\twindowRect.setWidth(width);\n \t\twindowRect.setHeight(height);\n \t\tupdateTransform();\n \t}", "private void setShape(){\n // 0 - index of the vertex at the top of the polygon\n shapex[0] = x + MathUtils.cos(radians) * 8;\n shapey[0] = y + MathUtils.sin(radians) * 8;\n\n // 1 - index of the vertex at the bottom left of the polygon\n shapex[1] = x + MathUtils.cos(radians - 4 * 3.1415f / 5) * 8;\n shapey[1] = y + MathUtils.sin(radians - 4 * 3.1415f / 5) * 8;\n\n // 2 - index of the vertex at the bottom right of the polygon\n shapex[2] = x + MathUtils.cos(radians + 4 * 3.1415f / 5) * 8;\n shapey[2] = y + MathUtils.sin(radians + 4 * 3.1415f / 5) * 8;\n }", "public ConstRect(final ConstRect rect)\r\n {\r\n x = rect.x;\r\n y = rect.y;\r\n width = rect.width;\r\n height = rect.height;\r\n }", "public Shape(int x, int y, int deltaX, int deltaY, int width, int height) {\n\t\t_x = x;\n\t\t_y = y;\n\t\t_deltaX = deltaX;\n\t\t_deltaY = deltaY;\n\t\t_width = width;\n\t\t_height = height;\n\t}", "public void setSurfaceSize(int width, int height) {\n // synchronized to make sure these all change atomically\n synchronized (surfaceHolder) {\n canvasWidth = width;\n canvasHeight = height;\n }\n }" ]
[ "0.7031268", "0.67635655", "0.6630573", "0.6439969", "0.6426801", "0.64070964", "0.6400882", "0.629547", "0.62856334", "0.61746836", "0.61697084", "0.61581266", "0.6119284", "0.6109931", "0.6082865", "0.6045642", "0.6028884", "0.60265416", "0.60098886", "0.60053134", "0.5994094", "0.5986783", "0.5981757", "0.59532416", "0.5948471", "0.59329087", "0.59256345", "0.5919048", "0.5911104", "0.5886378", "0.58812267", "0.585404", "0.5847713", "0.5835418", "0.5819175", "0.58065176", "0.5796384", "0.57743806", "0.57548654", "0.5754313", "0.573438", "0.57275", "0.5712296", "0.5707865", "0.57074815", "0.5703386", "0.568049", "0.5678849", "0.56722206", "0.5669035", "0.5666945", "0.5666328", "0.566221", "0.56608444", "0.5659411", "0.5657953", "0.56238574", "0.56236225", "0.5618328", "0.56173915", "0.56000715", "0.55999625", "0.55863076", "0.5576875", "0.55710053", "0.5570462", "0.5566566", "0.5563481", "0.55615693", "0.5548011", "0.55415887", "0.55360454", "0.5531867", "0.5526526", "0.5524585", "0.5508959", "0.5504792", "0.5501699", "0.55016005", "0.549893", "0.54964745", "0.5495932", "0.54792356", "0.54737854", "0.5467443", "0.5461901", "0.54618293", "0.5459352", "0.5450463", "0.54437757", "0.5435625", "0.54338837", "0.54322255", "0.54312676", "0.5429779", "0.54267156", "0.54255205", "0.5418251", "0.5414874", "0.5414147" ]
0.5950184
24
Sets X, Y, width and height of shape to given dimensions.
public void setBounds(double anX, double aY, double aW, double aH) { setX(anX); setY(aY); setWidth(aW); setHeight(aH); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setDimension(double width, double height);", "public void setStuff(int x, int y, int w, int h)\n {\n\t xPos = x;\n\t yPos = y;\n\t width = w;\n\t height = h;\n }", "public void set(double x, double y, double width, double height) {\n setRect(x, y, width, height);\n }", "public void reshape(int x, int y, int w, int h) {\n size.width = w;\n size.height = h;\n }", "TwoDShape5(double x) {\n width = height = x;\n }", "@Override\n\tpublic void setWidthAndHeight(int width, int height) {\n\t\t\n\t}", "public CanvasDims(int x, int y, int width, int height) {\n this.x = x;\n this.y = y;\n this.width = width;\n this.height = height;\n }", "public void setSize(float width, float height);", "Polymorph(int x, int y, int height, int width){\n \t this.x = x;\n \t this.y = y;\n \t this.height = height;\n \t this.width = width;\n }", "public void setDimensions(Vector3f dimensions);", "public RectangleShape(int xCoord, int yCoord, int widthOfRect, int heightOfRect)\n {\n System.out.println(\"setting x to: \"+ xCoord+\" & setting y to: \"+ yCoord);\n x = xCoord;\n y = yCoord;\n width = widthOfRect;\n height = heightOfRect;\n }", "public void setSize(int x, int y)\n {\n \tthis.width = x;\n \tthis.height = y;\n }", "public void setup(int x, int y, int width, int height) {\n\t\tthis.x = x;\n\t\tthis.y = y;\n\t\tthis.width = width;\n\t\tthis.height = height;\n\t}", "void setSize(Dimension size);", "public void size(final int theWidth, final int theHeight);", "protected abstract void setShapes();", "public void setSize(double aWidth, double aHeight) { setWidth(aWidth); setHeight(aHeight); }", "@Test\n\tpublic void testSetDimensions() {\n\t\tExplorer explore = new Explorer();\n\t\texplore.setDimensions(3, 3);\n\t\tassertTrue(explore.getHeight() == 3);\n\t\tassertTrue(explore.getWidth() == 3);\n\t}", "public void setSize(int width, int height) {\n this.width = width;\n this.height = height;\n }", "public void assignShape() {\n\t\t\n\t}", "void setDimensions(double w, double h, double d) {\n width = w;\n height = h;\n d = depth;\n }", "@As( \"figure with dimensions x: $, y: $, width: $, height: $\" )\n void figure(double x, double y, double width, double height) {\n figure = new SVGRectFigure(x,y,width,height);\n handles.clear();\n ResizeHandleKit.addEdgeResizeHandles(figure,handles);\n ResizeHandleKit.addCornerResizeHandles(figure, handles);\n setUpView();\n }", "@Override\r\n\tpublic void setDimensions(int width, int height) {\r\n\t\t// TODO Auto-generated method stub\r\n\t\tthis.maze = new int[width][height];\r\n\t\t\r\n\t}", "private void setShape(ChamberShape theShape) {\n mySize = theShape;\n createDoorsFromExits();\n }", "void setPosition(int posX, int posY, int width, int height) {\n this.posX = posX;\n this.posY = posY;\n this.width = width;\n this.height = height;\n }", "TwoDShape5() {\n width = height = 0.0;\n }", "public void setDimensions(double newWidth, double newHeight) {\n this.width = newWidth;\n this.height = newHeight;\n }", "public Shape(int x, int y, int deltaX, int deltaY, int width, int height) {\n\t\t_x = x;\n\t\t_y = y;\n\t\t_deltaX = deltaX;\n\t\t_deltaY = deltaY;\n\t\t_width = width;\n\t\t_height = height;\n\t}", "public void fillShape(Shape shape);", "void setSize(float w, float h) {\n _w = w;\n _h = h;\n }", "public void setWidthHeight(double x, double y) {\n\t\twidth = x;\n\t\theight = y;\n\t}", "public void setSurfaceSize(int width, int height) {\n // synchronized to make sure these all change atomically\n synchronized (surfaceHolder) {\n canvasWidth = width;\n canvasHeight = height;\n }\n }", "public void setShape(Info shape) {\n \n }", "public void setShape(ChamberShape theShape) {\n mySize = theShape;\n setExits();\n }", "public Shape(int width, int height) {\r\n\r\n\t\t// Shape width and height should not be greater than the sheet width and height\r\n\t\tif (width > Sheet.SHEET_WIDTH || height > Sheet.SHEET_HEIGHT) {\r\n\t\t\tthrow new IllegalArgumentException(\"Shape width or height is not valid\");\r\n\t\t}\r\n\r\n\t\tthis.sWidth = width;\r\n\t\tthis.sHeight = height;\r\n\t}", "private void setFrameSize(int width, int height){\r\n\t\tthis.framewidth=width;\r\n\t\tthis.frameheight=height;\r\n\t}", "public void setSize(int width, int height) {\r\n\t\tthis.size = new Dimension(width, height);\r\n\t}", "public void setShape(int left, int top, int width, int height) {\n rectShape.left = left;\n rectShape.top = top;\n rectShape.width = width;\n rectShape.height = height;\n\n setPathShapes(0, 0, width, height);\n subgroup.setTransform(left, top);\n textGroup.setTransform(left, top);\n\n textUtil.setShapeSize(width, height);\n\n if (legacy) {\n textUtil.setTextShape();\n }\n }", "public abstract void setSize(Dimension d);", "public void setSize(int w, int h){\n this.width = w;\n this.height = h;\n ppuX = (float)width / CAMERA_WIDTH;\n ppuY = (float)height / CAMERA_HEIGHT;\n }", "public void setSize(int width, int height)\n\t{\n\t\tint x = getPosition().x;\n\t\tint y = getPosition().y;\n\n\t\trect.setLocation(x - width / 2, y - height / 2);\n\n\t\trect.setSize(width, height);\n\t}", "public Size(double width, double height)\r\n {\r\n this.width = width;\r\n this.height = height;\r\n }", "public void setSize(Dimension size) {\r\n this.size = size;\r\n }", "private void setPathShapes(int left, int top, int width, int height) {\n for (int i = 0; i < paths.size(); ++i) {\n PathWrapper p = paths.get(i);\n IPathFactory f = getPathFactories().get(i);\n p.path.setShape(f.createPath(left, top, width, height));\n }\n }", "public void setSize(int w, int h)\r\n {\r\n\t //ignore width (or ignore height)\r\n setWidth(h);\r\n setHeight(h);\r\n }", "public void setSize(int width, int height) {\n if (width > 0) {\n setWidth(width + \"px\");\n }\n if (height > 0) {\n setHeight(height + \"px\");\n }\n }", "public Object2D(double xs,double ys,Dimension sizes)\r\n\t{\r\n\t\tx = xs;\r\n\t\ty = ys;\r\n\t\twidth = (int)sizes.getHeight();\r\n\t\theight= (int)sizes.getWidth();\r\n\t}", "public void set(int x, int y, int width, int height, int rotation) {\n\t\tobox.set(x, y, width, height, rotation);\n\t}", "protected void setShape(Shape shape) {\n\t\tif (shape != null) {\n\t\t\t_shape = shape;\n\t\t\tthis.setLocation(shape.getLocation());\n\t\t\tthis.setDimensions(shape.getDimensions());\n\t\t}\n\t}", "@Override\n\tpublic void reshape(GLAutoDrawable glDrawable, int x, int y, int width, int height) {\n\t\tGL2 gl = glDrawable.getGL().getGL2();\n\t\t\n\t\t// resize the ortho view\n\t\t\n\t\t// set the matrix mode to projection\n\t\tgl.glMatrixMode(GL2.GL_PROJECTION);\n\t\t// initialize the matrix\n\t\tgl.glLoadIdentity();\n\t\t// set the view to a 2D view\n\t\tgl.glOrtho(-width / 2.0, width / 2.0, -height / 2.0, height / 2.0, 0, 1);\n\t\t\n\t\t// switch to the model view matrix\n\t\tgl.glMatrixMode(GL2.GL_MODELVIEW);\n\t\t// initialize the matrix\n\t\tgl.glLoadIdentity();\n\t\t\n\t\t// set the size\n\t\tthis.size = new Dimension(width, height);\n\t}", "private void setShape(){\n // 0 - index of the vertex at the top of the polygon\n shapex[0] = x + MathUtils.cos(radians) * 8;\n shapey[0] = y + MathUtils.sin(radians) * 8;\n\n // 1 - index of the vertex at the bottom left of the polygon\n shapex[1] = x + MathUtils.cos(radians - 4 * 3.1415f / 5) * 8;\n shapey[1] = y + MathUtils.sin(radians - 4 * 3.1415f / 5) * 8;\n\n // 2 - index of the vertex at the bottom right of the polygon\n shapex[2] = x + MathUtils.cos(radians + 4 * 3.1415f / 5) * 8;\n shapey[2] = y + MathUtils.sin(radians + 4 * 3.1415f / 5) * 8;\n }", "public void setSize(int width, int height) {\n setWidth(width);\n setHeight(height);\n }", "public void setGameArea(int width, int height){\n this.gameAreaWidth = width;\n this.gameAreaHeight = height;\n }", "@Before\n public void setDimension() {\n this.view.setDimension(new Dimension(WITDH, HEIGHT));\n }", "public Rectangle(int x, int y, int w, int h) {\n this.x = x;\n this.y = y;\n this.size = new Dimension(w, h);\n }", "public MyShape(Component c, int height, int width, int x, int y) {\n\t\tthis.r = new Rectangle(x, y, width,height);//height and width had to be changed to match the actual objects\n\t\tsetX(x);\n\t\tsetY(y);\n\t\tthis.width = width;\n\t\tthis.height = height;\t\n\n\t}", "void setDimension(Dimension dim);", "@Override\n\tpublic void setDimensions() {\n\t\t\n\t}", "@Override\n public void rect(double x, double y, double width, double height) {\n graphicsEnvironmentImpl.rect(canvas, x, y, width, height);\n }", "public void setMouseSize(float width, float height) { \n \tpointer.width = width; \n \tpointer.height = height;\n }", "public void setBounds(float x, float y, float width, float height) {\n internalGroup.setBounds(x, y, width, height);\n dataTrait.x = x;\n dataTrait.y = y;\n dataTrait.width = width;\n dataTrait.height = height;\n resetSprite();\n\n }", "public Rectangle set(int x, int y, int width, int height) {\n\t\tthis.corner.set(x, y);\n\t\tthis.size.set(width, height);\n\t\treturn this;\n\t}", "public void showRectangleSizeSetup() {\n sizeArea.removeAllViewsInLayout();\n sizeArea.addView(heightEdit);\n sizeArea.addView(widthEdit);\n }", "@Override\n public void reshape(GLAutoDrawable drawable, int x, int y, int width, int height) {\n // Get OpenGL context\n gl = drawable.getGL().getGL2();\n\n // Prevent zero height to stop divide by zero errors\n if (height == 0) {\n height = 1;\n }\n float aspect = (float) width / height;\n\n // Set the view port (display area) to cover the entire window\n gl.glViewport(0, 0, width, height);\n\n // Setup perspective projection, with aspect ratio matches viewport\n gl.glMatrixMode(GL_PROJECTION);\n gl.glLoadIdentity();\n glu.gluPerspective(45.0, aspect, 0.1, 100.0);\n\n // Enable the model-view transform\n gl.glMatrixMode(GL_MODELVIEW);\n gl.glLoadIdentity();\n }", "Rectangle(double newWidth, double newHeight){\n height = newHeight;\n width = newWidth;\n }", "private void setSizeBox() {\n\t\t\tthis.leftX = pointsSubStroke.get(0).getX();\n\t\t\tthis.righX = pointsSubStroke.get(0).getX();\n\t\t\tthis.topY = pointsSubStroke.get(0).getY();\n\t\t\tthis.bottomY = pointsSubStroke.get(0).getY();\n\t\t\t\n\t\t\tfor(int i = 0; i < pointsSubStroke.size();i++) {\n\t\t\t\tdouble x = pointsSubStroke.get(i).getX();\n\t\t\t\tdouble y = pointsSubStroke.get(i).getX();\n\t\t\t\t\n\t\t\t\tthis.leftX = Math.min(x, leftX);\n\t\t\t\tthis.righX = Math.max(x, righX);\n\t\t\t\tthis.topY = Math.min(y, topY);\n\t\t\t\tthis.bottomY = Math.max(y, bottomY);\n\t\t\t}\n\t\t}", "public void setSize(int w, int h) {\n\t\twidth = w;\n\t\theight = h;\n\t\t//Log.d(TAG,\"w=\"+w+\" h=\"+h);\n\n\t}", "public void setShape(Shape shape) {\n validateShape(shape);\n\n this.shape = shape;\n this.shape.calculate();\n initializeScroller();\n resetScroll();\n }", "@Override\n public void reshape(GLAutoDrawable drawable, int x, int y, int width, int height) {\n GL2 gl = drawable.getGL().getGL2(); // get the OpenGL 2 graphics context\n\n if (height == 0) height = 1; // prevent divide by zero\n double aspect = (double)width / height;\n\n // Set the view port (display area) to cover the entire window\n gl.glViewport(0, 0, width, height);\n\n // Setup perspective projection, with aspect ratio matches viewport\n gl.glMatrixMode(GL_PROJECTION); // choose projection matrix\n gl.glLoadIdentity(); // reset projection matrix\n glu.gluPerspective(45.0, aspect, 0.1, 100.0); // fovy, aspect, zNear, zFar\n\n // Enable the model-view transform\n gl.glMatrixMode(GL_MODELVIEW);\n gl.glLoadIdentity(); // reset\n }", "public void reshape(GLAutoDrawable drawable, int x, int y, int width,\n int height) {\n }", "protected abstract void fillRect(final float x, final float y,\n final float width, final float height);", "public void setSize(int x, int y) {\n if (x < 0 || y < 0) {\n throw new AssertionError();\n }\n\n fenetre.setSize(x, y); \n }", "protected void setSize(Dimension dim) {}", "public Size(int w, int h) {\n width = w;\n height = h;\n }", "public void setShapes(Object shapes) {\r\n this.shapes = shapes;\r\n }", "public void reshape(GLAutoDrawable drawable, int x, int y, int w, int h) {}", "public void setSize(float width, float height) {\n internalGroup.setSize(width, height);\n dataTrait.width = width;\n dataTrait.height = height;\n resetSprite();\n }", "Oval(int width, int height, int x, int y){\n setWidth(width);\n setHeight(height);\n setX(x);\n setY(y);\n }", "public void reshape(GLAutoDrawable drawable, int x, int y, int width, int height) {\n winW = width;\n winH = height;\n\n gl.glViewport(0, 0, width, height);\n}", "public Shape(ShapeType shape, Color color, int width, int height, int posX, int posY) {\n\t\tsuper(posX, posY, width, height);\n\t\tthis.shape = shape;\n\t\tthis.color = color;\n\t}", "public World(double width, double height) {\n this.width = width;\n this.height = height;\n\n\n shapes = new Shape[3]; // an array of references (change to non-zero size)\n // Create the actual Shape objects (sub types)\n // ....\n\n shapes[0] = new Line(50,100,50,50, Color.BLUE);\n shapes[1] = new Circle(75,75,30,Color.BLACK);\n shapes[2] = new Rectangle(40,50,40,40,Color.GREEN);\n\n\n }", "public void resize(int width, int height) {\n }", "@Override\r\n public void reshape(GLAutoDrawable drawable, int x, int y, int width, int height) {\n GL2 gl = drawable.getGL().getGL2();\r\n\r\n //evita a divisão por zero\r\n if (height == 0) {\r\n height = 1;\r\n }\r\n //calcula a proporção da janela (aspect ratio) da nova janela\r\n float aspect = (float) width / height;\r\n\r\n //seta o viewport para abranger a janela inteira\r\n gl.glViewport(0, 0, width, height);\r\n\r\n //ativa a matriz de projeção\r\n gl.glMatrixMode(GL2.GL_PROJECTION);\r\n gl.glLoadIdentity(); //lê a matriz identidade\r\n\r\n //Projeção ortogonal\r\n //true: aspect >= 1 configura a altura de -1 para 1 : com largura maior\r\n //false: aspect < 1 configura a largura de -1 para 1 : com altura maior\r\n if (width >= height) {\r\n gl.glOrtho(xMin * aspect, xMax * aspect, yMin, yMax, zMin, zMax);\r\n } else {\r\n gl.glOrtho(xMin, xMax, yMin / aspect, yMax / aspect, zMin, zMax);\r\n }\r\n\r\n //ativa a matriz de modelagem\r\n gl.glMatrixMode(GL2.GL_MODELVIEW);\r\n gl.glLoadIdentity(); //lê a matriz identidade\r\n System.out.println(\"Reshape: \" + width + \", \" + height);\r\n }", "public void fillRectangle(RectangleShape rectangle);", "public void setSize(int w, int h) {\n\n\t}", "public void setFrameSize(double aWidth, double aHeight)\n{\n // If shape not rotated, scaled or skewed, just set and return\n if(!isRSS()) {\n if(_width<0) { setX(_x + (aWidth+_width)); aWidth = -aWidth; }\n if(_height<0) { setY(_y + (aHeight+_height)); aHeight = -aHeight; }\n setSize(aWidth, aHeight); return;\n }\n \n // Convert X & Y axis to parent coords\n RMSize x_axis = convertVectorToShape(new RMSize(_width, 0), _parent);\n RMSize y_axis = convertVectorToShape(new RMSize(0, _height), _parent);\n\n // Scale widths of X & Y axes in parent coords by ratio of NewWidth/OldWidth\n double sizeByRatio1 = Math.abs(aWidth)/(Math.abs(x_axis.width) + Math.abs(y_axis.width));\n x_axis.width *= sizeByRatio1; y_axis.width *= sizeByRatio1;\n \n // Scale heights of X & Y axes in parent coords by ratio of NewHeight/OldHeight\n double sizeByRatio2 = Math.abs(aHeight)/(Math.abs(x_axis.height) + Math.abs(y_axis.height));\n x_axis.height *= sizeByRatio2; y_axis.height *= sizeByRatio2;\n\n // Cache current bounds origin (this shouldn't change)\n RMPoint origin = getFrameXY();\n \n // Reset current Skew and convert X & Y axis from parent coords\n setSkewXY(0, 0);\n convertVectorFromShape(x_axis, _parent);\n convertVectorFromShape(y_axis, _parent);\n\n // Set the size to compensate for the skew\n setSize(x_axis.width, y_axis.height);\n\n // Calculate new skew angles (or roll, if width or height is zero)\n if(width()==0)\n setRoll(getRoll() - Math.toDegrees(Math.atan(y_axis.width/y_axis.height)));\n else if(height()==0)\n setRoll(getRoll() - Math.toDegrees(Math.atan(x_axis.height/x_axis.width)));\n else {\n setSkewX(Math.toDegrees(Math.atan(x_axis.height/x_axis.width)));\n setSkewY(Math.toDegrees(Math.atan(y_axis.width/y_axis.height)));\n }\n\n // Reset original bounds origin (it may have been effected by skew changes)\n setFrameXY(origin);\n}", "protected final void setSize(float width, float height)\n {\n boolean flag = this.bokoblinWidth > 0.0F && this.bokoblinHeight > 0.0F;\n this.bokoblinWidth = width;\n this.bokoblinHeight = height;\n\n if (!flag)\n {\n this.multiplySize(1.0F);\n }\n }", "public void setSize(RMSize aSize) { setSize(aSize.width, aSize.height); }", "public void fillRect(int x, int y, int width, int height);", "public void reshape( GLAutoDrawable drawable, int x, int y, int width, int height ) {\n final GL2 gl = drawable.getGL().getGL2();\n if( height== 0 )\n height = 1;\n\t\t\t\n final float h = ( float ) width / ( float ) height;\n gl.glViewport( 0, 0, width, height );\n gl.glMatrixMode( GL2.GL_PROJECTION );\n gl.glLoadIdentity();\n\t\t\n glu.gluPerspective( 45.0f, h, 1.0, 20.0 );\n gl.glMatrixMode( GL2.GL_MODELVIEW );\n gl.glLoadIdentity();\n }", "private void setWidthAndHeight(View view, int width, int height) {\n ViewGroup.LayoutParams params = view.getLayoutParams();\n if (width >= 0) {\n params.width = width;\n }\n if (height >= 0) {\n params.height = height;\n }\n }", "public void fillRectangle(int x, int y, int width, int height);", "public void initSize() {\n WIDTH = 320;\n //WIDTH = 640;\n HEIGHT = 240;\n //HEIGHT = 480;\n SCALE = 2;\n //SCALE = 1;\n }", "public void setDim(int a, int b){\n\t\twidth = a; \n\t\theight = b;\n\t}", "public void setLens(double x, double y, double width, double height) {\n // remove the original lens image from the pane and create a new rectangle\n removeFromPane(lens);\n lens = new Rectangle(x, y, width, height);\n\n // fill up the rectangle with the lens image and add it to the pane\n lens.setFill(AssetManager.getLensImage());\n addToPane(lens);\n\n // update the lens width and the X coordinates of the lens rectangle\n lensWidth = lens.getWidth();\n lensX = lensCenterX - lensWidth / 2;\n }", "public void setGraphSize(double width, double height) {\n String size = \"\\\"\" + width + \",\" + height + \"\\\"\";\n this.setGraphAttribute(\"size\", size);\n }", "public void setFrameSize();", "@Override\n\tpublic void setResolution(Dimension size) {\n\n\t}", "private void setDimensions() {\n IPhysicalVolume physVol_parent = getModule().getGeometry().getPhysicalVolume();\n ILogicalVolume logVol_parent = physVol_parent.getLogicalVolume();\n ISolid solid_parent = logVol_parent.getSolid();\n Box box_parent;\n if (Box.class.isInstance(solid_parent)) {\n box_parent = (Box) solid_parent;\n } else {\n throw new RuntimeException(\"Couldn't cast the module volume to a box!?\");\n }\n _length = box_parent.getXHalfLength() * 2.0;\n _width = box_parent.getYHalfLength() * 2.0;\n\n }", "public void setImageSize(SpecialDimension width, int height)\n\t{\n\t\tsetImageWidth(width);\n\t\tsetImageHeight(height);\n\t}" ]
[ "0.7226707", "0.6744994", "0.66960454", "0.66366273", "0.65772223", "0.65589905", "0.64596367", "0.63779247", "0.63537776", "0.63377106", "0.632796", "0.6325159", "0.6318171", "0.630887", "0.6298437", "0.62548494", "0.62495095", "0.6232908", "0.6164967", "0.6164149", "0.6149263", "0.61425376", "0.6140034", "0.61309725", "0.612834", "0.61179644", "0.6115541", "0.61021876", "0.6068161", "0.60573524", "0.60300833", "0.601516", "0.59981716", "0.5996746", "0.59826934", "0.59823453", "0.5959912", "0.5947546", "0.5932333", "0.5929155", "0.5918234", "0.5908223", "0.5865492", "0.5855797", "0.58529884", "0.5839271", "0.5836496", "0.5819113", "0.5817006", "0.58014053", "0.5796065", "0.57880366", "0.5768458", "0.5765099", "0.57635415", "0.57497114", "0.5748164", "0.5737814", "0.57372993", "0.5737052", "0.5734605", "0.57251143", "0.5719092", "0.5710301", "0.57077986", "0.5696647", "0.56871295", "0.5676066", "0.5675176", "0.56693", "0.5666537", "0.5665894", "0.5657281", "0.5647167", "0.56331223", "0.5619401", "0.5616233", "0.5611216", "0.56086886", "0.56076777", "0.5607388", "0.5600219", "0.55937046", "0.55936706", "0.55880165", "0.55847555", "0.5579689", "0.55783486", "0.5569558", "0.5563559", "0.5558288", "0.5556089", "0.5550298", "0.5539295", "0.5534615", "0.5533423", "0.5519466", "0.55178946", "0.5513574", "0.5508342" ]
0.61393034
23
Returns the rect in parent coords that fully encloses the shape.
public RMRect getFrame() { return isRSS()? convertRectToShape(getBoundsInside(), _parent) : getBounds(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private Rectangle getParentBounds() {\n final var bounds = mParentBounds;\n\n return bounds == null\n ? mParentBounds = calculateBounds( getParent() )\n : bounds;\n }", "public RMRect getBoundsInside() { return new RMRect(0, 0, getWidth(), getHeight()); }", "public final ShapeParent getShapeParent()\n {\n return parent;\n }", "public PBounds getBoundsReference() {\n\t\tPBounds bds = super.getBoundsReference();\n\t\tgetUnionOfChildrenBounds(bds);\n\n\t\tcachedChildBounds.setRect(bds);\n\t\tdouble scaledIndent = INDENT/renderCamera.getViewScale();\t\t\n\t\tbds.setRect(bds.getX()-scaledIndent,bds.getY()-scaledIndent,bds.getWidth()+2*scaledIndent,bds.getHeight()+2*scaledIndent);\n\t\t\n\t\treturn bds;\n\t}", "public RMParentShape getParent() { return _parent; }", "public CarrierShape parent()\n\t{\n\t\treturn parent;\n\t}", "Rectangle getBoundingBox(Rectangle rect);", "protected Rectangle determineBounds() {\n return getNetTransform().createTransformedShape( _bounds ).getBounds();\n }", "public Rectangle getBoundingBox() {\n return new Rectangle(this);\r\n }", "Rectangle getBounds();", "public RMRect getBounds() { return new RMRect(getX(), getY(), getWidth(), getHeight()); }", "public Rectangle getBounds() {\n\t\tif (bounds == null) {\n\t\t\tsuper.getBounds();\n\t\t\tfor (int i = 0; i < getChildren().size(); i++) {\n\t\t\t\tIFigure child = (IFigure) getChildren().get(i);\n\t\t\t\tbounds.union(child.getBounds());\n\t\t\t}\n\t\t}\n\t\treturn bounds;\n\t}", "public DrawingComposite getParent() {\n\t\treturn parent;\n\t}", "@Override\n\tpublic BoundaryRectangle getBoundingBox() {\n\t\treturn new BoundaryRectangle(0, 0, drawView.getWidth(), drawView.getHeight());\n\t}", "public Point getCorner() {\r\n\t\treturn basePoly.getBounds().getLocation();\r\n\t}", "public final ShapeView getParentView()\n {\n ShapeParent ancestor = getShapeParent();\n \n while (ancestor != null)\n {\n if (ancestor instanceof ShapeView)\n {\n return (ShapeView) ancestor;\n }\n \n ancestor = ancestor.getShapeParent();\n }\n \n return null;\n }", "public Rectangle get_rect() {\n\t\treturn new Rectangle(\n\t\t\t\torigin_x+component_x, \n\t\t\t\torigin_y+component_y-component_height+3, \n\t\t\t\tcomponent_width, \n\t\t\t\tcomponent_height\n\t\t\t);\n\t}", "@Override\r\n\tpublic Rectangle getRect() {\n\t\treturn null;\r\n\t}", "@Override\r\n\tpublic Rectangle getBound() {\n\t\treturn new Rectangle((int)x, (int)y, (int)width, (int)height);\r\n\t}", "public void getBoundsInParent(Rect outBounds) {\n/* 692 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "protected Vector3D getRefCompCenterRelParent(AbstractShape shape) {\n Vector3D centerPoint;\n if (shape.hasBounds()) {\n centerPoint = shape.getBounds().getCenterPointLocal();\n centerPoint.transform(shape.getLocalMatrix()); //macht den punkt in self space\n } else {\n Vector3D localObjCenter = shape.getCenterPointGlobal();\n localObjCenter.transform(shape.getGlobalInverseMatrix()); //to localobj space\n localObjCenter.transform(shape.getLocalMatrix()); //to parent relative space\n centerPoint = localObjCenter;\n }\n return centerPoint;\n }", "@Override\n\tpublic Rectangle getBoundingBox() {\n\t\tRectangle rectangle = new Rectangle(this.image.getWidth(), this.image.getWidth());\n\t\trectangle.setLocation(this.position);\n\t\treturn rectangle;\n\t}", "public RMShape getRootShape() { return _parent!=null? _parent.getRootShape() : this; }", "public sRectangle getSRectangleBound()\n {\n return form.getSRectangleBound();\n }", "@Override\n public COSBase getCOSObject()\n {\n return rectArray;\n }", "public Rectangle2D getBounds() {\n\t\tif (_child == null) {\n\t\t\treturn new Rectangle2D.Double();\n\t\t} else {\n\t\t\treturn _child.getBounds();\n\t\t}\n\t}", "public Rectangle getClipBounds()\r\n\t{\r\n\t\treturn _g2.getClipBounds();\r\n\t}", "public CCAABoundingRectangle boundingRect(){\n\t\treturn _myBoundingRectangle;\n\t}", "public abstract Rectangle getBounds();", "public abstract Rectangle getBounds();", "public abstract Rectangle getBounds();", "private RectHV rectLb() {\n\n if (!horizontal) {\n return new RectHV(\n rect.xmin(),\n rect.ymin(),\n p.x(),\n rect.ymax()\n );\n\n\n } else {\n return new RectHV(\n rect.xmin(),\n rect.ymin(),\n rect.xmax(),\n p.y()\n );\n }\n }", "public Shape getBgetBoundingBox() {\r\n\t\t\r\n\t\tEllipse2D elilipse = new Ellipse2D.Double(0, 0, imageWidth, imageHeight);\r\n\t\tAffineTransform at = new AffineTransform(); \r\n\t\tat.translate(locationX, locationY);\r\n\t\tat.rotate(Math.toRadians(angle*sizeAngles));\r\n\t\t at.scale(0.5, 0.5);\r\n\t\tat.translate(-imageWidth/2, -imageHeight/2);\r\n\t\t\r\n\t\tShape rotatedRect = at.createTransformedShape(elilipse);\r\n\t\treturn rotatedRect;\r\n\t}", "public Rect getBound() {\n return new Rect((int) (x - radius), (int) (y - radius), (int) (x + radius), (int) (y + radius));\n }", "public Rectangle getBounds() {\n return super.getBounds();\n }", "public Rectangle getBounds() {\r\n return new Rectangle(x, y, 55, 51);\r\n }", "public RMPath getPathInBounds() { return getPath().getPathInRect(getBoundsInside()); }", "public RMParentShape getPageShape() { return _parent!=null? _parent.getPageShape() : (RMParentShape)this; }", "public Rectangle getBounds();", "public Rectangle getBounds();", "public Bounds getBounds() {\n\t\treturn boss.getBoundsInParent();\n\t}", "public Rectangle getBounds(){\r\n return new Rectangle(x, y, w, w);\r\n }", "public abstract Node getBoundingNode();", "public Rectangle getBounds() {\n return new Rectangle((int) getX() - 20, (int) getY() - 20, 40, 40);\n }", "public Rectangle getBoundingBox() {\n\t\treturn getBounds();\n\t}", "public Rectangle getBound(){\n \tint x = (int)location.getX();\n \tint y = (int)location.getY();\n \t\n \tif(isExploded == false)\n \t\treturn new Rectangle(x, y, image.getWidth(null), image.getHeight(null));\n \telse\n \t\treturn new Rectangle(x,y, 1,1);\n }", "public Rectangle getBounds() {\n\t\treturn new Rectangle((int) xPos, (int) yPos, (int) width, (int) height);\n\t}", "public Rectangle getBounds() {\n return new Rectangle(x, y, 32, 32);\n }", "private Rectangle2D getRectangle(Point2D e) {\n // QUADRANTS (where startPos = (0, 0))\n // 3 | 2\n // ---|---\n // 4 | 1\n\n double aspectRatio = (double) this.panel.getWidth() / (double) this.panel.getHeight();\n double width = Math.abs(e.getX() - this.startPos.getX());\n double height = Math.abs(e.getY() - this.startPos.getY());\n double x, y;\n\n // Ensure zoom box maintains same aspect ratio as image panel\n if (width / aspectRatio < height) {\n height = width / aspectRatio;\n } else {\n width = height * aspectRatio;\n }\n\n // Check which quadrant we are in\n // Then set the top left coordinate, whilst fixing one coordinate to the start position\n\n // Quadrant 1:\n if (this.startPos.getX() < e.getX() && this.startPos.getY() < e.getY()) {\n x = this.startPos.getX();\n y = this.startPos.getY();\n\n // Quadrant 2:\n } else if (this.startPos.getX() < e.getX() && this.startPos.getY() > e.getY()) {\n x = this.startPos.getX();\n y = this.startPos.getY() - height;\n\n // Quadrant 3:\n } else if (this.startPos.getX() > e.getX() && this.startPos.getY() > e.getY()) {\n x = this.startPos.getX() - width;\n y = this.startPos.getY() - height;\n\n // Quadrant 4:\n } else if (this.startPos.getX() > e.getX() && this.startPos.getY() < e.getY()) {\n x = this.startPos.getX() - width;\n y = this.startPos.getY();\n } else {\n\n // Width and/or height are 0, don't draw a box\n return null;\n }\n\n return new Rectangle2D.Double(x, y, width, height);\n }", "@Override\n public Rectangle getBounds() {\n return new Rectangle(x,y,64,64);\n }", "public RMPoint getXYP() { return convertPointToShape(new RMPoint(), _parent); }", "Rectangle getBounds() {\n return new Rectangle(getLocation(), getSize());\n }", "public Ent getParent(){\n\t\treturn (Ent)bound.getParent();\n\t}", "public Rectangle getBounds() {\n return new Rectangle(x, y, DIAMETER, DIAMETER); // returns a rectangle with its dimensions\r\n }", "@Override\n \tpublic Rectangle2D GetBoundingBox() {\n\t\treturn null;\n \t}", "protected Rectangle getSelectedElementFigureArea()\n {\n boolean anchored = false;\n\n // Use figures since they may be sized differently during dynamics\n // accumulate as unzoomed.\n Rectangle r = null;\n\n // Go through the list of selected widget figures, union the bounds.\n Iterator<FrameEltSelnFig<?>> iter = selection.getSelectedFigures();\n\n while (iter.hasNext()) {\n FrameEltSelnFig<?> fig = iter.next();\n\n if (fig instanceof GraphicalWidget<?>) {\n GraphicalWidget<?> gw = (GraphicalWidget<?>) fig;\n IWidget w = gw.getModel();\n SimpleWidgetGroup wg = w.getParentGroup();\n\n if (wg != null) {\n r = unionBounds(r, getGroupFigureBounds(wg));\n anchored = anchored || (w instanceof ChildWidget);\n }\n else {\n r = unionBounds(r, gw.getBounds());\n }\n }\n else if (fig instanceof FrameEltGroupHalo) {\n Rectangle haloBds = fig.getBounds(); // this is zoomed!\n double scale = frameUI.getZoom();\n\n double right = (haloBds.x + haloBds.width) / scale;\n double bottom = (haloBds.y + haloBds.height) / scale;\n double left = haloBds.x / scale;\n double top = haloBds.y / scale;\n\n haloBds =\n PrecisionUtilities.getDraw2DRectangle(left,\n top,\n right - left,\n bottom - top);\n\n r = unionBounds(r, haloBds);\n }\n }\n\n setTopLeftAnchored(anchored);\n\n return r;\n }", "public Rectangle get_bounds() {\n return new Rectangle(x,y, width-3, height-3);\n }", "public Point getLocationInParentWindow() {\n return this.mLocationInParentWindow;\n }", "@Override\n public Rectangle getBounds() {\n return new Rectangle(this.bounds);\n }", "public abstract Rectangle getSnapshotSquareBounds();", "public Rectangle getBounds () {\r\n\tcheckWidget();\r\n\tPhArea_t area = new PhArea_t ();\r\n\tOS.PtWidgetArea (handle, area);\r\n\treturn new Rectangle (area.pos_x, area.pos_y, area.size_w, area.size_h);\r\n}", "public static int size_parent() {\n return (8 / 8);\n }", "public static int offset_parent() {\n return (40 / 8);\n }", "public Rectangle getBoundingBox() {\n return location;\n }", "public Rectangle getCollisionRectangle() {\r\n return new Rectangle(this.rectangle.getUpperLeft(), this.rectangle.getWidth(), this.rectangle.getHeight());\r\n }", "org.chromium.components.paint_preview.common.proto.PaintPreview.RectProto getRect();", "public Rectangle getBounds() {\n return null;\n }", "public PDRectangle getRectDifference() {\n/* 615 */ COSBase base = getCOSObject().getDictionaryObject(COSName.RD);\n/* 616 */ if (base instanceof COSArray)\n/* */ {\n/* 618 */ return new PDRectangle((COSArray)base);\n/* */ }\n/* 620 */ return null;\n/* */ }", "public Rectangle getBoundsBigger() {\n return new Rectangle(x-32,y-32,128,128);\n }", "public Rectangle getRectangle() {\n if (isFacingRight) {\n return new Rectangle(getX() + R_HORIZ_OFF, getY() + VERT_OFF, SIDE_LEN, SIDE_LEN);\n } else {\n return new Rectangle(getX() + L_HORIZ_OFF, getY() + VERT_OFF, SIDE_LEN, SIDE_LEN);\n }\n }", "public RMRect convertRectFromShape(RMRect rect, RMShape shape)\n{\n if(shape==_parent && !isRSS()) { rect.offset(-getX(), -getY()); return rect; }\n return getTransformFromShape(shape).transform(rect);\n}", "@Override\n\tpublic GRectangle getBounds() {\n\t\tif (isEmpty()) {\n\t\t\treturn new GRectangle();\n\t\t} else {\n\t\t\tGPoint p0 = points.get(0);\n\t\t\tdouble minX = p0.getX();\n\t\t\tdouble maxX = minX;\n\t\t\tdouble minY = p0.getY();\n\t\t\tdouble maxY = minY;\n\t\t\tfor (int i = 1; i < size(); i++) {\n\t\t\t\tGPoint p1 = points.get(i);\n\t\t\t\tminX = Math.min(minX, p1.getX());\n\t\t\t\tmaxX = Math.max(maxX, p1.getX());\n\t\t\t\tminY = Math.min(minY, p1.getY());\n\t\t\t\tmaxY = Math.max(maxY, p1.getY());\n\t\t\t}\n\t\t\treturn new GRectangle(minX, maxX, minY, maxY);\n\t\t}\n\t}", "public Rectangle getBounds() {\n\t\tRectangle Box = new Rectangle(x, y, 48, 48);\n\t\treturn Box;\n\t}", "public Rectangle2D getBounds() {\n\t\t// FIXME: these bounds REALLY need to be cached. But it's\n\t\t// painful because of the public members.\n\t\tif (stroke == null) {\n\t\t\treturn shape.getBounds2D();\n\t\t} else if (stroke instanceof BasicStroke) {\n\t\t\t// For some reason (antialiasing?) the bounds returned by\n\t\t\t// BasicStroke is off by one. This code works around it.\n\t\t\t// if all we want is the bounds, then we don't need to actually\n\t\t\t// stroke the shape. We've had reports that this is no longer\n\t\t\t// necessary with JDK1.3.\n\t\t\tRectangle2D rect = shape.getBounds2D();\n\t\t\tint width = (int) ((BasicStroke) stroke).getLineWidth() + 2;\n\t\t\treturn new Rectangle2D.Double(rect.getX() - width, rect.getY()\n\t\t\t\t\t- width, rect.getWidth() + width + width, rect.getHeight()\n\t\t\t\t\t+ width + width);\n\t\t} else {\n\t\t\t// For some reason (antialiasing?) the bounds returned by\n\t\t\t// BasicStroke is off by one. This code works around it.\n\t\t\t// We've had reports that this is no longer\n\t\t\t// necessary with JDK1.3.\n\t\t\tRectangle2D rect = stroke.createStrokedShape(shape).getBounds2D();\n\t\t\treturn new Rectangle2D.Double(rect.getX() - 1, rect.getY() - 1,\n\t\t\t\t\trect.getWidth() + 2, rect.getHeight() + 2);\n\t\t}\n\t}", "public Rectangle getBounds() {\n\t\treturn new Rectangle(getX(),getY(),width, width);\n\t}", "public IRectangleBound getClipBound();", "public IPSComponent peekParent();", "public Shape getShape()\n\t{\n\t\treturn rect;\n\t}", "@NonNull\n public Rect getBounds() {\n return new Rect(mBounds);\n }", "public Rectangle2D getBoundary() {\n return new Rectangle2D(x, y, width, height);\n }", "public double getLowestParentY() {\n\t\t/* Aucun parent => aucune contrainte en y vers le haut */\n\t\tif (parentEdges == null)\n\t\t\treturn Double.MIN_VALUE;\n\t\t\n\t\tdouble maxY = Double.MIN_VALUE;\n\t\tfor (int i = 0; i < parentEdges.size(); i++) {\n\t\t\t/*\n\t\t\t * Recherche de l'extrémité la plus haute de l'arête (la plus basse étant le noeud\n\t\t\t * courant)\n\t\t\t */\n\t\t\tEdge currentEdge = parentEdges.elementAt(i);\n\t\t\tdouble y1 = currentEdge.getSource().getShape().getY();\n\t\t\tdouble y2 = currentEdge.getDestination().getShape().getY();\n\t\t\tdouble y = (y1 < y2) ? y1 : y2;\n\t\t\t\n\t\t\t/* Recherche de l'extrémité la plus basse parmi toutes les extrémités hautes */\n\t\t\tif (y > maxY)\n\t\t\t\tmaxY = y;\n\t\t}\n\t\t\n\t\treturn maxY;\n\t}", "public Rectangle getBounds()\n {\n return new Rectangle ((int)x,(int)y,32,32);\n }", "@Override\n public Shape getCelkoveHranice() {\n return new Rectangle2D.Double(super.getX() + 22, super.getY() + 45, 45, 45);\n }", "@Override\n\tpublic Rectangle getBound() {\n\t\trectBound.setX(posX+20);\n\t\trectBound.setY(Y_LAND - image.getHeight() +10);\n\t\trectBound.setWidth(image.getWidth()-10);\n\t\trectBound.setHeight(image.getHeight());\n\t\treturn rectBound;\n\t}", "public RMRect bounds() { return new RMRect(x(), y(), width(), height()); }", "public Rectangle getBounds() {\n\treturn new Rectangle((int)x,(int)y,32,32);\n\t}", "public abstract Rectangle getSnapshotBounds();", "@Override\r\n public Rect getDisplayedRect()\r\n {\r\n return displayedRect;\r\n }", "public BoundingShape getBoundingShape() {\n\treturn boundingShape;\n }", "public java.awt.Rectangle getBounds(){\r\n return new java.awt.Rectangle((int)Math.round(x), (int)Math.round(y), (int)Math.round(getWidth()), (int)Math.round(getHeight()));\r\n }", "public RMRect getBoundsMarkedDeep()\n{\n // Get normal marked bounds\n RMRect bounds = getBoundsMarked();\n \n // Iterate over (visible) children and union with their BoundsMarkedDeep (converted to this shape coords)\n for(int i=0, iMax=getChildCount(); i<iMax; i++) { RMShape child = getChild(i);\n if(!child.isVisible()) continue;\n RMRect childBounds = child.getBoundsMarkedDeep();\n childBounds = child.convertRectToShape(childBounds, this);\n bounds.unionEvenIfEmpty(childBounds);\n }\n\n // Return marked bounds\n return bounds;\n}", "public RMRect convertRectToShape(RMRect rect, RMShape shape)\n{\n if(shape==_parent && !isRSS()) { rect.offset(getX(), getY()); return rect; }\n return getTransformToShape(shape).transform(rect);\n}", "@Override\n\tpublic MyRectangle getMyBoundingBox() {\n\t\t\n\t\treturn this;\n\t}", "public Rectangle getRectangle() {\r\n return new Rectangle((int) x, (int) y, cwidth, cheight);\r\n }", "Rect getCollisionShape()\n {\n return new Rect(x+2,y+2,x +(width-2), y+(height-2));\n }", "public Rectangle getRect() {\n return new Rectangle(x,y,(imageWeight-50),(imageHeight-50));\n }", "public Rectangle getCurrentRectangle() {\n return this.wotCharacter.getDrawable(this).getRectangle();\n }", "public Rectangle getBounds() {\r\n\t\treturn new Rectangle((int) (x * scalingX), (int) (y * scalingY), (int) rocketWidth, (int) rocketHeight);\r\n\t}", "public Shape getRectangle() {\n return rectangle;\n }", "Rectangle getCollisionRectangle();" ]
[ "0.69350594", "0.6832071", "0.67167294", "0.64419776", "0.62781835", "0.62169325", "0.6113316", "0.6071566", "0.6070474", "0.6053337", "0.60525113", "0.60501623", "0.60490346", "0.60443515", "0.60230035", "0.6011352", "0.60110414", "0.59690875", "0.59677833", "0.5959792", "0.59552115", "0.5945241", "0.5922976", "0.5920275", "0.59118986", "0.5886146", "0.5872028", "0.5865866", "0.58637846", "0.58637846", "0.58637846", "0.5859317", "0.58529526", "0.5851271", "0.5825192", "0.5820535", "0.58135", "0.58119726", "0.5810378", "0.5810378", "0.5801357", "0.58004534", "0.57980144", "0.57953113", "0.5777278", "0.57747155", "0.57740444", "0.57649386", "0.57512754", "0.5745936", "0.57436645", "0.5739299", "0.57382625", "0.57314074", "0.5727215", "0.57226396", "0.5718779", "0.57171434", "0.57123834", "0.5702751", "0.56927276", "0.5680271", "0.5679295", "0.5677395", "0.5675831", "0.5670478", "0.56682765", "0.56657296", "0.56632954", "0.5662804", "0.56594473", "0.565392", "0.5649633", "0.5639946", "0.5637616", "0.56370956", "0.5634317", "0.5630322", "0.5628316", "0.5626286", "0.56256294", "0.56213313", "0.56183124", "0.56071013", "0.56054574", "0.5604053", "0.5599149", "0.5569111", "0.55683464", "0.5564344", "0.55642265", "0.55628717", "0.5562631", "0.55621547", "0.5549316", "0.5540489", "0.5537758", "0.5530549", "0.5530325", "0.55274314" ]
0.666889
3
Sets the bounds of the shape such that it exactly fits in the given parent coord rect.
public void setFrame(Rectangle2D aRect) { setFrame(aRect.getX(), aRect.getY(), aRect.getWidth(), aRect.getHeight()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setBoundsInParent(Rect bounds) {\n/* 707 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public void setBounds(RectF newBounds)\n {\n this.bounds = GeometryUtils.copy(newBounds);\n \n if (getShapeParent() != null)\n {\n GeometryUtils.resolveGeometry(this.bounds, this);\n }\n \n notifyParentOfPositionChange();\n conditionallyRepaint();\n }", "@Override\n public void setBounds(Rectangle bounds) {\n final Rectangle repaintBounds = new Rectangle(getBounds());\n\n final Rectangle newBounds = new Rectangle(ajustOnGrid(bounds.x),\n ajustOnGrid(bounds.y), ajustOnGrid(bounds.width), bounds.height);\n\n newBounds.width = newBounds.width < MINIMUM_SIZE.x ? MINIMUM_SIZE.x\n : newBounds.width;\n\n this.bounds = newBounds;\n\n parent.getScene().repaint(repaintBounds);\n parent.getScene().repaint(newBounds);\n\n // Move graphics elements associated with this component\n leftMovableSquare.setBounds(computeLocationResizer(0));\n rightMovableSquare.setBounds(computeLocationResizer(bounds.width));\n\n setChanged();\n notifyObservers();\n }", "public void setBounds(Rectangle b);", "void setBounds(Rectangle rectangle);", "private void setParentBounds() {\n GraphRepresentation baseGraph = graphRepresentationFactory.getBaseGraph();\n\n Iterator<Task> iterator = tasks.iterator();\n while (iterator.hasNext()) {\n Task nextTask = iterator.next();\n List<Integer> nextTaskParents = baseGraph.getParents(nextTask.getIdentifier());\n nextTask.setParentBound(nextTaskParents.size());\n }\n }", "public void setBounds(Rectangle2D aRect)\n{\n setBounds(aRect.getX(), aRect.getY(), aRect.getWidth(), aRect.getHeight());\n}", "@Override\r\n\tvoid setProperty(BoundedShape anObject, Point aNewValue) {\n\t\tRectangle newBounds = new Rectangle (aNewValue.x, aNewValue.y, anObject.getWidth(), anObject.getHeight());\r\n\t\tanObject.setBounds(newBounds);\r\n\t}", "public void updateBounds(){\r\n\t\tRectangle bounds = new Rectangle(super.getBounds());\r\n\t\tint preferredHeight = 0;\r\n\t\tfor(Object child : getChildren()){\r\n\t\t\tIFigure figure = (IFigure)child;\r\n\t\t\tpreferredHeight += figure.getPreferredSize().height;\r\n\t\t}\r\n\t\tif (preferredHeight == 0) preferredHeight = 200;\r\n\t\tbounds.setHeight(preferredHeight+20);\r\n\t\tsetBounds(bounds);\r\n\t}", "private void setBounds(RectProto.Builder builderForValue) {\n this.bounds_ = (RectProto) builderForValue.build();\n this.bitField0_ |= 8;\n }", "private void setBounds(RectProto value) {\n if (value != null) {\n this.bounds_ = value;\n this.bitField0_ |= 8;\n return;\n }\n throw new NullPointerException();\n }", "public boolean setBounds(Rectangle bounds);", "public void setBounds(Rectangle bounds) {\r\n this.bounds = bounds;\r\n }", "public void setMovingBounds() {\r\n maxY = this.getParent().getYmax();\r\n minY = this.getParent().getYmin();\r\n maxX = this.getParent().getXmax();\r\n minX = this.getParent().getXmin();\r\n }", "@Override\n\tpublic void setBounds(int x, int y, int width, int height) {\n\t\t\n\t\t\n\t\tsuper.setBounds(x, y, width, height);\n\t}", "public void setBounds(Rect bounds) {\r\n\t\tthis.widthAndHeight = bounds;\r\n\t\tc.setBounds(bounds);\r\n\t}", "public void updateBounds() {\n this.setBounds(left, top, width, height);\n }", "final void setParent(ShapeParent newParent)\n {\n this.parent = newParent;\n }", "@Override\r\n\tpublic void setBounds(int x, int y, int width, int height) {\r\n\t\tsuper.setBounds(x, y, width, height);\r\n\t\tpv.update();\r\n\t}", "public void setBounds(double anX, double aY, double aW, double aH) { setX(anX); setY(aY); setWidth(aW); setHeight(aH); }", "private void setAppBounds(RectProto value) {\n if (value != null) {\n this.appBounds_ = value;\n this.bitField0_ |= 1;\n return;\n }\n throw new NullPointerException();\n }", "public void setBounds(Rectangle2D bounds){\r\n\t\tthis.bounds = bounds;\r\n\t}", "private void setAppBounds(RectProto.Builder builderForValue) {\n this.appBounds_ = (RectProto) builderForValue.build();\n this.bitField0_ |= 1;\n }", "public void updateCoords() {\n line.setLine(parent.getFullBounds().getCenter2D(), child.getFullBounds().getCenter2D());\n Rectangle2D r = line.getBounds2D();\n // adding 1 to the width and height prevents the bounds from\n // being marked as empty and is much faster than createStrokedShape()\n setBounds(r.getX(), r.getY(), r.getWidth() + 1, r.getHeight() + 1);\n invalidatePaint();\n }", "public void computeSRectangleBound()\n {\n this.savedSRectangleBound = getSRectangleBound();\n }", "public void onBoundsChange(Rect rect) {\n super.onBoundsChange(rect);\n this.f9050a.f9051a.setBounds(rect);\n }", "public void onBoundsChange(Rect rect) {\n Drawable drawable = this.f1995c;\n if (drawable != null) {\n drawable.setBounds(rect);\n }\n }", "public void setRectangleClip(int x, int y, float width, float height);", "@Override\n public void onSizeChanged(int w, int h, int oldW, int oldH) {\n // Set the movement bounds for the ballParent\n box.set(0, 0, w, h);\n }", "void setBounds(double x, double y, double scale) {\n double drawAspect = (double)width / (double)height;\n\n double halfPlotWidth = scale / 2.0;\n double halfPlotHeight = scale / 2.0;\n if (drawAspect > 1.0) {\n halfPlotWidth *= drawAspect;\n } else {\n halfPlotHeight /= drawAspect;\n }\n\n setBounds(x - halfPlotWidth, y - halfPlotHeight, x + halfPlotWidth, y + halfPlotHeight);\n }", "public void getBoundsInParent(Rect outBounds) {\n/* 692 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public void updateBounds() {\n\t\tswitch (this.species){\n\t\tcase HOGCHOKER:\n\t\tcase SILVERSIDE:\n\t\tcase FLOUNDER:\n\t\t\tthis.topYBound = frameHeight / 3 * 2;\n\t\t\tthis.bottomYBound = frameHeight - imageHeight - frameBarSize;\n\t\t\tbreak;\n\t\tcase PERCH: \n\t\tcase MINNOW: \n\t\tcase WEAKFISH:\n\t\t\tthis.topYBound = frameHeight / 3;\n\t\t\tthis.bottomYBound = frameHeight / 3 * 2 - imageHeight;\n\t\t\tbreak;\n\n\t\tcase MENHADEN:\n\t\tcase MUMMICHOG:\n\t\t\tthis.topYBound = 0;\n\t\t\tthis.bottomYBound = frameHeight / 3 - imageHeight;\n\t\t\tbreak;\n\t\tcase GOLD:\n\t\tdefault:\n\t\t\ttopYBound = 0;\n\t\t\tbottomYBound = frameHeight;\n\t\t}\n\t}", "public boolean validateFullBounds() {\n\t\tcomparisonBounds = getUnionOfChildrenBounds(comparisonBounds);\n\t\n\t\tif (!cachedChildBounds.equals(comparisonBounds)) {\n\t\t\tsetPaintInvalid(true);\n\t\t}\n\t\treturn super.validateFullBounds();\t\n\t}", "public boolean validateFullBounds() {\n\t\tcomparisonBounds = getUnionOfChildrenBounds(comparisonBounds);\n\t\n\t\tif (!cachedChildBounds.equals(comparisonBounds)) {\n\t\t\tsetPaintInvalid(true);\n\t\t}\n\t\treturn super.validateFullBounds();\t\n\t}", "public void setGraphicalWidgetBounds(double tempOriginX,\n double tempOriginY,\n double tempWidth,\n double tempHeight,\n GraphicalWidget<?> gw)\n {\n frameUI.setGraphicalWidgetBounds(tempOriginX,\n tempOriginY,\n tempWidth,\n tempHeight,\n gw);\n }", "public void layoutContainer(Container parent) {\n if ((constraints != null) && (! constraints.isEmpty())) {\n Rectangle alloc = getVisibleEditorRect();\n if (alloc != null) {\n Document doc = editor.getDocument();\n if (doc instanceof AbstractDocument) {\n ((AbstractDocument)doc).readLock();\n }\n try {\n rootView.setSize(alloc.width, alloc.height);\n Enumeration<Component> components = constraints.keys();\n while (components.hasMoreElements()) {\n Component comp = components.nextElement();\n View v = (View) constraints.get(comp);\n Shape ca = calculateViewPosition(alloc, v);\n if (ca != null) {\n Rectangle compAlloc = (ca instanceof Rectangle) ?\n (Rectangle) ca : ca.getBounds();\n comp.setBounds(compAlloc);\n }\n }\n } finally {\n if (doc instanceof AbstractDocument) {\n ((AbstractDocument)doc).readUnlock();\n }\n }\n }\n }\n }", "void addBounds(int x, int y, int width, int height);", "public LatLngBounds setupBounds(){\n\t\t\n\t\t\n\t\tdouble deltaLat = 0.000015; // correction value\n\t\t\n\t\tLatLng northEast = new LatLng(60.1876397959336 + (2.4 * deltaLat), 24.8207008838576);\n\t\tLatLng southWest = new LatLng(60.1866756699501 + deltaLat, 24.8172971606177);\n\t\t\n\t\t\n\t\t// 60.1866756699501\n\t\treturn new LatLngBounds(southWest, northEast);\n\t}", "public void onBoundsChange(Rect bounds) {\n this.boxWidth = bounds.width();\n this.boxHeight = bounds.height() - this.pointerHeight;\n super.onBoundsChange(bounds);\n }", "private void setRect(org.chromium.components.paint_preview.common.proto.PaintPreview.RectProto value) {\n value.getClass();\n rect_ = value;\n bitField0_ |= 0x00000001;\n }", "public void expand(){\n\t\tsetBounds(getX()-getWidth()/4, getY(), getWidth() * 1.5f, getHeight());\n\t\tcollisionBounds.setWidth(getWidth());\n\t}", "public void colapse(){\n\t\tsetBounds(getX(), getY(), getDefaultWidth(), getHeight());\n\t\tcollisionBounds.setWidth(getDefaultWidth());\n\t}", "public void setRectangleBounds(String bounds) {\n checkAvailable();\n impl.setRectangle(bounds);\n }", "public PBounds getBoundsReference() {\n\t\tPBounds bds = super.getBoundsReference();\n\t\tgetUnionOfChildrenBounds(bds);\n\n\t\tcachedChildBounds.setRect(bds);\n\t\tdouble scaledIndent = INDENT/renderCamera.getViewScale();\t\t\n\t\tbds.setRect(bds.getX()-scaledIndent,bds.getY()-scaledIndent,bds.getWidth()+2*scaledIndent,bds.getHeight()+2*scaledIndent);\n\t\t\n\t\treturn bds;\n\t}", "public RMRect getBoundsInside() { return new RMRect(0, 0, getWidth(), getHeight()); }", "protected Rectangle determineBounds() {\n return getNetTransform().createTransformedShape( _bounds ).getBounds();\n }", "public void setParent(RMParentShape aShape) { _parent = aShape; }", "@Override\n public void setRectangle() {\n switch (direction){\n case 0:\n rectangle.setLocation((int)x+5,(int)y+8);\n break;\n case 2:\n rectangle.setLocation((int)x+5,(int)y+8);\n break;\n case 1:\n rectangle.setLocation((int)x+13,(int)y+8);\n break;\n case 3:\n rectangle.setLocation((int)x+2,(int)y+8);\n break;\n }\n\n }", "@Override\n public void setBounds(int x, int y, int w, int h, int op) {\n setBounds(x, y, w, h, op, true, false);\n }", "@Override\r\n\tpublic Rectangle getBound() {\n\t\treturn new Rectangle((int)x, (int)y, (int)width, (int)height);\r\n\t}", "public final native void setBounds(LatLngBounds bounds) /*-{\n this.setBounds(bounds); \n }-*/;", "public void transform() {\n final var bounds = getParentBounds();\n transform( bounds.width, bounds.height );\n }", "public void setBounds(Point3D minBounds, Point3D maxBounds) {\n this.minBounds = minBounds;\n this.maxBounds = maxBounds;\n }", "public void setParent(CarrierShape parent)\n\t{\n\t\tthis.parent = parent;\n\t}", "private void updateViewBounds() \r\n {\r\n assert !sim.getMap().isEmpty() : \"Visualiser needs simulator whose a map has at least one node\"; \r\n \r\n \r\n viewMinX = minX * zoomFactor;\r\n viewMinY = minY * zoomFactor;\r\n \r\n viewMaxX = maxX * zoomFactor;\r\n viewMaxY = maxY * zoomFactor;\r\n \r\n \r\n double marginLength = zoomFactor * maxCommRange;\r\n \r\n \r\n // Set the size of the component\r\n int prefWidth = (int)Math.ceil( (viewMaxX - viewMinX) + (marginLength * 2) );\r\n int prefHeight = (int)Math.ceil( (viewMaxY - viewMinY) + (marginLength * 2) );\r\n setPreferredSize( new Dimension( prefWidth, prefHeight ) );\r\n \r\n \r\n // Adjust for margin lengths \r\n viewMinX -= marginLength;\r\n viewMinY -= marginLength;\r\n \r\n viewMaxX += marginLength;\r\n viewMaxY += marginLength;\r\n }", "private BioMightBoundBox setupDefaultBoundBox(String parentID) \r\n\t{\r\n\t\t// Initialize the position of the bounding box vars\r\n\t\tBigDecimal xPos = new BigDecimal(0.0);\r\n\t\tBigDecimal yPos = new BigDecimal(0.0);\r\n\t\tBigDecimal zPos= new BigDecimal(0.0);\r\n\t\t\r\n\t\t// Set to base 1x1x1 cube\r\n\t\tBigDecimal xVector= new BigDecimal(1.0);\r\n\t\tBigDecimal yVector= new BigDecimal(1.0); \r\n\t\tBigDecimal zVector= new BigDecimal(1.0);\r\n\t\r\n\t\t// Initialize the BoundBox\r\n\t\tBioMightBoundBox bioBoundBox = null;\r\n\t\r\n\t\t// Initialize the Connectors \r\n\t\tBioMightConnectors bioMightConnectors = null; \r\n\r\n\t\t// Initialize the Connector \r\n\t\tBioMightConnector bioMightConnector= null;\r\n\t\r\n\t\tdouble circumference = 0.0;\r\n\t\tdouble[] startPos = {0.0, 0.0, 0.0};\r\n\t\tdouble[][] startPoints = BioGraphics.octogonYPlane(startPos, circumference);\r\n\t\t\r\n\t\t\r\n\t\t//**********************************************************************\r\n\t\t// ARMS BOUND BOX\t\t\r\n\t\t//\r\n\t\t// Set up the Bounding Box for the Arms\r\n\t\t// For default model, length of arms is 4.5\r\n\t\t//**********************************************************************\r\n\t\txPos = new BigDecimal(0.0);\r\n\t\tyPos = new BigDecimal(-15.0);\r\n\t\tzPos= new BigDecimal(-5.0);\r\n\t\r\n\t\txVector= new BigDecimal(11.5);\r\n\t\tyVector= new BigDecimal(6.0); \r\n\t\tzVector= new BigDecimal(5.0);\r\n\t\t\r\n\t\t// Setup the boundbox\r\n\t\tbioBoundBox = new BioMightBoundBox(xPos, yPos, zPos, xVector, yVector, zVector);\r\n\t\t// Set up its connectors\r\n\t\tbioMightConnectors = new BioMightConnectors();\r\n\t\t\r\n\t\t//********************************************\r\n\t\t// ARM - ORGAN CONNECTORS\r\n\t\t//********************************************\r\n\t\r\n\t\t// EpitheliumTissue Connector\r\n\t\tcircumference = 0.3;\r\n\t\tstartPos = getStartPoints(0.0, -5.0, -1.0);\r\n\t\tstartPoints = BioGraphics.octogonYPlane(startPos, circumference);\r\n\t\tbioMightConnector = new BioMightConnector(startPoints, Constants.ArmEpitheliumRef,\"connType\");\r\n\t\tbioMightConnectors.setBioMightConnector(Constants.ArmEpitheliumRef, bioMightConnector);\r\n\t\r\n\t\t//********************************************\t\r\n\t\t// ARMS - VASCULAR CONNECTORS \r\n\t\t//********************************************\r\n\t\r\n\t\t// InternalCarotidArteryEpithelium\r\n\t\tcircumference = 0.3;\r\n\t\tstartPos = getStartPoints(0.0, -5.0, -1.0);\r\n\t\tstartPoints = BioGraphics.octogonYPlane(startPos, circumference);\r\n\t\tbioMightConnector = new BioMightConnector(startPoints, \"InternalCarotidArteryEpithelium\",\"connType\");\r\n\t\tbioMightConnectors.setBioMightConnector(\"InternalCarotidArteryEpithelium\", bioMightConnector);\r\n\t\r\n\t\t// ExternalCarotidArteryEpithelium \r\n\t\tcircumference = 0.3;\r\n\t\tstartPos = getStartPoints(0.0, -5.0, -1.0);\r\n\t\tstartPoints = BioGraphics.octogonYPlane(startPos, circumference);\r\n\t\tbioMightConnector = new BioMightConnector(startPoints, \"ExternalCarotidArteryEpithelium\",\"connType\");\r\n\t\tbioMightConnectors.setBioMightConnector(\"ExternalCarotidArteryEpithelium\", bioMightConnector);\r\n\t\r\n\t\t//********************************************\r\n\t\t// ARMS - MUSCULAR CONNECTORS\r\n\t\t//********************************************\r\n\r\n\t\r\n\t\t//********************************************\r\n\t\t// ARMS - SKELETAL CONNECTORS\r\n\t\t//********************************************\r\n\r\n\t\t// ThoracicVertebrae T6 \r\n\t\tcircumference = 0.3;\r\n\t\tstartPos = getStartPoints(0.0, -5.0, -1.0);\r\n\t\tstartPoints = BioGraphics.octogonYPlane(startPos, circumference);\r\n\t\tbioMightConnector = new BioMightConnector(startPoints, \"CervicalVertebrae\",\"connType\");\r\n\t\tbioMightConnectors.setBioMightConnector(\"CervicalVertebrae\", bioMightConnector);\r\n\t\t\r\n\t\t\r\n\t\t// Stuff the Connectors into the Bounding Box \r\n\t\tbioBoundBox.setBioMightConnectors(bioMightConnectors);\r\n\t\t\r\n\t\treturn (bioBoundBox);\t\r\n\t}", "Rectangle getBounds();", "public RMRect convertRectToShape(RMRect rect, RMShape shape)\n{\n if(shape==_parent && !isRSS()) { rect.offset(getX(), getY()); return rect; }\n return getTransformToShape(shape).transform(rect);\n}", "public abstract Rectangle getBounds();", "public abstract Rectangle getBounds();", "public abstract Rectangle getBounds();", "public RMRect bounds() { return new RMRect(x(), y(), width(), height()); }", "public void onBoundsChange(Rect rect) {\n super.onBoundsChange(rect);\n a();\n }", "public void set(Bounds boundsObject) {\n\tbounds = boundsObject;\n }", "public abstract void clipRect(int x, int y, int width, int height);", "private Rectangle getParentBounds() {\n final var bounds = mParentBounds;\n\n return bounds == null\n ? mParentBounds = calculateBounds( getParent() )\n : bounds;\n }", "public final void onBoundsChange(Rect rect) {\n if (this.f2289c != null) {\n this.f2289c.setBounds(rect);\n } else {\n this.f2274d.f2280b.setBounds(rect);\n }\n }", "public void computeStoredBounds()\n {\n computeSRectangleBound();\n computeCircleBound();\n }", "public void setParentPanel(UIPanel parent) {\n this.parentPanel = parent;\n updateBounds();\n }", "public ConstRect scaleToFitIn(final ConstRect other)\r\n {\r\n final double xx = Math.abs((double) other.width / width);\r\n final double yy = Math.abs((double) other.height / height);\r\n int w, h;\r\n if(xx <= yy)\r\n {\r\n w = other.getWidth();\r\n h = (int) Math.round(height * ((double) other.width / width));\r\n }\r\n else\r\n {\r\n h = other.getHeight();\r\n w = (int) Math.round(width * ((double) other.height / height));\r\n }\r\n final ConstRect constRect = new ConstRect(0, 0, w, h);\r\n return constRect;\r\n }", "public RMRect getBounds() { return new RMRect(getX(), getY(), getWidth(), getHeight()); }", "void provideBounds(DiagramDescription diagram);", "public Builder setRect(\n org.chromium.components.paint_preview.common.proto.PaintPreview.RectProto.Builder builderForValue) {\n copyOnWrite();\n instance.setRect(builderForValue.build());\n return this;\n }", "public void getBounds(Rect bounds) {\n final int outerX = (int) mOuterX;\n final int outerY = (int) mOuterY;\n final int r = (int) mOuterRadius + 1;\n bounds.set(outerX - r, outerY - r, outerX + r, outerY + r);\n }", "public void setBounds(float x, float y, float width, float height) {\n internalGroup.setBounds(x, y, width, height);\n dataTrait.x = x;\n dataTrait.y = y;\n dataTrait.width = width;\n dataTrait.height = height;\n resetSprite();\n\n }", "public RMRect convertRectFromShape(RMRect rect, RMShape shape)\n{\n if(shape==_parent && !isRSS()) { rect.offset(-getX(), -getY()); return rect; }\n return getTransformFromShape(shape).transform(rect);\n}", "public void setBound(final Bounds bounds) {\n\t\tbound.setBound(relation, bounds);\n\t}", "@Override\n public void setLoc(Point p) {\n this.rect.setLocation(p);\n }", "public void setParent(PsUpdateIf parent) {\n\t\tsuper.setParent(parent);\n\t\tm_pjRoot = (PjRootFinder)parent;\n\t\tm_pFunction.add(m_pjRoot.m_fx.getInfoPanel());\n\t\tm_pBounds.add(m_pjRoot.m_xMin.getInfoPanel());\n\t\tm_pBounds.add(m_pjRoot.m_xMax.getInfoPanel());\n\t\tm_pBounds.add(m_pjRoot.m_discr.getInfoPanel());\n\t}", "public ConstRect boundBy(final ConstRect other)\r\n {\r\n int posX = x;\r\n int posY = y;\r\n final int dimX = width;\r\n final int dimY = height;\r\n if(posX < other.getX())\r\n {\r\n posX = other.getX();\r\n }\r\n else if(posX + dimX > other.getWidth())\r\n {\r\n posX = (other.getWidth() - dimX);\r\n }\r\n if(posY < other.getY())\r\n {\r\n posY = other.getY();\r\n }\r\n else if(posY + dimY > other.getHeight())\r\n {\r\n posY = (other.getHeight() - dimY);\r\n }\r\n return new ConstRect(posX, posY, dimX, dimY);\r\n }", "public void onBoundsResolved()\n {\n updateTransform();\n }", "public sRectangle getSRectangleBound()\n {\n return form.getSRectangleBound();\n }", "public RectangleShape(int xCoord, int yCoord, int widthOfRect, int heightOfRect)\n {\n System.out.println(\"setting x to: \"+ xCoord+\" & setting y to: \"+ yCoord);\n x = xCoord;\n y = yCoord;\n width = widthOfRect;\n height = heightOfRect;\n }", "public void setCropRect(Rect cropRect) {\n this.cropRect = cropRect;\n //invalidate();\n }", "BaseBounds computeShapeBounds(BaseBounds bounds, BaseTransform tx,\n com.sun.javafx.geom.Shape s)\n {\n if (impl_mode == NGShape.Mode.EMPTY) {\n return bounds.makeEmpty();\n }\n\n float[] bbox = {\n Float.POSITIVE_INFINITY, Float.POSITIVE_INFINITY,\n Float.NEGATIVE_INFINITY, Float.NEGATIVE_INFINITY,\n };\n boolean includeShape = (impl_mode != NGShape.Mode.STROKE);\n boolean includeStroke = (impl_mode != NGShape.Mode.FILL);\n if (includeStroke && (getStrokeType() == StrokeType.INSIDE)) {\n includeShape = true;\n includeStroke = false;\n }\n\n if (includeStroke) {\n final StrokeType type = getStrokeType();\n double sw = Utils.clampMin(getStrokeWidth(), MIN_STROKE_WIDTH);\n StrokeLineCap cap = getStrokeLineCap();\n StrokeLineJoin join = convertLineJoin(getStrokeLineJoin());\n float miterlimit =\n (float) Utils.clampMin(getStrokeMiterLimit(), MIN_STROKE_MITER_LIMIT);\n // Note that we ignore dashing for computing bounds and testing\n // point containment, both to save time in bounds calculations\n // and so that animated dashing does not keep perturbing the bounds...\n Toolkit.getToolkit().accumulateStrokeBounds(\n s,\n bbox, type, sw,\n cap, join, miterlimit, tx);\n // Account for \"minimum pen size\" by expanding by 0.5 device\n // pixels all around...\n bbox[0] -= 0.5;\n bbox[1] -= 0.5;\n bbox[2] += 0.5;\n bbox[3] += 0.5;\n } else if (includeShape) {\n com.sun.javafx.geom.Shape.accumulate(bbox, s, tx);\n }\n\n if (bbox[2] < bbox[0] || bbox[3] < bbox[1]) {\n // They are probably +/-INFINITY which would yield NaN if subtracted\n // Let's just return a \"safe\" empty bbox..\n return bounds.makeEmpty();\n }\n bounds = bounds.deriveWithNewBounds(bbox[0], bbox[1], 0.0f,\n bbox[2], bbox[3], 0.0f);\n return bounds;\n }", "@Override\n protected void addBounds ()\n {\n ParticleSystemConfig.Layer psconfig = (ParticleSystemConfig.Layer)_config;\n GroupPriority priorityMode = psconfig.priorityMode;\n if (priorityMode == null) {\n _bounds.getCenter(_center);\n }\n super.addBounds();\n\n // add layer bounds to group bounds, if applicable\n if (priorityMode != null) {\n ((ParticleSystem)_parentScope).getGroupBounds(\n priorityMode.group).addLocal(_bounds);\n }\n }", "private void mergeBounds(RectProto value) {\n RectProto rectProto = this.bounds_;\n if (rectProto == null || rectProto == RectProto.getDefaultInstance()) {\n this.bounds_ = value;\n } else {\n this.bounds_ = (RectProto) ((RectProto.Builder) RectProto.newBuilder(this.bounds_).mergeFrom((GeneratedMessageLite) value)).buildPartial();\n }\n this.bitField0_ |= 8;\n }", "public void rotateBounds(Rect parentBounds, int oldRotation, int newRotation, Rect bounds) {\n createRotationMatrix(deltaRotation(newRotation, oldRotation), (float) parentBounds.width(), (float) parentBounds.height(), this.mTmpMatrix);\n this.mTmpRectF.set(bounds);\n this.mTmpMatrix.mapRect(this.mTmpRectF);\n this.mTmpRectF.round(bounds);\n }", "public RectangleAdapter(Shapes rect) {\n super(rect);\n //this.rect = (Rectangle)rect;\n }", "public Builder setRect(org.chromium.components.paint_preview.common.proto.PaintPreview.RectProto value) {\n copyOnWrite();\n instance.setRect(value);\n return this;\n }", "default Rectangle2D constrainRectangle( Figure f, Rectangle2D r) {\n return translateRectangle(f, r, DIRECTION_NEAREST);\n }", "@Override\n\tpublic void CheckBounds() {\n\t\t\n\t}", "public void clipRect(Rect mClipBounds) {\n\t\t\n\t}", "protected void notifyParentOfPositionChange()\n {\n rotatedCorners = null;\n ShapeView view = getParentView();\n \n if (view != null)\n {\n view.onPositionChanged(this);\n }\n }", "@External\r\n\t@ClientFunc\r\n\tpublic MetaVar SetBBox(MetaVarVector boxMinVar,MetaVarVector boxMaxVar);", "public void setBounds(int x, int y, int width, int height) \n\t{\n\t\tsuper.setBounds(x, y, width, height);\n\t\tfm = getFontMetrics(getFont());\n\t\ttitleHeight = fm.getHeight();\n\t\tyLabelWidth = fm.stringWidth(yLabel);\n\t\txLabelHeight = fm.getHeight();\n\t\t\n\t\tlabelWidth = Math.max(fm.stringWidth(Integer.valueOf(min).toString()),\n\t\t\t\t\t\t\t\t\t\t\t\t\tfm.stringWidth(Integer.valueOf(max).toString())) + 2;\n\t\ttop = padding + titleHeight;\n\t\tbottom = getSize().height - padding - xLabelHeight - fm.getHeight();\n\t\tleft = padding + yLabelWidth;\n\t\tright = getSize().width - padding;\n\t}", "public void setBounds(Double min, Double max) {\n Double aMin = Math.min(min, max);\n Double aMax = Math.max(min, max);\n if (aMin != this.min || aMax != this.max) {\n super.setMinimum(aMin);\n super.setMaximum(aMax);\n }\n fireStateChanged();\n }", "public GraphicSetConstraintCommand(final Graphic shape,\r\n final ChangeBoundsRequest req, final Rectangle newBounds) {\r\n if (shape == null || req == null || newBounds == null) {\r\n throw new IllegalArgumentException();\r\n }\r\n this.shape = shape;\r\n this.request = req;\r\n this.newBounds = newBounds.getCopy();\r\n setLabel(\"move / resize\");\r\n }", "public void onBoundsChange(Rect bounds) {\r\n }", "@SuppressWarnings(\"unchecked\")\n public AnimatorType bounds(RectF bounds)\n {\n addTransformer(new BoundsTransformer(getShape(), bounds));\n return (AnimatorType) this;\n }", "private void setSizeBox() {\n\t\t\tthis.leftX = pointsSubStroke.get(0).getX();\n\t\t\tthis.righX = pointsSubStroke.get(0).getX();\n\t\t\tthis.topY = pointsSubStroke.get(0).getY();\n\t\t\tthis.bottomY = pointsSubStroke.get(0).getY();\n\t\t\t\n\t\t\tfor(int i = 0; i < pointsSubStroke.size();i++) {\n\t\t\t\tdouble x = pointsSubStroke.get(i).getX();\n\t\t\t\tdouble y = pointsSubStroke.get(i).getX();\n\t\t\t\t\n\t\t\t\tthis.leftX = Math.min(x, leftX);\n\t\t\t\tthis.righX = Math.max(x, righX);\n\t\t\t\tthis.topY = Math.min(y, topY);\n\t\t\t\tthis.bottomY = Math.max(y, bottomY);\n\t\t\t}\n\t\t}" ]
[ "0.6767006", "0.66822565", "0.6458919", "0.6381107", "0.6342839", "0.6137676", "0.6042229", "0.6037255", "0.5997756", "0.5990501", "0.59564203", "0.5939949", "0.5817349", "0.58013356", "0.5779137", "0.577794", "0.5676399", "0.5632537", "0.56321347", "0.55748534", "0.557088", "0.55653465", "0.55287355", "0.5472353", "0.54468006", "0.5412865", "0.5367721", "0.53434306", "0.53423655", "0.53318906", "0.5327539", "0.53139067", "0.52801895", "0.52801895", "0.52766895", "0.5243484", "0.5237249", "0.5228846", "0.52123475", "0.52117217", "0.5205661", "0.5186513", "0.5179981", "0.5178855", "0.5176385", "0.51738685", "0.5166585", "0.5146133", "0.51330644", "0.5095113", "0.5085659", "0.50740635", "0.5069376", "0.50647223", "0.50578237", "0.5057393", "0.5056857", "0.5056171", "0.50540274", "0.50540274", "0.50540274", "0.5053374", "0.50493413", "0.5034807", "0.50332415", "0.50307745", "0.50242585", "0.50184536", "0.5016349", "0.5015633", "0.50129163", "0.50112337", "0.5006381", "0.5004123", "0.49944097", "0.4985666", "0.49791935", "0.49790737", "0.49740282", "0.49704278", "0.4967394", "0.49604854", "0.49583015", "0.49449483", "0.49436045", "0.49430603", "0.4942459", "0.49417266", "0.49404377", "0.49396032", "0.4919062", "0.4909531", "0.48838356", "0.48750412", "0.487395", "0.4871847", "0.48710722", "0.48698542", "0.4854142", "0.48540422", "0.4851884" ]
0.0
-1
Sets the bounds of the shape such that it exactly fits in the given parent coord rect.
public void setFrame(double anX, double aY, double aWidth, double aHeight) { setFrameXY(anX, aY); setFrameSize(aWidth, aHeight); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setBoundsInParent(Rect bounds) {\n/* 707 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public void setBounds(RectF newBounds)\n {\n this.bounds = GeometryUtils.copy(newBounds);\n \n if (getShapeParent() != null)\n {\n GeometryUtils.resolveGeometry(this.bounds, this);\n }\n \n notifyParentOfPositionChange();\n conditionallyRepaint();\n }", "@Override\n public void setBounds(Rectangle bounds) {\n final Rectangle repaintBounds = new Rectangle(getBounds());\n\n final Rectangle newBounds = new Rectangle(ajustOnGrid(bounds.x),\n ajustOnGrid(bounds.y), ajustOnGrid(bounds.width), bounds.height);\n\n newBounds.width = newBounds.width < MINIMUM_SIZE.x ? MINIMUM_SIZE.x\n : newBounds.width;\n\n this.bounds = newBounds;\n\n parent.getScene().repaint(repaintBounds);\n parent.getScene().repaint(newBounds);\n\n // Move graphics elements associated with this component\n leftMovableSquare.setBounds(computeLocationResizer(0));\n rightMovableSquare.setBounds(computeLocationResizer(bounds.width));\n\n setChanged();\n notifyObservers();\n }", "public void setBounds(Rectangle b);", "void setBounds(Rectangle rectangle);", "private void setParentBounds() {\n GraphRepresentation baseGraph = graphRepresentationFactory.getBaseGraph();\n\n Iterator<Task> iterator = tasks.iterator();\n while (iterator.hasNext()) {\n Task nextTask = iterator.next();\n List<Integer> nextTaskParents = baseGraph.getParents(nextTask.getIdentifier());\n nextTask.setParentBound(nextTaskParents.size());\n }\n }", "public void setBounds(Rectangle2D aRect)\n{\n setBounds(aRect.getX(), aRect.getY(), aRect.getWidth(), aRect.getHeight());\n}", "@Override\r\n\tvoid setProperty(BoundedShape anObject, Point aNewValue) {\n\t\tRectangle newBounds = new Rectangle (aNewValue.x, aNewValue.y, anObject.getWidth(), anObject.getHeight());\r\n\t\tanObject.setBounds(newBounds);\r\n\t}", "public void updateBounds(){\r\n\t\tRectangle bounds = new Rectangle(super.getBounds());\r\n\t\tint preferredHeight = 0;\r\n\t\tfor(Object child : getChildren()){\r\n\t\t\tIFigure figure = (IFigure)child;\r\n\t\t\tpreferredHeight += figure.getPreferredSize().height;\r\n\t\t}\r\n\t\tif (preferredHeight == 0) preferredHeight = 200;\r\n\t\tbounds.setHeight(preferredHeight+20);\r\n\t\tsetBounds(bounds);\r\n\t}", "private void setBounds(RectProto.Builder builderForValue) {\n this.bounds_ = (RectProto) builderForValue.build();\n this.bitField0_ |= 8;\n }", "private void setBounds(RectProto value) {\n if (value != null) {\n this.bounds_ = value;\n this.bitField0_ |= 8;\n return;\n }\n throw new NullPointerException();\n }", "public boolean setBounds(Rectangle bounds);", "public void setBounds(Rectangle bounds) {\r\n this.bounds = bounds;\r\n }", "public void setMovingBounds() {\r\n maxY = this.getParent().getYmax();\r\n minY = this.getParent().getYmin();\r\n maxX = this.getParent().getXmax();\r\n minX = this.getParent().getXmin();\r\n }", "@Override\n\tpublic void setBounds(int x, int y, int width, int height) {\n\t\t\n\t\t\n\t\tsuper.setBounds(x, y, width, height);\n\t}", "public void setBounds(Rect bounds) {\r\n\t\tthis.widthAndHeight = bounds;\r\n\t\tc.setBounds(bounds);\r\n\t}", "public void updateBounds() {\n this.setBounds(left, top, width, height);\n }", "final void setParent(ShapeParent newParent)\n {\n this.parent = newParent;\n }", "@Override\r\n\tpublic void setBounds(int x, int y, int width, int height) {\r\n\t\tsuper.setBounds(x, y, width, height);\r\n\t\tpv.update();\r\n\t}", "public void setBounds(double anX, double aY, double aW, double aH) { setX(anX); setY(aY); setWidth(aW); setHeight(aH); }", "private void setAppBounds(RectProto value) {\n if (value != null) {\n this.appBounds_ = value;\n this.bitField0_ |= 1;\n return;\n }\n throw new NullPointerException();\n }", "public void setBounds(Rectangle2D bounds){\r\n\t\tthis.bounds = bounds;\r\n\t}", "private void setAppBounds(RectProto.Builder builderForValue) {\n this.appBounds_ = (RectProto) builderForValue.build();\n this.bitField0_ |= 1;\n }", "public void updateCoords() {\n line.setLine(parent.getFullBounds().getCenter2D(), child.getFullBounds().getCenter2D());\n Rectangle2D r = line.getBounds2D();\n // adding 1 to the width and height prevents the bounds from\n // being marked as empty and is much faster than createStrokedShape()\n setBounds(r.getX(), r.getY(), r.getWidth() + 1, r.getHeight() + 1);\n invalidatePaint();\n }", "public void computeSRectangleBound()\n {\n this.savedSRectangleBound = getSRectangleBound();\n }", "public void onBoundsChange(Rect rect) {\n super.onBoundsChange(rect);\n this.f9050a.f9051a.setBounds(rect);\n }", "public void onBoundsChange(Rect rect) {\n Drawable drawable = this.f1995c;\n if (drawable != null) {\n drawable.setBounds(rect);\n }\n }", "public void setRectangleClip(int x, int y, float width, float height);", "@Override\n public void onSizeChanged(int w, int h, int oldW, int oldH) {\n // Set the movement bounds for the ballParent\n box.set(0, 0, w, h);\n }", "void setBounds(double x, double y, double scale) {\n double drawAspect = (double)width / (double)height;\n\n double halfPlotWidth = scale / 2.0;\n double halfPlotHeight = scale / 2.0;\n if (drawAspect > 1.0) {\n halfPlotWidth *= drawAspect;\n } else {\n halfPlotHeight /= drawAspect;\n }\n\n setBounds(x - halfPlotWidth, y - halfPlotHeight, x + halfPlotWidth, y + halfPlotHeight);\n }", "public void getBoundsInParent(Rect outBounds) {\n/* 692 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public void updateBounds() {\n\t\tswitch (this.species){\n\t\tcase HOGCHOKER:\n\t\tcase SILVERSIDE:\n\t\tcase FLOUNDER:\n\t\t\tthis.topYBound = frameHeight / 3 * 2;\n\t\t\tthis.bottomYBound = frameHeight - imageHeight - frameBarSize;\n\t\t\tbreak;\n\t\tcase PERCH: \n\t\tcase MINNOW: \n\t\tcase WEAKFISH:\n\t\t\tthis.topYBound = frameHeight / 3;\n\t\t\tthis.bottomYBound = frameHeight / 3 * 2 - imageHeight;\n\t\t\tbreak;\n\n\t\tcase MENHADEN:\n\t\tcase MUMMICHOG:\n\t\t\tthis.topYBound = 0;\n\t\t\tthis.bottomYBound = frameHeight / 3 - imageHeight;\n\t\t\tbreak;\n\t\tcase GOLD:\n\t\tdefault:\n\t\t\ttopYBound = 0;\n\t\t\tbottomYBound = frameHeight;\n\t\t}\n\t}", "public boolean validateFullBounds() {\n\t\tcomparisonBounds = getUnionOfChildrenBounds(comparisonBounds);\n\t\n\t\tif (!cachedChildBounds.equals(comparisonBounds)) {\n\t\t\tsetPaintInvalid(true);\n\t\t}\n\t\treturn super.validateFullBounds();\t\n\t}", "public boolean validateFullBounds() {\n\t\tcomparisonBounds = getUnionOfChildrenBounds(comparisonBounds);\n\t\n\t\tif (!cachedChildBounds.equals(comparisonBounds)) {\n\t\t\tsetPaintInvalid(true);\n\t\t}\n\t\treturn super.validateFullBounds();\t\n\t}", "public void setGraphicalWidgetBounds(double tempOriginX,\n double tempOriginY,\n double tempWidth,\n double tempHeight,\n GraphicalWidget<?> gw)\n {\n frameUI.setGraphicalWidgetBounds(tempOriginX,\n tempOriginY,\n tempWidth,\n tempHeight,\n gw);\n }", "public void layoutContainer(Container parent) {\n if ((constraints != null) && (! constraints.isEmpty())) {\n Rectangle alloc = getVisibleEditorRect();\n if (alloc != null) {\n Document doc = editor.getDocument();\n if (doc instanceof AbstractDocument) {\n ((AbstractDocument)doc).readLock();\n }\n try {\n rootView.setSize(alloc.width, alloc.height);\n Enumeration<Component> components = constraints.keys();\n while (components.hasMoreElements()) {\n Component comp = components.nextElement();\n View v = (View) constraints.get(comp);\n Shape ca = calculateViewPosition(alloc, v);\n if (ca != null) {\n Rectangle compAlloc = (ca instanceof Rectangle) ?\n (Rectangle) ca : ca.getBounds();\n comp.setBounds(compAlloc);\n }\n }\n } finally {\n if (doc instanceof AbstractDocument) {\n ((AbstractDocument)doc).readUnlock();\n }\n }\n }\n }\n }", "void addBounds(int x, int y, int width, int height);", "public LatLngBounds setupBounds(){\n\t\t\n\t\t\n\t\tdouble deltaLat = 0.000015; // correction value\n\t\t\n\t\tLatLng northEast = new LatLng(60.1876397959336 + (2.4 * deltaLat), 24.8207008838576);\n\t\tLatLng southWest = new LatLng(60.1866756699501 + deltaLat, 24.8172971606177);\n\t\t\n\t\t\n\t\t// 60.1866756699501\n\t\treturn new LatLngBounds(southWest, northEast);\n\t}", "private void setRect(org.chromium.components.paint_preview.common.proto.PaintPreview.RectProto value) {\n value.getClass();\n rect_ = value;\n bitField0_ |= 0x00000001;\n }", "public void onBoundsChange(Rect bounds) {\n this.boxWidth = bounds.width();\n this.boxHeight = bounds.height() - this.pointerHeight;\n super.onBoundsChange(bounds);\n }", "public void expand(){\n\t\tsetBounds(getX()-getWidth()/4, getY(), getWidth() * 1.5f, getHeight());\n\t\tcollisionBounds.setWidth(getWidth());\n\t}", "public void colapse(){\n\t\tsetBounds(getX(), getY(), getDefaultWidth(), getHeight());\n\t\tcollisionBounds.setWidth(getDefaultWidth());\n\t}", "public void setRectangleBounds(String bounds) {\n checkAvailable();\n impl.setRectangle(bounds);\n }", "public PBounds getBoundsReference() {\n\t\tPBounds bds = super.getBoundsReference();\n\t\tgetUnionOfChildrenBounds(bds);\n\n\t\tcachedChildBounds.setRect(bds);\n\t\tdouble scaledIndent = INDENT/renderCamera.getViewScale();\t\t\n\t\tbds.setRect(bds.getX()-scaledIndent,bds.getY()-scaledIndent,bds.getWidth()+2*scaledIndent,bds.getHeight()+2*scaledIndent);\n\t\t\n\t\treturn bds;\n\t}", "public RMRect getBoundsInside() { return new RMRect(0, 0, getWidth(), getHeight()); }", "protected Rectangle determineBounds() {\n return getNetTransform().createTransformedShape( _bounds ).getBounds();\n }", "public void setParent(RMParentShape aShape) { _parent = aShape; }", "@Override\n public void setRectangle() {\n switch (direction){\n case 0:\n rectangle.setLocation((int)x+5,(int)y+8);\n break;\n case 2:\n rectangle.setLocation((int)x+5,(int)y+8);\n break;\n case 1:\n rectangle.setLocation((int)x+13,(int)y+8);\n break;\n case 3:\n rectangle.setLocation((int)x+2,(int)y+8);\n break;\n }\n\n }", "@Override\n public void setBounds(int x, int y, int w, int h, int op) {\n setBounds(x, y, w, h, op, true, false);\n }", "@Override\r\n\tpublic Rectangle getBound() {\n\t\treturn new Rectangle((int)x, (int)y, (int)width, (int)height);\r\n\t}", "public final native void setBounds(LatLngBounds bounds) /*-{\n this.setBounds(bounds); \n }-*/;", "public void transform() {\n final var bounds = getParentBounds();\n transform( bounds.width, bounds.height );\n }", "public void setBounds(Point3D minBounds, Point3D maxBounds) {\n this.minBounds = minBounds;\n this.maxBounds = maxBounds;\n }", "public void setParent(CarrierShape parent)\n\t{\n\t\tthis.parent = parent;\n\t}", "public RMRect convertRectToShape(RMRect rect, RMShape shape)\n{\n if(shape==_parent && !isRSS()) { rect.offset(getX(), getY()); return rect; }\n return getTransformToShape(shape).transform(rect);\n}", "private BioMightBoundBox setupDefaultBoundBox(String parentID) \r\n\t{\r\n\t\t// Initialize the position of the bounding box vars\r\n\t\tBigDecimal xPos = new BigDecimal(0.0);\r\n\t\tBigDecimal yPos = new BigDecimal(0.0);\r\n\t\tBigDecimal zPos= new BigDecimal(0.0);\r\n\t\t\r\n\t\t// Set to base 1x1x1 cube\r\n\t\tBigDecimal xVector= new BigDecimal(1.0);\r\n\t\tBigDecimal yVector= new BigDecimal(1.0); \r\n\t\tBigDecimal zVector= new BigDecimal(1.0);\r\n\t\r\n\t\t// Initialize the BoundBox\r\n\t\tBioMightBoundBox bioBoundBox = null;\r\n\t\r\n\t\t// Initialize the Connectors \r\n\t\tBioMightConnectors bioMightConnectors = null; \r\n\r\n\t\t// Initialize the Connector \r\n\t\tBioMightConnector bioMightConnector= null;\r\n\t\r\n\t\tdouble circumference = 0.0;\r\n\t\tdouble[] startPos = {0.0, 0.0, 0.0};\r\n\t\tdouble[][] startPoints = BioGraphics.octogonYPlane(startPos, circumference);\r\n\t\t\r\n\t\t\r\n\t\t//**********************************************************************\r\n\t\t// ARMS BOUND BOX\t\t\r\n\t\t//\r\n\t\t// Set up the Bounding Box for the Arms\r\n\t\t// For default model, length of arms is 4.5\r\n\t\t//**********************************************************************\r\n\t\txPos = new BigDecimal(0.0);\r\n\t\tyPos = new BigDecimal(-15.0);\r\n\t\tzPos= new BigDecimal(-5.0);\r\n\t\r\n\t\txVector= new BigDecimal(11.5);\r\n\t\tyVector= new BigDecimal(6.0); \r\n\t\tzVector= new BigDecimal(5.0);\r\n\t\t\r\n\t\t// Setup the boundbox\r\n\t\tbioBoundBox = new BioMightBoundBox(xPos, yPos, zPos, xVector, yVector, zVector);\r\n\t\t// Set up its connectors\r\n\t\tbioMightConnectors = new BioMightConnectors();\r\n\t\t\r\n\t\t//********************************************\r\n\t\t// ARM - ORGAN CONNECTORS\r\n\t\t//********************************************\r\n\t\r\n\t\t// EpitheliumTissue Connector\r\n\t\tcircumference = 0.3;\r\n\t\tstartPos = getStartPoints(0.0, -5.0, -1.0);\r\n\t\tstartPoints = BioGraphics.octogonYPlane(startPos, circumference);\r\n\t\tbioMightConnector = new BioMightConnector(startPoints, Constants.ArmEpitheliumRef,\"connType\");\r\n\t\tbioMightConnectors.setBioMightConnector(Constants.ArmEpitheliumRef, bioMightConnector);\r\n\t\r\n\t\t//********************************************\t\r\n\t\t// ARMS - VASCULAR CONNECTORS \r\n\t\t//********************************************\r\n\t\r\n\t\t// InternalCarotidArteryEpithelium\r\n\t\tcircumference = 0.3;\r\n\t\tstartPos = getStartPoints(0.0, -5.0, -1.0);\r\n\t\tstartPoints = BioGraphics.octogonYPlane(startPos, circumference);\r\n\t\tbioMightConnector = new BioMightConnector(startPoints, \"InternalCarotidArteryEpithelium\",\"connType\");\r\n\t\tbioMightConnectors.setBioMightConnector(\"InternalCarotidArteryEpithelium\", bioMightConnector);\r\n\t\r\n\t\t// ExternalCarotidArteryEpithelium \r\n\t\tcircumference = 0.3;\r\n\t\tstartPos = getStartPoints(0.0, -5.0, -1.0);\r\n\t\tstartPoints = BioGraphics.octogonYPlane(startPos, circumference);\r\n\t\tbioMightConnector = new BioMightConnector(startPoints, \"ExternalCarotidArteryEpithelium\",\"connType\");\r\n\t\tbioMightConnectors.setBioMightConnector(\"ExternalCarotidArteryEpithelium\", bioMightConnector);\r\n\t\r\n\t\t//********************************************\r\n\t\t// ARMS - MUSCULAR CONNECTORS\r\n\t\t//********************************************\r\n\r\n\t\r\n\t\t//********************************************\r\n\t\t// ARMS - SKELETAL CONNECTORS\r\n\t\t//********************************************\r\n\r\n\t\t// ThoracicVertebrae T6 \r\n\t\tcircumference = 0.3;\r\n\t\tstartPos = getStartPoints(0.0, -5.0, -1.0);\r\n\t\tstartPoints = BioGraphics.octogonYPlane(startPos, circumference);\r\n\t\tbioMightConnector = new BioMightConnector(startPoints, \"CervicalVertebrae\",\"connType\");\r\n\t\tbioMightConnectors.setBioMightConnector(\"CervicalVertebrae\", bioMightConnector);\r\n\t\t\r\n\t\t\r\n\t\t// Stuff the Connectors into the Bounding Box \r\n\t\tbioBoundBox.setBioMightConnectors(bioMightConnectors);\r\n\t\t\r\n\t\treturn (bioBoundBox);\t\r\n\t}", "private void updateViewBounds() \r\n {\r\n assert !sim.getMap().isEmpty() : \"Visualiser needs simulator whose a map has at least one node\"; \r\n \r\n \r\n viewMinX = minX * zoomFactor;\r\n viewMinY = minY * zoomFactor;\r\n \r\n viewMaxX = maxX * zoomFactor;\r\n viewMaxY = maxY * zoomFactor;\r\n \r\n \r\n double marginLength = zoomFactor * maxCommRange;\r\n \r\n \r\n // Set the size of the component\r\n int prefWidth = (int)Math.ceil( (viewMaxX - viewMinX) + (marginLength * 2) );\r\n int prefHeight = (int)Math.ceil( (viewMaxY - viewMinY) + (marginLength * 2) );\r\n setPreferredSize( new Dimension( prefWidth, prefHeight ) );\r\n \r\n \r\n // Adjust for margin lengths \r\n viewMinX -= marginLength;\r\n viewMinY -= marginLength;\r\n \r\n viewMaxX += marginLength;\r\n viewMaxY += marginLength;\r\n }", "Rectangle getBounds();", "public abstract Rectangle getBounds();", "public abstract Rectangle getBounds();", "public abstract Rectangle getBounds();", "public RMRect bounds() { return new RMRect(x(), y(), width(), height()); }", "public void onBoundsChange(Rect rect) {\n super.onBoundsChange(rect);\n a();\n }", "public void set(Bounds boundsObject) {\n\tbounds = boundsObject;\n }", "public abstract void clipRect(int x, int y, int width, int height);", "public final void onBoundsChange(Rect rect) {\n if (this.f2289c != null) {\n this.f2289c.setBounds(rect);\n } else {\n this.f2274d.f2280b.setBounds(rect);\n }\n }", "private Rectangle getParentBounds() {\n final var bounds = mParentBounds;\n\n return bounds == null\n ? mParentBounds = calculateBounds( getParent() )\n : bounds;\n }", "public void computeStoredBounds()\n {\n computeSRectangleBound();\n computeCircleBound();\n }", "public ConstRect scaleToFitIn(final ConstRect other)\r\n {\r\n final double xx = Math.abs((double) other.width / width);\r\n final double yy = Math.abs((double) other.height / height);\r\n int w, h;\r\n if(xx <= yy)\r\n {\r\n w = other.getWidth();\r\n h = (int) Math.round(height * ((double) other.width / width));\r\n }\r\n else\r\n {\r\n h = other.getHeight();\r\n w = (int) Math.round(width * ((double) other.height / height));\r\n }\r\n final ConstRect constRect = new ConstRect(0, 0, w, h);\r\n return constRect;\r\n }", "public void setParentPanel(UIPanel parent) {\n this.parentPanel = parent;\n updateBounds();\n }", "void provideBounds(DiagramDescription diagram);", "public RMRect getBounds() { return new RMRect(getX(), getY(), getWidth(), getHeight()); }", "public Builder setRect(\n org.chromium.components.paint_preview.common.proto.PaintPreview.RectProto.Builder builderForValue) {\n copyOnWrite();\n instance.setRect(builderForValue.build());\n return this;\n }", "public void getBounds(Rect bounds) {\n final int outerX = (int) mOuterX;\n final int outerY = (int) mOuterY;\n final int r = (int) mOuterRadius + 1;\n bounds.set(outerX - r, outerY - r, outerX + r, outerY + r);\n }", "public void setBounds(float x, float y, float width, float height) {\n internalGroup.setBounds(x, y, width, height);\n dataTrait.x = x;\n dataTrait.y = y;\n dataTrait.width = width;\n dataTrait.height = height;\n resetSprite();\n\n }", "public RMRect convertRectFromShape(RMRect rect, RMShape shape)\n{\n if(shape==_parent && !isRSS()) { rect.offset(-getX(), -getY()); return rect; }\n return getTransformFromShape(shape).transform(rect);\n}", "@Override\n public void setLoc(Point p) {\n this.rect.setLocation(p);\n }", "public void setBound(final Bounds bounds) {\n\t\tbound.setBound(relation, bounds);\n\t}", "public void setParent(PsUpdateIf parent) {\n\t\tsuper.setParent(parent);\n\t\tm_pjRoot = (PjRootFinder)parent;\n\t\tm_pFunction.add(m_pjRoot.m_fx.getInfoPanel());\n\t\tm_pBounds.add(m_pjRoot.m_xMin.getInfoPanel());\n\t\tm_pBounds.add(m_pjRoot.m_xMax.getInfoPanel());\n\t\tm_pBounds.add(m_pjRoot.m_discr.getInfoPanel());\n\t}", "public ConstRect boundBy(final ConstRect other)\r\n {\r\n int posX = x;\r\n int posY = y;\r\n final int dimX = width;\r\n final int dimY = height;\r\n if(posX < other.getX())\r\n {\r\n posX = other.getX();\r\n }\r\n else if(posX + dimX > other.getWidth())\r\n {\r\n posX = (other.getWidth() - dimX);\r\n }\r\n if(posY < other.getY())\r\n {\r\n posY = other.getY();\r\n }\r\n else if(posY + dimY > other.getHeight())\r\n {\r\n posY = (other.getHeight() - dimY);\r\n }\r\n return new ConstRect(posX, posY, dimX, dimY);\r\n }", "public void onBoundsResolved()\n {\n updateTransform();\n }", "public RectangleShape(int xCoord, int yCoord, int widthOfRect, int heightOfRect)\n {\n System.out.println(\"setting x to: \"+ xCoord+\" & setting y to: \"+ yCoord);\n x = xCoord;\n y = yCoord;\n width = widthOfRect;\n height = heightOfRect;\n }", "public sRectangle getSRectangleBound()\n {\n return form.getSRectangleBound();\n }", "public void setCropRect(Rect cropRect) {\n this.cropRect = cropRect;\n //invalidate();\n }", "public void rotateBounds(Rect parentBounds, int oldRotation, int newRotation, Rect bounds) {\n createRotationMatrix(deltaRotation(newRotation, oldRotation), (float) parentBounds.width(), (float) parentBounds.height(), this.mTmpMatrix);\n this.mTmpRectF.set(bounds);\n this.mTmpMatrix.mapRect(this.mTmpRectF);\n this.mTmpRectF.round(bounds);\n }", "private void mergeBounds(RectProto value) {\n RectProto rectProto = this.bounds_;\n if (rectProto == null || rectProto == RectProto.getDefaultInstance()) {\n this.bounds_ = value;\n } else {\n this.bounds_ = (RectProto) ((RectProto.Builder) RectProto.newBuilder(this.bounds_).mergeFrom((GeneratedMessageLite) value)).buildPartial();\n }\n this.bitField0_ |= 8;\n }", "BaseBounds computeShapeBounds(BaseBounds bounds, BaseTransform tx,\n com.sun.javafx.geom.Shape s)\n {\n if (impl_mode == NGShape.Mode.EMPTY) {\n return bounds.makeEmpty();\n }\n\n float[] bbox = {\n Float.POSITIVE_INFINITY, Float.POSITIVE_INFINITY,\n Float.NEGATIVE_INFINITY, Float.NEGATIVE_INFINITY,\n };\n boolean includeShape = (impl_mode != NGShape.Mode.STROKE);\n boolean includeStroke = (impl_mode != NGShape.Mode.FILL);\n if (includeStroke && (getStrokeType() == StrokeType.INSIDE)) {\n includeShape = true;\n includeStroke = false;\n }\n\n if (includeStroke) {\n final StrokeType type = getStrokeType();\n double sw = Utils.clampMin(getStrokeWidth(), MIN_STROKE_WIDTH);\n StrokeLineCap cap = getStrokeLineCap();\n StrokeLineJoin join = convertLineJoin(getStrokeLineJoin());\n float miterlimit =\n (float) Utils.clampMin(getStrokeMiterLimit(), MIN_STROKE_MITER_LIMIT);\n // Note that we ignore dashing for computing bounds and testing\n // point containment, both to save time in bounds calculations\n // and so that animated dashing does not keep perturbing the bounds...\n Toolkit.getToolkit().accumulateStrokeBounds(\n s,\n bbox, type, sw,\n cap, join, miterlimit, tx);\n // Account for \"minimum pen size\" by expanding by 0.5 device\n // pixels all around...\n bbox[0] -= 0.5;\n bbox[1] -= 0.5;\n bbox[2] += 0.5;\n bbox[3] += 0.5;\n } else if (includeShape) {\n com.sun.javafx.geom.Shape.accumulate(bbox, s, tx);\n }\n\n if (bbox[2] < bbox[0] || bbox[3] < bbox[1]) {\n // They are probably +/-INFINITY which would yield NaN if subtracted\n // Let's just return a \"safe\" empty bbox..\n return bounds.makeEmpty();\n }\n bounds = bounds.deriveWithNewBounds(bbox[0], bbox[1], 0.0f,\n bbox[2], bbox[3], 0.0f);\n return bounds;\n }", "public RectangleAdapter(Shapes rect) {\n super(rect);\n //this.rect = (Rectangle)rect;\n }", "@Override\n protected void addBounds ()\n {\n ParticleSystemConfig.Layer psconfig = (ParticleSystemConfig.Layer)_config;\n GroupPriority priorityMode = psconfig.priorityMode;\n if (priorityMode == null) {\n _bounds.getCenter(_center);\n }\n super.addBounds();\n\n // add layer bounds to group bounds, if applicable\n if (priorityMode != null) {\n ((ParticleSystem)_parentScope).getGroupBounds(\n priorityMode.group).addLocal(_bounds);\n }\n }", "public Builder setRect(org.chromium.components.paint_preview.common.proto.PaintPreview.RectProto value) {\n copyOnWrite();\n instance.setRect(value);\n return this;\n }", "default Rectangle2D constrainRectangle( Figure f, Rectangle2D r) {\n return translateRectangle(f, r, DIRECTION_NEAREST);\n }", "@Override\n\tpublic void CheckBounds() {\n\t\t\n\t}", "public void clipRect(Rect mClipBounds) {\n\t\t\n\t}", "@External\r\n\t@ClientFunc\r\n\tpublic MetaVar SetBBox(MetaVarVector boxMinVar,MetaVarVector boxMaxVar);", "protected void notifyParentOfPositionChange()\n {\n rotatedCorners = null;\n ShapeView view = getParentView();\n \n if (view != null)\n {\n view.onPositionChanged(this);\n }\n }", "public GraphicSetConstraintCommand(final Graphic shape,\r\n final ChangeBoundsRequest req, final Rectangle newBounds) {\r\n if (shape == null || req == null || newBounds == null) {\r\n throw new IllegalArgumentException();\r\n }\r\n this.shape = shape;\r\n this.request = req;\r\n this.newBounds = newBounds.getCopy();\r\n setLabel(\"move / resize\");\r\n }", "public void setBounds(int x, int y, int width, int height) \n\t{\n\t\tsuper.setBounds(x, y, width, height);\n\t\tfm = getFontMetrics(getFont());\n\t\ttitleHeight = fm.getHeight();\n\t\tyLabelWidth = fm.stringWidth(yLabel);\n\t\txLabelHeight = fm.getHeight();\n\t\t\n\t\tlabelWidth = Math.max(fm.stringWidth(Integer.valueOf(min).toString()),\n\t\t\t\t\t\t\t\t\t\t\t\t\tfm.stringWidth(Integer.valueOf(max).toString())) + 2;\n\t\ttop = padding + titleHeight;\n\t\tbottom = getSize().height - padding - xLabelHeight - fm.getHeight();\n\t\tleft = padding + yLabelWidth;\n\t\tright = getSize().width - padding;\n\t}", "public void setBounds(Double min, Double max) {\n Double aMin = Math.min(min, max);\n Double aMax = Math.max(min, max);\n if (aMin != this.min || aMax != this.max) {\n super.setMinimum(aMin);\n super.setMaximum(aMax);\n }\n fireStateChanged();\n }", "@SuppressWarnings(\"unchecked\")\n public AnimatorType bounds(RectF bounds)\n {\n addTransformer(new BoundsTransformer(getShape(), bounds));\n return (AnimatorType) this;\n }", "public void onBoundsChange(Rect bounds) {\r\n }", "private void setSizeBox() {\n\t\t\tthis.leftX = pointsSubStroke.get(0).getX();\n\t\t\tthis.righX = pointsSubStroke.get(0).getX();\n\t\t\tthis.topY = pointsSubStroke.get(0).getY();\n\t\t\tthis.bottomY = pointsSubStroke.get(0).getY();\n\t\t\t\n\t\t\tfor(int i = 0; i < pointsSubStroke.size();i++) {\n\t\t\t\tdouble x = pointsSubStroke.get(i).getX();\n\t\t\t\tdouble y = pointsSubStroke.get(i).getX();\n\t\t\t\t\n\t\t\t\tthis.leftX = Math.min(x, leftX);\n\t\t\t\tthis.righX = Math.max(x, righX);\n\t\t\t\tthis.topY = Math.min(y, topY);\n\t\t\t\tthis.bottomY = Math.max(y, bottomY);\n\t\t\t}\n\t\t}" ]
[ "0.6765546", "0.6681751", "0.6458826", "0.63806677", "0.63433737", "0.6134641", "0.6042373", "0.6036948", "0.59959906", "0.59899086", "0.5955845", "0.5940086", "0.5817016", "0.57989734", "0.5778315", "0.57782197", "0.5675554", "0.5631407", "0.5631311", "0.5573774", "0.5570742", "0.5565438", "0.55286634", "0.5471407", "0.54448026", "0.5414249", "0.5369506", "0.53436273", "0.5340851", "0.53319937", "0.5324306", "0.53125477", "0.527797", "0.527797", "0.527593", "0.52425414", "0.523655", "0.52265704", "0.5213957", "0.5212234", "0.5204558", "0.518608", "0.51813126", "0.51746464", "0.5173573", "0.51711446", "0.516446", "0.5147415", "0.51330715", "0.50926375", "0.50848204", "0.5072916", "0.50675064", "0.50637907", "0.5057253", "0.50569576", "0.5055951", "0.5054209", "0.5051655", "0.5051655", "0.5051655", "0.5050709", "0.50503796", "0.50343406", "0.50328475", "0.5025903", "0.5025802", "0.501617", "0.5015337", "0.5015167", "0.50104064", "0.5009917", "0.5007393", "0.50032055", "0.49943396", "0.49864355", "0.49790588", "0.49789402", "0.49715284", "0.4969299", "0.49666008", "0.49594077", "0.49575844", "0.49464014", "0.49426496", "0.49424896", "0.49422312", "0.49419522", "0.4941327", "0.49412233", "0.49183542", "0.49072886", "0.48823133", "0.48735127", "0.48732874", "0.48704156", "0.48703414", "0.48700088", "0.48534945", "0.48532897", "0.48504078" ]
0.0
-1
Returns the X of the rect that fully encloses the shape in parent coords.
public double getFrameX() { return isRSS()? getFrameXY().x : getX(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public double getX() {\n\t\tRectangle2D bounds = _parentFigure.getBounds();\n\t\tdouble x = bounds.getX() + (_xt * bounds.getWidth());\n\t\treturn x;\n\t}", "public int getAbsoluteX() {\r\n return getAbsoluteLeft() - getParent().getAbsoluteLeft();\r\n }", "public final int getAbsoluteX() {\n assert (parent != null);\n if (parent == this) {\n return x;\n }\n if ((parent instanceof TWindow)\n && !(parent instanceof TMenu)\n && !(parent instanceof TDesktop)\n ) {\n // Widgets on a TWindow have (0,0) as their top-left, but this is\n // actually the TWindow's (1,1).\n return parent.getAbsoluteX() + x + 1;\n }\n return parent.getAbsoluteX() + x;\n }", "public double getX (){\n if (_parent != null)\n return _node.getLayoutX() + _parent.getX();\n else\n return _node.getLayoutX() ;\n }", "public float getLowerLeftX()\n {\n return ((COSNumber)rectArray.get(0)).floatValue();\n }", "int getBoundsX();", "@Override\n\tpublic double getXLoc() {\n\t\tdouble side = Math.sqrt(getMySize())/2;\n\t\treturn x+side;\n\t}", "public float getX()\n {\n return getBounds().left + positionAnchor.x;\n }", "public int centerX() {\n return mRect.centerX();\n }", "public int getX() {\r\n return xpos;\r\n }", "@Override\n\tpublic int getX() {\n\t\treturn 0;\n\t}", "@Override\n\tpublic int getX() {\n\t\treturn 0;\n\t}", "public int getX() {\n return (int) center.getX();\n }", "public int getX() {\r\n return (int) center.getX();\r\n }", "public RMPoint getXYP() { return convertPointToShape(new RMPoint(), _parent); }", "public int getX() {\n return (int) this.center.getX();\n }", "public int getLeftX() {\n\t\treturn 0;\r\n\t}", "public int getXLeftUpper() {\n return xLeftUpper;\n }", "public int getX() {\n\treturn baseXCoord;\n}", "public int getX() {\n\t\treturn super.getX();\n\t}", "private int get_x() {\n return center_x;\n }", "public int getX() {\n return pos_x;\n }", "public int getX() {\r\n\t\treturn xcoord;\r\n\t}", "public int getXLeft() {\n return xLeft;\n }", "public int getX() {\r\n\t\t\r\n\t\treturn topX;\r\n\t}", "public int getX() {\n return posX;\n }", "public final int getX()\n\t{\n\t\treturn pos.x;\n\t}", "public int getX() {\n return (int) xPos;\n }", "@Override\n\tpublic int getPosX() {\n\t\treturn posX;\n\t}", "public int getX()\r\n {\r\n \treturn xPos;\r\n }", "@Override\n\tpublic double getXPos() {\n\t\treturn field_145851_c;\n\t}", "public int getX() {\n\t\treturn 0;\n\t}", "public int getX() {\n if (this.coordinates == null)\n return -1;\n return this.coordinates.x();\n }", "public int getRootX() {\n return this.mX + this.mOffsetX;\n }", "public int getXPos() {\n\t\treturn xPos;\n\t}", "private double getPosX() {\n\t\treturn this.posX.get();\n\t}", "public int getX() {\n return PADDING;\n //return columnToX(this.getCols());\n //throw new UnsupportedOperationException();\n }", "public int getHorX() {\r\n return horX;\r\n }", "public int getXPosition() {\n return xPosition;\n }", "public int getX()\n\t{\n\t\treturn m_nPosX;\n\t}", "public int getXPosition()\n {\n return xPosition;\n }", "public int getXPosition()\n {\n return xPosition;\n }", "public int getXPosition(){\n\t\treturn xPosition;\n\t}", "public int getXPos();", "public int getXPosition() {\n return this.xPosition;\n }", "public final float getPositionX() {\r\n\t\treturn getState(false).getPositionX();\r\n\t}", "public float getUpperRightX()\n {\n return ((COSNumber)rectArray.get(2)).floatValue();\n }", "public int getX0() {\n\t\treturn this.origin.getX0();\n\t}", "public int getXpos() {\n\t\treturn xpos;\n\t}", "@Override\n public double getPosX() {\n return this.pos[0];\n }", "public int getPositionX() {\r\n\t\treturn positionX;\r\n\t}", "public int getX() {\n return xCoord;\n }", "public int getPosX() {\r\n\t\treturn posX;\r\n\t}", "public int getPosX() {\n\t\treturn posX;\n\t}", "@Override\n\tpublic int getX() {\n\t\treturn this.posicionX;\n\t}", "public final ShapeParent getShapeParent()\n {\n return parent;\n }", "public Point getTopLeft() {\n return location.topLeft();\n }", "public int getX(){\n\t\treturn this.x_location;\n\t}", "public int xPos() {\r\n\t\treturn this.xPos;\r\n\t}", "public int xPos() {\r\n\t\treturn this.xPos;\r\n\t}", "public final int getPositionX() {\r\n return (int) position.x();\r\n }", "public double getPositionX() {\n return positionX_;\n }", "public double getPositionX() {\n return positionX_;\n }", "public double getPositionX() {\n return positionX_;\n }", "public int getXOrigin() {\n return ic.getXOrigin();\n }", "public int getCoordX() \r\n {\r\n \treturn this.coordX;\r\n }", "public Point getXUpper()\n {\n return (Point)xUpp.clone();\n }", "public int getPositionX() {\n return positionX;\n }", "public Coords getLowerLeft()\r\n {\r\n return new Coords(x, y + height);\r\n }", "public double getPositionX() {\n return positionX_;\n }", "public double getPositionX() {\n return positionX_;\n }", "public double getPositionX() {\n return positionX_;\n }", "public int getxPos() {\n return xPos;\n }", "public int getX() {\n return positionX;\n }", "public int getX() {\n return this.coordinate.x;\n }", "public int getxPos() {\n\t\treturn xPos;\n\t}", "public int getX() {\n\t\t\n\t\treturn xPosition;\t\t// Gets the x integer\n\t}", "public float getX() {\n return internalGroup.getX();\n }", "public int getX()\r\n {\r\n return xLoc;\r\n }", "public int getxPos() \n\t{\n\t\treturn xPos;\n\t}", "int getX() {\n return xPos;\n }", "public int getX()\r\n {\r\n return xCoord;\r\n }", "@Override\r\n\tpublic long getSurpriseBoxX(SurpriseBox surpriseBox) throws IllegalStateException\r\n\t{\r\n\t\tif (surpriseBox.getBoard() != null)\r\n\t\t{\r\n\t\t\treturn surpriseBox.getPosition().getCoordX();\r\n\t\t}\r\n\t\telse throw new IllegalStateException();\r\n\t}", "public int getPositionX(){\n\t\treturn positionx;\n\t}", "public int getPosX() {\n return posX;\n }", "public final int getCursorAbsoluteX() {\n return getAbsoluteX() + cursorX;\n }", "public int getXcoord(){\n\t\treturn this.coordinates[0];\n\t}", "public int getSizeX() {\r\n\t\treturn sizeX;\r\n\t}", "Coordinate getMinX();", "double getXPosition();", "public double getXPos() {\n\t\treturn this.position[0];\n\t}", "public int getXPoint() {\r\n return this.x;\r\n }", "public int getXPosition() {\n\t\treturn this.position.x;\n\t}", "public double getXPos(){\n return xPos;\n }", "public double getXPosition()\n\t{\n\t\treturn xPosition;\n\t}", "public int getX() { return position.x; }", "public int getX(){ return xPosition; }", "public float getX() {\n return pos.x;\n }", "public int getPosX(){\n\t\treturn this.posX; \n\t}", "public float getLowerLeftY()\n {\n return ((COSNumber)rectArray.get(1)).floatValue();\n }", "public double getPositionX() {\n\t\treturn this.tilePositionX;\n\t}" ]
[ "0.7586644", "0.73756564", "0.72170067", "0.7102098", "0.6797952", "0.6483117", "0.6473196", "0.6454467", "0.6434945", "0.64076406", "0.63649756", "0.63649756", "0.63456315", "0.63307464", "0.6307483", "0.6290354", "0.6274523", "0.62709224", "0.62513804", "0.6233688", "0.62225765", "0.62146944", "0.62025917", "0.61979973", "0.61974365", "0.61966926", "0.61966413", "0.6195226", "0.61908114", "0.6184886", "0.6181822", "0.6163106", "0.61612684", "0.6154761", "0.6141207", "0.6140671", "0.6122242", "0.6117269", "0.61157966", "0.6093004", "0.60927093", "0.60927093", "0.60902995", "0.60876745", "0.60806704", "0.6079897", "0.6077555", "0.6076964", "0.6074289", "0.607251", "0.60650337", "0.6054975", "0.6054903", "0.6047631", "0.6039871", "0.60318726", "0.6031549", "0.6030694", "0.6029564", "0.6029564", "0.60291886", "0.6028558", "0.60278195", "0.60278195", "0.6027452", "0.601995", "0.6015542", "0.60138077", "0.6013575", "0.6013125", "0.6012408", "0.6012408", "0.6011227", "0.6010147", "0.6004791", "0.59987", "0.59955686", "0.59949476", "0.59942585", "0.598796", "0.59843117", "0.59793", "0.59791553", "0.5978254", "0.597698", "0.59704465", "0.5967848", "0.5964261", "0.59625846", "0.59624386", "0.5962113", "0.59618896", "0.5959787", "0.59578866", "0.5954942", "0.5952143", "0.5947858", "0.5946475", "0.59442663", "0.5938629", "0.5935397" ]
0.0
-1
Sets a shape's X such that its bounds rect (in parent coords) has origin at the given X.
public void setFrameX(double anX) { double x = _x + anX - getFrameX(); setX(x); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setXLoc(int xLoc){\n myRectangle.setX(xLoc);\n }", "public void setX(int newX)\n\t{\n\t\tx += newX;\n\t\tboundingBox = new Rectangle(x,y,width,height);\n\t}", "public void setX(float x)\n {\n getBounds().offsetTo(x - positionAnchor.x, getBounds().top);\n notifyParentOfPositionChange();\n conditionallyRelayout();\n }", "public void setX(int x) {\n\tbaseXCoord = x;\n}", "public void setX(int newX)\r\n {\r\n xCoord = newX;\r\n }", "void setX(int x) {\n position = position.setX(x);\n }", "@Override\n\tpublic void setX(int x) {\n\t\txPos = x;\n\t}", "public void setX( int x ) {\n\t\t//not checking if x is valid because that depends on the coordinate system\n\t\tthis.x = x;\n\t}", "void setX(int newX) {\n this.xPos = newX;\n }", "public void setX(float x) {\r\n\t\tleft = x - width / 2;\r\n\t}", "public void setX(int xpos) {\r\n this.xpos = xpos;\r\n }", "public void setXCoordinates(double newX) { this.xCoordinates = newX; }", "public void setX(double value) {\n origin.setX(value);\n }", "public void setPosX(int posX) {\n this.posX = posX;\n }", "protected void setXWithinBounds(double x) {\n\t\tif (getWorld() != null && (x < 0 || x >= getWorld().getWorldWidth()))\n\t\t\t\tterminate();\n\t\tsetX(Math.max(x, 0));\n\t}", "public void setX(double val) {\r\n\t\t this.xCoord = val;\r\n\t }", "public void setX(float x){\n hitBox.offsetTo(x,hitBox.top);\n //this.x=x;\n }", "public Builder setPositionX(double value) {\n bitField0_ |= 0x00000040;\n positionX_ = value;\n onChanged();\n return this;\n }", "@Override\r\n\tpublic void setPositionX(int x) {\n\t\tif (!(x >= 0))\r\n\t\t\tthrow new PreConditionError(\"Error PreCondition: x >= 0\");\r\n\r\n\t\tcheckInvariant();\r\n\r\n\t\tsuper.setPositionX(x);\r\n\r\n\t\tcheckInvariant();\r\n\r\n\t\t// post: getPositionX() == x\r\n\t\tif (!(getPositionX() == x))\r\n\t\t\tthrow new PostConditionError(\"Error PostCondition: getPositionX() == x\");\r\n\t}", "public void setPosX(double posX) {\n\t\tthis.PosX = posX;\r\n\t}", "public Builder setPositionX(double value) {\n bitField0_ |= 0x00000008;\n positionX_ = value;\n onChanged();\n return this;\n }", "public void setPosX(int posX) {\n\t\tthis.posX = posX;\n\t}", "public void setXCoordinate(int newValue)\n {\n x = newValue;\n }", "public void setPosX(float posX) {\n this.posX = posX;\n }", "public void setX(int x)\n\t{\n\t\tthis.x = x;\t\t\t\t\t\t\t\t\t\t\t\t\t// Update point's x-coordinate\n\t}", "public Builder setPositionX(double value) {\n bitField0_ |= 0x00000004;\n positionX_ = value;\n onChanged();\n return this;\n }", "public void setX(int x){ xPosition = x; }", "public void setParent(RMParentShape aShape) { _parent = aShape; }", "public void setX(int x) {\n synchronized (this.xLock) {\n this.movementComposer.setXPosition(x);\n }\n }", "public void setPosX(final int posX) {\n\t\tthis.posX = posX;\n\t}", "@Override\n\tpublic void setX(int x) {\n\t\t\n\t}", "public void setX(double X)\r\n {\r\n curX = X;\r\n }", "protected void setX(final Number x) {\n this.xCoordinate = x;\n }", "@Override\n\tpublic void setX(int x) {\n\n\t}", "public void setX(int x)\n\t{\n\t\tgetWorldPosition().setX(x);\n\t}", "public void setX(int xCoord) {\n this.xCoord = xCoord;\n }", "public void setX(double x)\r\n\t{\t\r\n\t\tvirtualDxfPoint.setTransformationX(x);\r\n\t\tAnchor.setX(x);\r\n\t}", "public void setX(int xcoord) {\n\t\tx = xcoord;\n\t}", "public void setX(int x) {\n collider.setLocation(x, (int) collider.getY());\n }", "public void setX(int x) {\n\t\tthis.X = x;\n\t}", "public void setX(int newX) {\n\t\tthis.x = newX;\n\t}", "public void setLowerLeftX(float value)\n {\n rectArray.set(0, new COSFloat( value ) );\n }", "public void setX(int xPos){\t\t\n\t\tx = new Integer(xPos);\n\t}", "public Builder setX(int value) {\n bitField0_ |= 0x00000004;\n x_ = value;\n onChanged();\n return this;\n }", "public void setX(int x) {\r\n\t\tthis.x = x;\r\n\t}", "public void setX(int x) {\r\n\t\tthis.x = x;\r\n\t}", "public void setX(int x) {\r\n\t\tthis.x = x;\r\n\t}", "public void setX(int x) {\r\n\t\tthis.x = x;\r\n\t}", "public PlotPosition setX( double x )\n {\n return setX( x, 1 );\n }", "default void setX(double x)\n {\n getAxis().setX(x);\n }", "public Builder setX(int value) {\n bitField0_ |= 0x00000002;\n x_ = value;\n onChanged();\n return this;\n }", "public Builder setX(int value) {\n bitField0_ |= 0x00000002;\n x_ = value;\n onChanged();\n return this;\n }", "public Builder setX(int value) {\n bitField0_ |= 0x00000002;\n x_ = value;\n onChanged();\n return this;\n }", "public void setStartX(double x)\n {\n startxcoord=x; \n }", "public final DragBounds setX1(final double x1)\n {\n m_jso.setX1(x1);\n\n return this;\n }", "public void setX(int x) {\r\n this.x = x;\r\n\r\n this.slot = Slot.fromXY(x, getY());\r\n }", "public void setXY(int newX, int newY)\n\t{\n\t\tx=newX; \n\t\ty=newY;\n\t\tboundingBox = new Rectangle(x,y,width,height);\n\t}", "final void setParent(ShapeParent newParent)\n {\n this.parent = newParent;\n }", "public int setObjXCoord() {\n\t\tint objX = ThreadLocalRandom.current().nextInt(1, getRoomWidth() - 1);\r\n\t\treturn objX;\r\n\t}", "public void setXPos(int x) {\n // from MoveEventHandler\n // convert to real x coord\n // x = xP * (xmaxr - xminR) / (xmaxP - xminP)\n double tmp = config.getMaximumRealX() + (x - config.getMaximumPixelX())*(config.getMaximumRealX() - config.getMinimumRealX())/(config.getMaximumPixelX() - config.getMinimumPixelX());\n xpos.setText(formatter.format(tmp));\n }", "public void setCenterX(double x) { centerX.set(clamp(x, X_MIN, X_MAX)); }", "public void setX(int x) { loc.x = x; }", "public void setxPos(int xPos) {\r\n \tthis.xPos = xPos;\r\n }", "public void setXPosition(double x)\n\t{\n\t\tthis.xPosition = x;\n\t}", "public void setX(int x){\r\n\t\tthis.x = x;\r\n\t}", "public final MotionUpdateEvent setX(double x) {\n pos.setX(x);\n return this;\n }", "public void setPathOrigin(int x, int y);", "public void setX(int newX)\n {\n x = newX;\n }", "public Builder setX(int value) {\n \n x_ = value;\n onChanged();\n return this;\n }", "public void moveX() {\n\t\tsetX( getX() + getVx() );\n\t}", "public void setX(int x) {\n\t\tthis.x = x;\n\t}", "public void setX(int x) {\n\t\tthis.x = x;\n\t}", "public void setX(int x) {\n\t\tthis.x = x;\n\t}", "public void setX(int x) {\n\t\tthis.x = x;\n\t}", "public void setX(int x) {\n\t\tthis.x = x;\n\t}", "public void setX(int position) {\r\n\t\tif(position<5 && position>=0) {\r\n\t\t\tthis.xcoord = position;\r\n\t\t}\r\n\t\telse {\r\n\t\t\trandomX();\r\n\t\t}\r\n\t}", "@Override\r\n\tpublic void setX(float x) {\n\t\t\r\n\t}", "public void setSpawnX(int spawnX) \n\t{\n\t\tthis.spawnX = spawnX;\n\t}", "public void setX(int x ){\n if(x>0){\n this.x=x;\n }\n \n }", "public Builder setX(int value) {\n bitField0_ |= 0x00000001;\n x_ = value;\n onChanged();\n return this;\n }", "public double getX() {\n\t\tRectangle2D bounds = _parentFigure.getBounds();\n\t\tdouble x = bounds.getX() + (_xt * bounds.getWidth());\n\t\treturn x;\n\t}", "public void setX(int x) {\n this.x = x;\n }", "public void setX(int x) {\n this.x = x;\n }", "public void setX(int x) {\n this.x = x;\r\n }", "public void setX(double point) {\n this.x = point;\n }", "public void setSpawnX(int x)\n {\n spawnX = x;\n }", "@Override\r\n\tvoid setProperty(BoundedShape anObject, Point aNewValue) {\n\t\tRectangle newBounds = new Rectangle (aNewValue.x, aNewValue.y, anObject.getWidth(), anObject.getHeight());\r\n\t\tanObject.setBounds(newBounds);\r\n\t}", "public void getBorderCenterX(double posX)\n {\n borderCenterX = posX;\n }", "@Override\n\tpublic void setX(float x) {\n\n\t}", "public void setX(double pX) {\n mX = pX;\n }", "public void setXPos(int xPos) {\r\n\t\tthis.xPos = xPos;\r\n\t}", "public void setXCoordinate(int xCoordinate)\n {\n if (xCoordinate >= 0)\n {\n this.xCoordinate = xCoordinate;\n }\n else \n {\n this.xCoordinate = 0;\n }// end of if (xCoordinate >= 0)\n }", "public void setX(double newX) {\r\n x = newX;\r\n }", "public void resetPaddleToStartingPosition(){\n myRectangle.setX(initialXLocation);\n }", "public void setLocationX( int newLocationX )\n\t{\n\t\tlocationX = newLocationX;\n\t}", "public void setXPos(int xPos) {\n\t\tthis.xPos=xPos;\n\t}", "public void setX(final int x) {\n\n this.x = x;\n }", "public final Point3D setX(double x)\n {\n m_jso.setX(x);\n\n return this;\n }", "public void setX() {\n m_frontLeft.setDesiredState(new SwerveModuleState(0, Rotation2d.fromDegrees(45)));\n m_frontRight.setDesiredState(new SwerveModuleState(0, Rotation2d.fromDegrees(-45)));\n m_rearLeft.setDesiredState(new SwerveModuleState(0, Rotation2d.fromDegrees(-45)));\n m_rearRight.setDesiredState(new SwerveModuleState(0, Rotation2d.fromDegrees(45)));\n }", "public void setX(int x)\r\n {\r\n this.x = x;\r\n }", "public void getOriginX(){\n\t\toriginX.setText(Double.toString(note.getOriginX()));\n\t}" ]
[ "0.69224465", "0.6842642", "0.6648536", "0.66053647", "0.6449474", "0.6442042", "0.63011795", "0.6231922", "0.62273306", "0.6095658", "0.6093644", "0.6075708", "0.60565615", "0.6032194", "0.6021512", "0.59991324", "0.5964721", "0.59494853", "0.59317416", "0.5913458", "0.5892259", "0.589123", "0.5889852", "0.58873314", "0.5880983", "0.5880513", "0.58368826", "0.57864803", "0.5776188", "0.5767269", "0.57640755", "0.5763453", "0.5760379", "0.57461375", "0.57389736", "0.5732248", "0.572584", "0.5721777", "0.57207906", "0.57110214", "0.5666406", "0.5636271", "0.56361985", "0.56265235", "0.5614945", "0.5614945", "0.5614945", "0.5614945", "0.56148005", "0.56036586", "0.56012285", "0.56012285", "0.56012285", "0.55979735", "0.5594159", "0.55897", "0.55855536", "0.5577265", "0.55736446", "0.5572708", "0.5572337", "0.55710703", "0.5562127", "0.5553732", "0.5553571", "0.55429006", "0.55367917", "0.5535646", "0.55310416", "0.5520038", "0.5518986", "0.5518986", "0.5518986", "0.5518986", "0.5518986", "0.5517578", "0.55099356", "0.55060333", "0.5498347", "0.5487628", "0.54853714", "0.5479214", "0.5479214", "0.54789406", "0.54765177", "0.5471974", "0.5471761", "0.5464061", "0.545977", "0.543702", "0.54355097", "0.5434404", "0.5433924", "0.54281104", "0.5425114", "0.54195637", "0.54179156", "0.54146713", "0.5404325", "0.540431", "0.5404005" ]
0.0
-1
Returns the Y of the rect that fully encloses the shape in parent coords.
public double getFrameY() { return isRSS()? getFrameXY().y : getY(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public double getY() {\n\t\tRectangle2D bounds = _parentFigure.getBounds();\n\t\tdouble y = bounds.getY() + (_yt * bounds.getHeight());\n\t\treturn y;\n\t}", "public final int getAbsoluteY() {\n assert (parent != null);\n if (parent == this) {\n return y;\n }\n if ((parent instanceof TWindow)\n && !(parent instanceof TMenu)\n && !(parent instanceof TDesktop)\n ) {\n // Widgets on a TWindow have (0,0) as their top-left, but this is\n // actually the TWindow's (1,1).\n return parent.getAbsoluteY() + y + 1;\n }\n return parent.getAbsoluteY() + y;\n }", "public int getAbsoluteY() {\r\n return getAbsoluteTop() - getParent().getAbsoluteTop();\r\n }", "public double getY (){\n if (_parent != null)\n return _node.getLayoutY() + _parent.getY();\n else\n return _node.getLayoutY();\n }", "public double getLowestParentY() {\n\t\t/* Aucun parent => aucune contrainte en y vers le haut */\n\t\tif (parentEdges == null)\n\t\t\treturn Double.MIN_VALUE;\n\t\t\n\t\tdouble maxY = Double.MIN_VALUE;\n\t\tfor (int i = 0; i < parentEdges.size(); i++) {\n\t\t\t/*\n\t\t\t * Recherche de l'extrémité la plus haute de l'arête (la plus basse étant le noeud\n\t\t\t * courant)\n\t\t\t */\n\t\t\tEdge currentEdge = parentEdges.elementAt(i);\n\t\t\tdouble y1 = currentEdge.getSource().getShape().getY();\n\t\t\tdouble y2 = currentEdge.getDestination().getShape().getY();\n\t\t\tdouble y = (y1 < y2) ? y1 : y2;\n\t\t\t\n\t\t\t/* Recherche de l'extrémité la plus basse parmi toutes les extrémités hautes */\n\t\t\tif (y > maxY)\n\t\t\t\tmaxY = y;\n\t\t}\n\t\t\n\t\treturn maxY;\n\t}", "public double getHighestChildY() {\n\t\t/* Aucun enfant => aucune contrainte en y vers le bas */\n\t\tif (childrenEdges == null)\n\t\t\treturn Double.MAX_VALUE;\n\t\t\n\t\tdouble minY = Double.MAX_VALUE;\n\t\tfor (int i = 0; i < childrenEdges.size(); i++) {\n\t\t\t/*\n\t\t\t * Recherche de l'extrémité la plus basse de l'arête (la plus haute étant le noeud\n\t\t\t * courant)\n\t\t\t */\n\t\t\tEdge currentEdge = childrenEdges.elementAt(i);\n\t\t\tdouble y1 = currentEdge.getSource().getShape().getY();\n\t\t\tdouble y2 = currentEdge.getDestination().getShape().getY();\n\t\t\tdouble y = (y1 > y2) ? y1 : y2;\n\t\t\t\n\t\t\t/* Recherche de l'extrémité la plus haute parmi toutes les extrémités basses */\n\t\t\tif (y < minY)\n\t\t\t\tminY = y;\n\t\t}\n\t\t\n\t\treturn minY;\n\t}", "public float getUpperRightY()\n {\n return ((COSNumber)rectArray.get(3)).floatValue();\n }", "private double getPosY() {\n\t\treturn this.posX.get();\n\t}", "public float getLayoutAlignmentY(Container parent)\n\t{\n\t\treturn 0.5f;\n\t}", "public int yPos() {\n\t\treturn Engine.scaleY(y);\n\t}", "int getBoundsY();", "public float getY()\n {\n return getBounds().top + positionAnchor.y;\n }", "public RMRect getFrame() { return isRSS()? convertRectToShape(getBoundsInside(), _parent) : getBounds(); }", "private Rectangle getParentBounds() {\n final var bounds = mParentBounds;\n\n return bounds == null\n ? mParentBounds = calculateBounds( getParent() )\n : bounds;\n }", "public int getY() {\n\treturn baseYCoord;\n}", "public float getRelY() {\n return y + (getReferenceY()-Controller.getMap().getChunkCoords(0)[1]) * Chunk.getGameDepth();\n }", "public int getTopY() {\n\t\treturn 0;\r\n\t}", "public int getY() {\n return (int) this.center.getY();\n }", "@Override\n public double getPosY() {\n return this.pos[1];\n }", "public final int getMaxY() {\n return getMinY() + getHeight();\n }", "public int getInternalDrawY() {\n return this.mDrawY;\n }", "public int getSizeY() {\r\n\t\treturn sizeY;\r\n\t}", "public int getYLeftUpper() {\n return yLeftUpper;\n }", "protected double getReferenceY() {\n if (isYAxisBoundsManual() && !mGraphView.getGridLabelRenderer().isHumanRoundingY()) {\n if (Double.isNaN(referenceY)) {\n referenceY = getMinY(false);\n }\n return referenceY;\n } else {\n // starting from 0 so that the steps have nice numbers\n return 0;\n }\n }", "public final int getY()\n\t{\n\t\treturn pos.y;\n\t}", "public int getYBottom() {\n return getYTop() + getYWidth();\n }", "public double getY() { return _height<0? _y + _height : _y; }", "public ISizeReference getY()\n {\n return _y;\n }", "public int getSizeY(){\r\n\t\treturn size[1];\r\n\t}", "public int getY() {\n return (int) center.getY();\n }", "public int getPosY() {\n\t\treturn posY;\n\t}", "public int getPosY() {\r\n\t\treturn posY;\r\n\t}", "public float getLowerLeftY()\n {\n return ((COSNumber)rectArray.get(1)).floatValue();\n }", "public double getCardPosY(){\r\n return getY();\r\n }", "public int getHorY() {\r\n return horY;\r\n }", "public double getMaxY() { return getY() + getHeight(); }", "public int getCenterY() {\n\t\t\treturn (int) origin.y + halfHeight;\n\t\t}", "public int getY() {\r\n\t\t\r\n\t\treturn topY;\r\n\t}", "public int getY() {\n return PADDING;\n //return rowToY(this.getRows());\n //throw new UnsupportedOperationException();\n }", "public final float getPositionY() {\r\n\t\treturn getState(false).getPositionY();\r\n\t}", "public int getY()\n\t{\n\t\treturn m_nPosY;\n\t}", "public int getY() {\n return posY;\n }", "public int getY() {\r\n return (int) center.getY();\r\n }", "public double getMaximumY () {\n return minimumY + height;\n }", "public int getY() {\n return (int) yPos;\n }", "public Integer getYOffset() {\n\t\tdouble frameHeight = this.pixy.getFrameHeight();\n\t\tdouble blockY = this.getY();\n\n\t\treturn (int) (frameHeight / 2 + blockY);\n\t}", "public double getCenterY() { return centerY.get(); }", "public float getHeight()\n {\n return getUpperRightY() - getLowerLeftY();\n }", "public int yPos() {\r\n\t\treturn this.yPos;\r\n\t}", "public int yPos() {\r\n\t\treturn this.yPos;\r\n\t}", "public int getY()\r\n\t{\r\n\t\treturn this.Y;\r\n\t}", "public int getY() {\n if (this.coordinates == null)\n return -1;\n return this.coordinates.y();\n }", "public int getPosY() {\n return posY;\n }", "public int getY() {\r\n return (int) this.p.getY();\r\n }", "public static int getEndYCoordinate(){\n\tint y = getThymioEndField_Y(); \n\t\t\n\t\tif(y == 0){\n\t\t\n \t}else{\n \t y *= FIELD_HEIGHT;\n \t}\n\t\treturn y;\n\t}", "public int getY() {\n synchronized (this.yLock) {\n return (int) this.movementComposer.getYPosition();\n }\n }", "public double getCenterY() {\n return this.getLayoutSlot().getY() + (int) (this.getLayoutSlot().getHeight() / 2);\n }", "public int getY() {\n return pos_y;\n }", "public int getY() {\n\t\treturn 0;\n\t}", "public double topmostVertexY() {\n if (right != null && ! right.isEmpty() &&\n left != null && ! left.isEmpty() &&\n left.get(0).getLine().isAscending() &&\n ! right.get(0).getLine().isAscending()) {\n return Line.intersection(right.get(0).getLine(),\n left.get(0).getLine()).getY();\n } else {\n return Double.POSITIVE_INFINITY;\n }\n }", "public double getPositionY() {\n\t\treturn this.tilePositionY;\n\t}", "public final int getPositionY() {\r\n return (int) position.y();\r\n }", "public Point getupperRigth() {\n Point upperRigth = new Point(this.upperLeft.getX() + this.getWidth(), this.upperLeft.getY());\n return upperRigth;\n }", "public int getPositionY() {\r\n\t\treturn positionY;\r\n\t}", "public int getCoordY() \r\n {\r\n \treturn this.coordY;\r\n }", "@Override\r\n\tpublic int getY() {\n\t\treturn (int)y;\r\n\t}", "public final int getHeight() {\r\n return (int) size.y();\r\n }", "public int getY() {\r\n\t\treturn ycoord;\r\n\t}", "public int lowerBoundary(){\r\n\t\treturn this.ypoints[0];\r\n\t}", "public double getPositionY() {\n return positionY_;\n }", "public double getPositionY() {\n return positionY_;\n }", "public double getPositionY() {\n return positionY_;\n }", "@Override\r\n public int getAbsoluteY()\r\n {\r\n try\r\n {\r\n return pageSwitcher.getAbsoluteY();\r\n }\r\n catch(NullPointerException e)\r\n {\r\n return 0;\r\n }\r\n }", "public final int getCursorAbsoluteY() {\n return getAbsoluteY() + cursorY;\n }", "public int getyPos() {\n return yPos;\n }", "public int getYSize() {\n\t\treturn (highPoint.getBlockY() - lowPoint.getBlockY()) + 1;\n\t}", "public int getY() {\n return this.coordinate.y;\n }", "public float getCenterY()\n\t{\n\t\treturn (this.sy / 2) + this.y;\n\t}", "public double getPositionY() {\n return positionY_;\n }", "public int getY()\r\n {\r\n return yLoc;\r\n }", "public static int offset_parent() {\n return (40 / 8);\n }", "public double getUserFriendlyYPos(){\n return myGrid.getHeight()/ HALF-yPos;\n }", "public final ShapeParent getShapeParent()\n {\n return parent;\n }", "public int getYCenter() {\n return getYOrigin() + panelHeight/2;\n }", "public double getPositionY() {\n return positionY_;\n }", "public double getPositionY() {\n return positionY_;\n }", "public int getY() {\n\t\treturn Y;\n\t}", "public int getyPos() {\n\t\treturn yPos;\n\t}", "public Coords getUpperRight()\r\n {\r\n return new Coords(x + width, y);\r\n }", "public RMRect getBoundsInside() { return new RMRect(0, 0, getWidth(), getHeight()); }", "public int getYSize()\n\t{\n\t\treturn this.ySize;\n\t}", "public double getyOffset() {\n\n return currentYOffset + yOffset;\n }", "public int getY() {\r\n\t\treturn this.y;\r\n\t}", "public int get_Y_Coordinate()\n {\n return currentBallY;\n }", "public int getRootY() {\n return this.mY + this.mOffsetY;\n }", "public int getyPos() \n\t{\n\t\treturn yPos;\n\t}", "public int getY() {\n\t\t\tint lastRobot = (state[2 * k] + k - 1) % k;\n\t\t\treturn state[lastRobot + k];\n\t\t}", "public float getPosY() {\n return posY;\n }", "@Override\n\tpublic double getYLoc() {\n\t\treturn y;\n\t}", "public double getEndY() {\n\treturn v2.getY();\n }", "public int getYPos() {\n\t\treturn yPos;\n\t}" ]
[ "0.76775557", "0.7394421", "0.73825675", "0.73632175", "0.7021546", "0.6563584", "0.65117526", "0.6502255", "0.6496752", "0.6489285", "0.6465233", "0.6415321", "0.6351664", "0.63346887", "0.62949824", "0.62631017", "0.6253079", "0.62427497", "0.62288755", "0.620909", "0.6205621", "0.61996526", "0.6197156", "0.61951613", "0.6184478", "0.6182872", "0.6178322", "0.6176163", "0.617189", "0.61678696", "0.61619514", "0.61600584", "0.6156268", "0.6154821", "0.6153375", "0.61349624", "0.6122716", "0.61202997", "0.611906", "0.61121726", "0.61077744", "0.60982454", "0.60976833", "0.60949844", "0.6091556", "0.60766065", "0.60754544", "0.60738814", "0.60665303", "0.60665303", "0.60617197", "0.60614014", "0.60559356", "0.6054302", "0.60425466", "0.602278", "0.60129225", "0.6010469", "0.60079587", "0.60063505", "0.6003422", "0.60032076", "0.59996253", "0.5998584", "0.5995786", "0.5995776", "0.5993717", "0.59714586", "0.5968409", "0.59523016", "0.59523016", "0.59523016", "0.59507734", "0.59489024", "0.5945086", "0.5941123", "0.59406793", "0.59384817", "0.5938105", "0.5937278", "0.59367734", "0.59365237", "0.5936491", "0.5936167", "0.5935996", "0.5935996", "0.5933741", "0.5932237", "0.59299576", "0.59268194", "0.59265286", "0.5921926", "0.59215784", "0.59214264", "0.5920261", "0.5918564", "0.59130424", "0.5909369", "0.5907822", "0.5903292", "0.5902353" ]
0.0
-1
Sets a shape's Y such that its bounds rect (in parent coords) has origin at the given Y.
public void setFrameY(double aY) { double y = _y + aY - getFrameY(); setY(y); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setY(int newY)\n\t{\n\t\ty+=newY;\n\t\tboundingBox = new Rectangle(x,y,width,height);\n\t}", "public void setY(float y)\n {\n getBounds().offsetTo(getBounds().left, y - positionAnchor.y);\n notifyParentOfPositionChange();\n conditionallyRelayout();\n }", "void setY(int newY) {\n this.yPos = newY;\n }", "public void setY(int y) {\n\tbaseYCoord = y;\n}", "public void setY(int newY)\r\n {\r\n yCoord = newY;\r\n }", "void setY(int y) {\n position = position.setY(y);\n }", "public void setYCoordinates(double newY) { this.yCoordinates = newY; }", "@Override\n\tpublic void setY(int y) {\n\t\tyPos = y;\n\t}", "public void setY(double value) {\n origin.setY(value);\n }", "public void setY(int y){ yPosition = y; }", "public void setY(int y){\n\t\tthis.y_location = y;\n\t}", "public void setY(double val) {\r\n\t\t this.yCoord = val;\r\n\t }", "public void setY(int value) {\n this.y = value;\n }", "public void setY( int y ) {\n\t\t//not checking if y is valid because that depends on the coordinate system\n\t\tthis.y = y;\n\t}", "public void setYPosition(int newY) {\n this.yPosition = newY;\n }", "public void setY(int y) { loc.y = y; }", "public void setY( double Y)\r\n {\r\n curY = Y;\r\n }", "public void setY(int y)\n\t{\n\t\tthis.y = y;\t\t\t\t\t\t\t\t\t\t\t\t\t// Update point's y-coordinate \n\t}", "@Override\n\tpublic void setY(int y) {\n\t\t\n\t}", "@Override\n\tpublic void setY(int y) {\n\n\t}", "public void setY(int y) {\n\t\tthis.Y = y;\n\t}", "public void setY(int y) {\r\n\t\tthis.y = y;\r\n\t}", "public void setY(int y) {\r\n\t\tthis.y = y;\r\n\t}", "public void setY(int y) {\r\n\t\tthis.y = y;\r\n\t}", "public void setY(int y) {\r\n\t\tthis.y = y;\r\n\t}", "public void setY(double pY) {\n mY = pY;\n }", "public void setY(int yCoord) {\n this.yCoord = yCoord;\n }", "public void setYCoordinate(int newValue)\n {\n y = newValue;\n }", "public void setY(int yPos){\t\t\n\t\ty = new Integer(yPos);\n\t}", "public void setY(int y){\r\n\t\tthis.y = y;\r\n\t}", "public void setY(int y) {\r\n this.y = y;\r\n\r\n this.slot = Slot.fromXY(getX(), y);\r\n }", "void setY(final Number y) {\n this.yCoordinate = y;\n }", "public void setY(int y) {\n this.y = y;\n }", "public void setY(int y) {\n this.y = y;\n }", "public void setY(int y) {\n this.y = y;\n }", "public void setY(double y)\r\n\t{\t\r\n\t\tvirtualDxfPoint.setTransformationY(y);\r\n\t\tAnchor.setY(y);\r\n\t}", "public Builder setPositionY(double value) {\n bitField0_ |= 0x00000080;\n positionY_ = value;\n onChanged();\n return this;\n }", "public void moveY() {\n\t\tsetY( getY() + getVy() );\n\t}", "public Builder setPositionY(double value) {\n bitField0_ |= 0x00000008;\n positionY_ = value;\n onChanged();\n return this;\n }", "public void setY(int y) {\n\t\tthis.y = y;\n\t}", "public void setY(int y) {\n\t\tthis.y = y;\n\t}", "public void setY(int y) {\n\t\tthis.y = y;\n\t}", "public void setY(int y) {\n\t\tthis.y = y;\n\t}", "public void setEndY(double y)\n {\n endycoord=y; \n }", "public void setPosY(double posY) {\n\t\tthis.PosY = posY;\r\n\t}", "public void setYPosition(double y)\n\t{\n\t\tthis.yPosition = y;\n\t}", "public void setCurrentYPosition(int y) {\n\t\tthis.currentYPosition = y;\n\t\tthis.currentXPosition = this.floats.leftIntersectionPoint(this.box.getAbsoluteX()\n\t\t\t\t+ this.box.marginLeft + this.box.paddingLeft, this.box.getAbsoluteY() + y\n\t\t\t\t+ this.box.marginTop + this.box.paddingTop, this.currentRowMaxWidth, this.box);\n\t}", "protected void setYWithinBounds(double y) {\n\t\tif (getWorld() != null && (y < 0 || y >= getWorld().getWorldHeight()))\n\t\t\t\tterminate();\n\t\tsetY(Math.max(y, 0));\n\t}", "public Builder setPositionY(double value) {\n bitField0_ |= 0x00000010;\n positionY_ = value;\n onChanged();\n return this;\n }", "public void setY(double value) {\n this.y = value;\n }", "public void setY(int ycoord) {\n\t\ty = ycoord;\n\t}", "public void setY(int theY)\r\n {\r\n y = theY;\r\n }", "public void setY(int y ){\n if(y>0){\n this.y=y;\n }\n \n }", "public void setY(int y) {\n this.y = y;\r\n }", "@Override\r\n\tpublic void setPositionY(int y) {\n\t\tif (!(y >= 0))\r\n\t\t\tthrow new PreConditionError(\"Error PreCondition: y >= 0\");\r\n\r\n\t\tcheckInvariant();\r\n\r\n\t\tsuper.setPositionY(y);\r\n\r\n\t\tcheckInvariant();\r\n\r\n\t\t// post: getPositionY() == y\r\n\t\tif (!(getPositionY() == y))\r\n\t\t\tthrow new PostConditionError(\"Error PostCondition: getPositionY() == y\");\r\n\t}", "public void setY(int y)\n {\n this.y = y;\n }", "public void setyPos(int yPos) {\r\n this.yPos = yPos;\r\n }", "public void setY(final int y) {\n\n this.y = y;\n }", "public void setY(float y){\n hitBox.offsetTo(hitBox.left,y);\n //this.y=y;\n }", "public Builder setY(int value) {\n bitField0_ |= 0x00000002;\n y_ = value;\n onChanged();\n return this;\n }", "default void setY(double y)\n {\n getAxis().setY(y);\n }", "@Override\n public void setY(int y) {\n this.y=y;\n }", "public Builder setY(int value) {\n bitField0_ |= 0x00000004;\n y_ = value;\n onChanged();\n return this;\n }", "public Builder setY(int value) {\n bitField0_ |= 0x00000004;\n y_ = value;\n onChanged();\n return this;\n }", "public Builder setY(int value) {\n bitField0_ |= 0x00000004;\n y_ = value;\n onChanged();\n return this;\n }", "public final MotionUpdateEvent setY(double y) {\n pos.setY(y);\n return this;\n }", "public Builder setY(int value) {\n bitField0_ |= 0x00000008;\n y_ = value;\n onChanged();\n return this;\n }", "public void setY(int y){\n this.y = y;\n }", "public void setY(int y){\n this.y = y;\n }", "public void setY(int y){\n this.y = y;\n }", "public void setYPos(int y) {\n // from MoveEventHandler\n // convert to real y coord\n // y = yP * (ymaxR - yminr) / (ymaxP - yminP)\n double tmp = config.getMaximumRealY() + (y - config.getMaximumPixelY())*(config.getMaximumRealY() - config.getMinimumRealY())/(config.getMaximumPixelY() - config.getMinimumPixelY());\n ypos.setText(formatter.format(tmp));\n }", "public void setY(int value)\n\t{\n\t\tgetWorldPosition().setY(value);\n\t}", "public void setY(int y) {\n collider.setLocation((int) collider.getX(), y);\n }", "public void setY(double newY) {\r\n y = newY;\r\n }", "public void setY(int y) { this.y=y; }", "public void setYPosition( int yCoordinate ) {\n yPosition = yCoordinate;\n }", "void setY(int y) {\n this.y = y;\n }", "public void setYPos(int yPos) {\r\n\t\tthis.yPos = yPos;\r\n\t}", "public Builder setY(float value) {\n \n y_ = value;\n onChanged();\n return this;\n }", "public Builder setY(float value) {\n \n y_ = value;\n onChanged();\n return this;\n }", "public Builder setY(float value) {\n \n y_ = value;\n onChanged();\n return this;\n }", "public void setyPos(int yPos) {\n\t\tthis.yPos = yPos;\n\t}", "public PlotPosition setY( double y )\n {\n return setY( y, 1 );\n }", "public void setYPos(int yPos) {\n\t\tthis.yPos=yPos;\n\t}", "public void setY(double point) {\n this.y = point;\n }", "public void setY(long y){\n this.y = y;\n }", "public void setyPos(int yPos) \n\t{\n\t\tthis.yPos = yPos;\n\t}", "public void setY(double y) {\n this.y = y;\n }", "public void setY(double y) {\n this.y = y;\n }", "public void setY(double y) {\n this.y = y;\n }", "public void setPositionY(float y) {\n\t\tthis.position.set(this.position.x, y, 0);\n\t}", "public void setY(double y) {\n\t\tthis.y = y;\n\t}", "public void setYCoordinate (int yCoordinate)\n {\n if (yCoordinate >= 0)\n {\n this.yCoordinate = xCoordinate;\n }\n else \n {\n this.yCoordinate = 0;\n }// end of if (yCoordinate >= 0)\n }", "@Override\n\tpublic void setY(float y) {\n\n\t}", "public Builder setY(long value) {\n copyOnWrite();\n instance.setY(value);\n return this;\n }", "public void setPosY(int posY) {\n\t\tthis.posY = posY;\n\t}", "public void setY(double y)\n {\n this.y = y;\n }", "public void setY(double y) {\n this.y = y;\r\n }", "@Override\r\n\tpublic void setY(float y) {\n\t\t\r\n\t}", "public void getOriginY(){\n\t\toriginY.setText(Double.toString(note.getOriginY()));\n\t}", "public void setY(double y)\n\t{\n\t\tthis.y = y;\n\t}" ]
[ "0.7290995", "0.7124898", "0.71174014", "0.7112647", "0.70898783", "0.7003645", "0.6986166", "0.69293344", "0.68762666", "0.6836044", "0.6823926", "0.6814166", "0.67636013", "0.67516285", "0.67434037", "0.6715742", "0.6703786", "0.668466", "0.66651845", "0.66639096", "0.6614264", "0.6596063", "0.6596063", "0.6596063", "0.6596063", "0.65882486", "0.6561142", "0.6555845", "0.65538657", "0.6549802", "0.6547195", "0.65398055", "0.65308595", "0.65308595", "0.65308595", "0.65296286", "0.6527696", "0.65268636", "0.6524451", "0.6524084", "0.6524084", "0.6524084", "0.6524084", "0.6523101", "0.6510572", "0.6504414", "0.65018797", "0.64968044", "0.6494586", "0.6485326", "0.648138", "0.6477637", "0.6477416", "0.64736354", "0.64608717", "0.64498293", "0.6448507", "0.6447518", "0.6441486", "0.64364296", "0.641981", "0.6412776", "0.63769215", "0.63769215", "0.63769215", "0.6361811", "0.6361076", "0.6358418", "0.6358418", "0.6358418", "0.63581055", "0.635207", "0.63482416", "0.634644", "0.6333298", "0.6333121", "0.63001275", "0.6289342", "0.6288703", "0.6288703", "0.6288703", "0.6279932", "0.6276166", "0.6275214", "0.6268488", "0.62606174", "0.62602246", "0.6258937", "0.6258937", "0.6258937", "0.6256859", "0.6245182", "0.6238134", "0.6222697", "0.6220663", "0.62192166", "0.6217354", "0.62151414", "0.6207863", "0.6204407", "0.62028855" ]
0.0
-1
Returns the width of the rect that fully encloses the shape in parent coords.
public double getFrameWidth() { return isRSS()? getFrame().width : getWidth(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getWidth() {\n return ((int) this.rectangle.getWidth());\n }", "public int getWidth() {\n int parent_desired_width = this.getParent().getChildWidth(this);\n return Math.min(Math.max(parent_desired_width, this.getMinWidth()), this.getMaxWidth());\n }", "public double getRectWidth() {\n double baseWidth = Hex.INNER_DIAMETER * hexWidth;\n double offset = Hex.INNER_RADIUS * (hexHeight - 1);\n return baseWidth + offset;\n }", "public float getWidth()\n {\n return getBounds().width();\n }", "public double getWidth() {\n return this.getRight(this.tree.getRight(0)) - this.getLeft(this.tree.getLeft(0)); \n }", "int getBoundsWidth();", "public static int size_parent() {\n return (8 / 8);\n }", "public final int getWidth() {\r\n return (int) size.x();\r\n }", "public float getWidth()\n {\n return getUpperRightX() - getLowerLeftX();\n }", "public int getWidth() {\n return mySize.getWidth();\n }", "public double getWidth() {\n return this.left.getLeft(0) - this.right.getRight(0); \n }", "public int rectangleCount() {\n return this.root.rectangleCount();\n }", "@Override\n public int getWidth() {\n return graphicsEnvironmentImpl.getWidth(canvas);\n }", "public double getWidth() {\n\t\tdouble width = Math.round(sideLength + (2 * sideLength * \n\t\t\t\tMath.sin(Math.PI / 4)));\n\t\treturn width;\n\t}", "public Integer getWidth()\n {\n return (Integer) getStateHelper().eval(PropertyKeys.width, null);\n }", "public int getWidth()\r\n\t{\r\n\t\treturn mWidth;\r\n\t}", "public double Width() {\n return OCCwrapJavaJNI.ShapeAnalysis_FreeBoundData_Width(swigCPtr, this);\n }", "public double getWidth() {\n\t\t\treturn width.get();\n\t\t}", "public int getWidth()\n\t{\n\t\treturn this._width;\n\t}", "public int getWidth(){\r\n\t\twidth = super.getWidth();\r\n\t\treturn width;\r\n\t}", "public int width()\n {\n return Math.max(top, bottom);\n }", "public int getWidth() {\r\n\t\treturn this.width;\r\n\t}", "@Override\n public int getWidth() {\n colorSpaceType.assertNumElements(buffer.getFlatSize(), height, width);\n return width;\n }", "public int getWidth() {\n\t\treturn this.width;\n\t}", "public int getWidth() {\n\t\treturn this.width;\n\t}", "public int getWidth(){\n return this.baseLevel.getWidth();\n }", "public int getWidth() {\n\t\treturn canvasWidth;\n\t}", "public double getWidth();", "public double getWidth();", "public int getWidth() {\n return mWidth;\n }", "public int getWidth()\n\t{\n\t\treturn mWidth;\n\t}", "public double getWidth() {\r\n \tif (this.x1 >= this.x3) {\r\n \t\tif (this.y1 >= this.y3) {\r\n \t\t\twidth = Math.sqrt(Math.pow((this.x1 - this.x3), 2) + Math.pow((this.y1 - this.y3), 2));\r\n \t\t} else {\r\n \t\t\twidth = Math.sqrt(Math.pow((this.x1 - this.x3), 2) + Math.pow((this.y3 - this.y1), 2));\r\n \t\t}\r\n \t} else if (this.x1 < this.x3) {\r\n \t\tif (this.y1 >= this.y3) {\r\n \t\t\twidth = Math.sqrt(Math.pow((this.x3 - this.x1), 2) + Math.pow((this.y1 - this.y3), 2));\r\n \t\t} else {\r\n \t\t\twidth = Math.sqrt(Math.pow((this.x3 - this.x1), 2) + Math.pow((this.y3 - this.y1), 2));\r\n \t\t}\r\n \t}\r\n \treturn(width);\r\n }", "public int getWidth()\n {\n return this.width;\n }", "public double getWidth() {\n return getElement().getWidth();\n }", "public final float getWidth() {\n return mWidth;\n }", "@Override\n\tpublic int getWidth() {\n\t\treturn this.width;\n\t}", "public int getWidth() {\n return this.width;\n }", "public int getWidth() {\n return this.width;\n }", "public int getWidth();", "public int getWidth();", "public int getWidth();", "public int getWidth() {\n return (int) Math.round(width);\n }", "public int getWidth() {\r\n\t\t\r\n\t\treturn width;\r\n\t}", "@Basic\n\tpublic int getWidth() {\n\t\treturn getCurrentSprite().getWidth();\n\t}", "public int getWidth () {\r\n\tcheckWidget();\r\n\tint [] args = {OS.Pt_ARG_WIDTH, 0, 0};\r\n\tOS.PtGetResources (handle, args.length / 3, args);\r\n\treturn args [1];\r\n}", "public int getWidth()\r\n\t{\r\n\t\treturn WIDTH;\r\n\t}", "public final int getWidth() {\r\n return width;\r\n }", "public static int getWidth()\r\n\t{\r\n\t\treturn width;\r\n\t}", "public int getWidth()\r\n\t{\r\n\t\treturn width;\r\n\t}", "public int getWidth() {\r\n\t\treturn width;\r\n\t}", "public int getWidth() {\r\n\t\treturn width;\r\n\t}", "public int getWidth() {\n\t\treturn width;\r\n\t}", "public int getWidth() {\n return this._width;\n }", "public int getWidth() {\n\t\treturn width;\n\t}", "public int getWidth() {\n\t\treturn width;\n\t}", "public int getWidth() {\n\t\treturn width;\n\t}", "public int getWidth() {\n\t\treturn width;\n\t}", "public int getWidth() {\n\t\treturn width;\n\t}", "public int getWidth() {\n\t\treturn width;\n\t}", "public int getWidth() {\n\t\treturn width;\n\t}", "public int getWidth() {\n\t\treturn width;\n\t}", "public int getWidth() {\n\t\treturn width;\n\t}", "public int getWidth() {\n\t\treturn width;\n\t}", "public int getWidth() {\n\t\treturn width;\n\t}", "public int getWidth() {\n\t\treturn width;\n\t}", "public int getWidth() {\n\t\treturn width;\n\t}", "public double getWidth() {\n return location.width();\n }", "public int getWidth() {\n // Replace the following line with your solution.\n return width;\n }", "public int getWidth() {\n\t\t\treturn width;\n\t\t}", "public int getWidth() \n\t{\n\t\treturn width;\n\t}", "public int getWidth()\n\t{\n\t\treturn width;\n\t}", "public int getWidth()\n\t{\n\t\treturn width;\n\t}", "@Override\n\tpublic int getWidth() {\n\n\t\treturn ((WorldWindowSWTGLCanvas) slave).getCanvas().getSize().x;\n\t}", "public double getWidth() {\n\t\treturn mx-nx;\n\t}", "public String getWidthAttribute() {\n if (wrapWidth) {\n return VALUE_WRAP_CONTENT;\n } else if (fillWidth) {\n //return mRule.getFillParentValueName();\n return VALUE_MATCH_PARENT;\n } else {\n return AndroidDesignerUtils.pxToDpWithUnits(myArea, bounds.width);\n }\n }", "public final native double getWidth() /*-{\n return this.getWidth();\n }-*/;", "public double getWidth() {\r\n\t\treturn width;\r\n\t}", "public double getWidth() {\n\t\treturn width;\n\t}", "public double getWidth() {\n\t\treturn width;\n\t}", "public double getWidth() {\n\t\treturn width;\n\t}", "public int getWidth() {\n return width_;\n }", "public float getWidth();", "public final int getWidth(){\n return width_;\n }", "public float getWidth() {\n return this.width;\n }", "public int getWidth() {\n return width_;\n }", "public int getWidth() {\n return width_;\n }", "public float getWidth() {\r\n\t\treturn width;\r\n\t}", "public int getWidth() {\n return width;\n }", "public int getWidth() {\n return width;\n }", "public int getWidth() {\n return width;\n }", "public int getWidth() {\n return width;\n }", "public int getWidth() {\n return width;\n }", "public int getWidth() {\n return width;\n }", "public int getWidth() {\n return width;\n }", "public int getWidth() {\n return width;\n }", "public int getWidth() {\n return width;\n }", "public int getWidth() {\n return width;\n }", "public int getWidth() {\n return width;\n }", "public int getWidth() {\n return width;\n }", "public int getWidth() {\n return width;\n }", "public int getWidth() {\r\n return width;\r\n }" ]
[ "0.7479891", "0.73579586", "0.73526126", "0.7226639", "0.7081163", "0.7021092", "0.7012447", "0.699114", "0.68872267", "0.68761814", "0.6863296", "0.67813754", "0.67037004", "0.6660385", "0.664437", "0.66174644", "0.6613343", "0.65978044", "0.6588357", "0.6585299", "0.65852225", "0.6583427", "0.657576", "0.6572285", "0.6572285", "0.6570939", "0.6570652", "0.65682", "0.65682", "0.6562694", "0.6562103", "0.6554981", "0.65523106", "0.65507644", "0.65507054", "0.65400577", "0.65209013", "0.65209013", "0.6518899", "0.6518899", "0.6518899", "0.6514207", "0.65065736", "0.65007097", "0.64953595", "0.6485853", "0.6485097", "0.64816546", "0.6476866", "0.64749634", "0.64749634", "0.6473899", "0.6472208", "0.64679563", "0.64679563", "0.64679563", "0.64679563", "0.64679563", "0.64679563", "0.64679563", "0.64679563", "0.64679563", "0.64679563", "0.64679563", "0.64679563", "0.64679563", "0.6457368", "0.6441339", "0.6434283", "0.64325875", "0.6431988", "0.6431988", "0.6431522", "0.64278305", "0.6425896", "0.6424807", "0.64226043", "0.64200187", "0.64200187", "0.64200187", "0.6418584", "0.6417643", "0.6415774", "0.6415758", "0.6403786", "0.6403786", "0.64026374", "0.63957405", "0.63957405", "0.63957405", "0.63957405", "0.63957405", "0.63957405", "0.63957405", "0.63957405", "0.63957405", "0.63957405", "0.63957405", "0.63957405", "0.63957405", "0.639375" ]
0.0
-1
Returns the height of the rect that fully encloses the shape in parent coords.
public double getFrameHeight() { return isRSS()? getFrame().height : getHeight(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getHeight() {\n int parent_desired_height = this.getParent().getChildHeight(this);\n return Math.min(Math.max(parent_desired_height, this.getMinHeight()), this.getMaxHeight());\n }", "@Override\n public int getHeight() {\n int height = 0;\n\n if (!isEmpty()) {\n height = root.getHeight();\n }\n\n return height;\n }", "public float getHeight()\n {\n return getUpperRightY() - getLowerLeftY();\n }", "public int height() {\r\n\t\tint height = 0;\r\n\t\tif (left != null)\r\n\t\t\theight = Math.max(height, left.height() + 1);\r\n\t\tif (right != null)\r\n\t\t\theight = Math.max(height, right.height() + 1);\r\n\r\n\t\treturn height;\r\n\t}", "public float getHeight()\n {\n return getBounds().height();\n }", "public final int getHeight() {\r\n return (int) size.y();\r\n }", "public int height() {\n return getHeight(root);\n }", "public int height() {\n if (root == null) {\n return -1;\n } else {\n return getHeight(root, 0);\n }\n }", "@Override\r\n\tpublic int height() {\r\n\t\tif (this.root == null) {\r\n\t\t\treturn 0;\r\n\t\t}\r\n\t\t// TODO Auto-generated method stub\r\n\t\treturn height_sub(this.root);\r\n\t}", "public int height() {\r\n\t\t\tif (this.leaf) \t\r\n\t\t\t\treturn 0;\r\n\t\t\telse {\r\n\t\t\t\treturn 1 + Math.max( this.lowChild.height(), this.highChild.height());\r\n\t\t\t}\r\n\t\t}", "public int getHeight() {\n\t\treturn getHeight(this);\n\t}", "int getBoundsHeight();", "public int height()\n {\n return _root.height();\n }", "int computeHeight() {\n Node<Integer>[] nodes = new Node[parent.length];\n for (int i = 0; i < parent.length; i++) {\n nodes[i] = new Node<Integer>();\n }\n int rootIndex = 0;\n for (int childIndex = 0; childIndex < parent.length; childIndex++) {\n if (parent[childIndex] == -1) {\n rootIndex = childIndex;\n } else {\n nodes[parent[childIndex]].addChild(nodes[childIndex]);\n }\n }\n return getDepth(nodes[rootIndex]);\n }", "public int getHeight(){\n\tif (root == null) {\n\t return 0;\n\t}\n\treturn root.height();\n }", "@Override\n\tpublic int height() {\n\t\tif (this.valCount == 0) { // if empty leaf\n\t\t\treturn 0;\n\t\t}\n\t\tint max = 1; \n\t\tfor (int i = 0; i < childCount; ++i) { // finds longest route among children\n\t\t\tmax = Math.max(max, children[i].height() + 1);\n\t\t}\n\t\treturn max;\n\t}", "public int height() {\n\t\t// TODO\n return height(root);\n\t}", "public int height() { return root == null ? 0 : root.height(); }", "public int height(){\n return height(root);\n }", "public int height() {\n return height(root);\n }", "public int height() {\n return height(root);\n }", "public int height() {\n return height(root);\n }", "@Override\n\tpublic int getHeight() {\n\t\treturn this.height;\n\t}", "public double getBaseHeight();", "public double getRectHeight() {\n return (hexHeight * 1.5) + 0.5;\n }", "public int height() {\n if (root == null) {\n return -1;\n }\n else return height(root);\n }", "public int height() { return height(root); }", "public int height() {\n if (left == null && right == null) return 0;\n int leftHeight = left == null ? 0 : left.height();\n int rightHeight = right == null ? 0 : right.height();\n return 1 + (leftHeight < rightHeight ? rightHeight : leftHeight);\n }", "public int getHeight() {\r\n\t\treturn getHeight(rootNode);\r\n\t}", "public int height() {\n return this.root.height();\n }", "public int getHeight() {\n return nodeHeight(overallRoot);\n }", "public int height()\n {\n return Math.max(left, right);\n }", "@Override\n public int getHeight() {\n return graphicsEnvironmentImpl.getHeight(canvas);\n }", "public int getHeight() {\r\n\t\treturn this.height;\r\n\t}", "public final int getHeight() {\r\n return height;\r\n }", "@Override\n public int height() {\n \treturn height(root);\n }", "public double getHeight() {\n\t\t\treturn height.get();\n\t\t}", "public int height() \n\t{\n\t\treturn height(root); //call recursive height method, starting at root\n\t}", "public int getHeight() {\n\t\treturn this.height;\n\t}", "public int getHeight() {\n return this.height;\n }", "public int getHeight() {\n return this.height;\n }", "public int getHeight() {\n return this.height;\n }", "public int getHeight()\r\n\t{\r\n\t\treturn height;\r\n\t}", "public int getHeight() {\r\n\t\treturn height;\r\n\t}", "public int getHeight() {\r\n\t\treturn height;\r\n\t}", "public int getHeight()\n {\n return this.height;\n }", "@Override\n\tpublic int height() {\n\t\tif(root == null) {\n\t\t\treturn -1;\n\t\t} else {\n\t\t\tNode tempRoot = root;\n\t\t\treturn heightHelper(tempRoot);\n\t\t}\n\t}", "public double getHeight() {\n\t\tdouble height = Math.round(sideLength + (2 * sideLength * \n\t\t\t\tMath.sin(Math.PI / 4)));\n\t\treturn height;\n\t}", "public int height() {\n return current.height();\n }", "public int getHeight();", "public int getHeight();", "public int getHeight();", "public int getHeight();", "public int getHeight();", "public int getHeight();", "public int getHeight() {\r\n\t\t\r\n\t\treturn height;\r\n\t}", "public int getHeight() {\n\t\treturn height;\n\t}", "public int getHeight() {\n\t\treturn height;\n\t}", "public int getHeight() {\n\t\treturn height;\n\t}", "public int getHeight() {\n\t\treturn height;\n\t}", "public int getHeight() {\n\t\treturn height;\n\t}", "public int getHeight() {\n\t\treturn height;\n\t}", "public int getHeight() {\n\t\treturn height;\n\t}", "public int getHeight() {\n\t\treturn height;\n\t}", "public int getHeight() {\n\t\treturn height;\n\t}", "public int getHeight() {\n\t\treturn height;\n\t}", "public int getHeight() {\n\t\treturn height;\n\t}", "public int getHeight() {\n return height;\n }", "public int getHeight() {\n return height;\n }", "public int getHeight() {\n return height;\n }", "public int getHeight() {\n return height;\n }", "public int getHeight() {\n return height;\n }", "public int getHeight() {\n return height;\n }", "public int getHeight() {\n return height;\n }", "public int getHeight() {\n return height;\n }", "public int getHeight() {\n return height;\n }", "public int getHeight() {\n return height;\n }", "public int getHeight() {\n return height;\n }", "public int getHeight() {\n return this.height;\n }", "@Override\n public int getHeight() {\n colorSpaceType.assertNumElements(buffer.getFlatSize(), height, width);\n return height;\n }", "public int getHeight() {\n return height;\n }", "@Override\n public int getHeight() {\n return this.height;\n }", "public double getHeight();", "public double getHeight();", "public int getHeight()\n\t{\n\t\treturn height;\n\t}", "public int getHeight()\n\t{\n\t\treturn height;\n\t}", "public int getHeight() \n\t{\n\t\treturn height;\n\t}", "public final int getHeight(){\n return height_;\n }", "public double getHeight() {\n return getElement().getHeight();\n }", "public int getHeight()\n {\n return height;\n }", "public int getHeight()\n\t{\n\t\treturn this._height;\n\t}", "public int getHeight()\r\n\t{\r\n\t\treturn HEIGHT;\r\n\t}", "public int getHeight() { return height; }", "public int height() {\n checkTransposed();\n return height;\n }", "public int getHeight() {\n return mHeight;\n }", "public int getHeight() {\n return mHeight;\n }", "public int getHeight() {\n\t\t\treturn height;\n\t\t}", "@Override\r\n\tpublic int getHeight() {\n\t\treturn -1;\r\n\t}", "public int getHeight() {\r\n return Height;\r\n }", "public float getHeight();", "public int getHeight()\r\n\t{\r\n\t\treturn mHeight;\r\n\t}" ]
[ "0.71604717", "0.71295017", "0.6936824", "0.69297814", "0.6911418", "0.6890041", "0.68767154", "0.68744344", "0.6859993", "0.6830645", "0.6830468", "0.67840564", "0.67731875", "0.6767544", "0.6763204", "0.67297244", "0.6709259", "0.6696051", "0.6692629", "0.6668735", "0.6668735", "0.6668735", "0.6658367", "0.6655403", "0.6655131", "0.6637757", "0.6635028", "0.66292053", "0.6626978", "0.66249", "0.66126674", "0.6586626", "0.65786564", "0.65726084", "0.65683967", "0.65656376", "0.6556582", "0.6556213", "0.65525216", "0.6551813", "0.6551813", "0.6551813", "0.6548134", "0.65410143", "0.65410143", "0.6535988", "0.65349674", "0.6529665", "0.65279937", "0.6526516", "0.6526516", "0.6526516", "0.6526516", "0.6526516", "0.6526516", "0.6525418", "0.6522737", "0.6522737", "0.6522737", "0.6522737", "0.6522737", "0.6522737", "0.6522737", "0.6522737", "0.6522737", "0.6522737", "0.6522737", "0.6520804", "0.6520804", "0.6520804", "0.6520804", "0.6520804", "0.6520804", "0.6520804", "0.6520804", "0.6520804", "0.6520804", "0.6520804", "0.6510281", "0.64931744", "0.6492059", "0.6480047", "0.64792293", "0.64792293", "0.6477428", "0.6477428", "0.64754283", "0.64745295", "0.6473157", "0.64713436", "0.64711195", "0.6470938", "0.64692265", "0.6467436", "0.646304", "0.646304", "0.64611965", "0.6459347", "0.64591277", "0.64555556", "0.6449996" ]
0.0
-1
Returns the origin of the shape's bounds rect in parent coords.
public RMPoint getFrameXY() { return isRSS()? getFrame().getOrigin() : getXY(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Point getOrigin() {\n checkWidget();\n if (content == null)\n return new Point(0, 0);\n Point location = content.getLocation();\n return new Point(-location.x, -location.y);\n }", "private Rectangle getParentBounds() {\n final var bounds = mParentBounds;\n\n return bounds == null\n ? mParentBounds = calculateBounds( getParent() )\n : bounds;\n }", "public Point getCorner() {\r\n\t\treturn basePoly.getBounds().getLocation();\r\n\t}", "@Override\n public Location getOrigin() {\n return getOwner().getLocation();\n }", "public Point2D getOrigin() {\n Point2D resultOrigin;\n resultOrigin = new Point2D(this.origin.getX(), this.origin.getY());\n return resultOrigin;\n\n }", "public Location getOrigin() {\n/* 1094 */ Location origin = (getHandle()).origin;\n/* 1095 */ return (origin == null) ? null : origin.clone();\n/* */ }", "public Rect getBound() {\n return new Rect((int) (x - radius), (int) (y - radius), (int) (x + radius), (int) (y + radius));\n }", "public RMRect getBoundsInside() { return new RMRect(0, 0, getWidth(), getHeight()); }", "public int getAbsoluteX() {\r\n return getAbsoluteLeft() - getParent().getAbsoluteLeft();\r\n }", "@Override\n public Point getOrigin() {\n return origin;\n }", "public Point getLocationInParentWindow() {\n return this.mLocationInParentWindow;\n }", "public Point getTopLeft() {\n return location.topLeft();\n }", "public RMRect getFrame() { return isRSS()? convertRectToShape(getBoundsInside(), _parent) : getBounds(); }", "public Bounds getBounds() {\n\t\treturn boss.getBoundsInParent();\n\t}", "public Point2D getOrigin() {\r\n return new Point2D.Double(originX, originY);\r\n }", "public Point getOrigin() {\n return origin;\n }", "public int getXOrigin() {\n return ic.getXOrigin();\n }", "public PBounds getBoundsReference() {\n\t\tPBounds bds = super.getBoundsReference();\n\t\tgetUnionOfChildrenBounds(bds);\n\n\t\tcachedChildBounds.setRect(bds);\n\t\tdouble scaledIndent = INDENT/renderCamera.getViewScale();\t\t\n\t\tbds.setRect(bds.getX()-scaledIndent,bds.getY()-scaledIndent,bds.getWidth()+2*scaledIndent,bds.getHeight()+2*scaledIndent);\n\t\t\n\t\treturn bds;\n\t}", "public sRectangle getSRectangleBound()\n {\n return form.getSRectangleBound();\n }", "protected Vector3D getRefCompCenterRelParent(AbstractShape shape) {\n Vector3D centerPoint;\n if (shape.hasBounds()) {\n centerPoint = shape.getBounds().getCenterPointLocal();\n centerPoint.transform(shape.getLocalMatrix()); //macht den punkt in self space\n } else {\n Vector3D localObjCenter = shape.getCenterPointGlobal();\n localObjCenter.transform(shape.getGlobalInverseMatrix()); //to localobj space\n localObjCenter.transform(shape.getLocalMatrix()); //to parent relative space\n centerPoint = localObjCenter;\n }\n return centerPoint;\n }", "public Point getAbsPosition() {\n return Game.getMap().TFMapCoordinateToMapCenter(position);\n }", "public Rectangle getBounds() {\n return new Rectangle((int) getX() - 20, (int) getY() - 20, 40, 40);\n }", "public double getX() {\n\t\tRectangle2D bounds = _parentFigure.getBounds();\n\t\tdouble x = bounds.getX() + (_xt * bounds.getWidth());\n\t\treturn x;\n\t}", "public final int getAbsoluteX() {\n assert (parent != null);\n if (parent == this) {\n return x;\n }\n if ((parent instanceof TWindow)\n && !(parent instanceof TMenu)\n && !(parent instanceof TDesktop)\n ) {\n // Widgets on a TWindow have (0,0) as their top-left, but this is\n // actually the TWindow's (1,1).\n return parent.getAbsoluteX() + x + 1;\n }\n return parent.getAbsoluteX() + x;\n }", "@NonNull\n public Rect getBounds() {\n return new Rect(mBounds);\n }", "private PointF getCenterOfCropRect() {\n return new PointF(\n cropRect.centerX(),\n cropRect.centerY());\n }", "public final ShapeParent getShapeParent()\n {\n return parent;\n }", "private Point findTopLeftCornerPoint() {\n return new Point(origin.getX(), origin.getY() + width);\n }", "public RMRect getBounds() { return new RMRect(getX(), getY(), getWidth(), getHeight()); }", "public Vector3f getOrigin() {\r\n\t\treturn new Vector3f(mOrigin);\r\n\t}", "public Rectangle getBounds() {\n return super.getBounds();\n }", "N getOrigin();", "protected Rectangle determineBounds() {\n return getNetTransform().createTransformedShape( _bounds ).getBounds();\n }", "@Override\r\n\tpublic Rectangle getBound() {\n\t\treturn new Rectangle((int)x, (int)y, (int)width, (int)height);\r\n\t}", "Rectangle getBounds() {\n return new Rectangle(getLocation(), getSize());\n }", "public Vector2 getAbsolutePosition() {\n Vector2 screenPos = new Vector2(this.position.x, this.position.y);\n for(UIElement element = this.parent; element != null; element = element.parent) {\n screenPos.add(element.position);\n }\n return screenPos;\n }", "public Bounds getLogicalBounds() {\n return getDragContext().getLogicalBounds();\n }", "public Rectangle getBounds() {\n\t\treturn new Rectangle((int) xPos, (int) yPos, (int) width, (int) height);\n\t}", "public Rectangle getBounds() {\n return new Rectangle(getMinX(), getMinY(), getWidth(), getHeight());\n }", "public Rectangle getBound(){\n \tint x = (int)location.getX();\n \tint y = (int)location.getY();\n \t\n \tif(isExploded == false)\n \t\treturn new Rectangle(x, y, image.getWidth(null), image.getHeight(null));\n \telse\n \t\treturn new Rectangle(x,y, 1,1);\n }", "Rectangle getBounds();", "public Node getOrigin()\r\n\t{\r\n\t\treturn origin;\r\n\t}", "public Ent getParent(){\n\t\treturn (Ent)bound.getParent();\n\t}", "public Rectangle getBounds() {\n\t\tif (bounds == null) {\n\t\t\tsuper.getBounds();\n\t\t\tfor (int i = 0; i < getChildren().size(); i++) {\n\t\t\t\tIFigure child = (IFigure) getChildren().get(i);\n\t\t\t\tbounds.union(child.getBounds());\n\t\t\t}\n\t\t}\n\t\treturn bounds;\n\t}", "public Integer getOrigin() {\n\t\treturn new Integer(origin);\n\t}", "private Point2D computeLayoutOrigin() {\r\n\r\n\t\tDimension size = getSize();\r\n\r\n\t\tPoint2D.Float origin = new Point2D.Float();\r\n\r\n\t\torigin.x = (float) (size.width - textLayout.getAdvance()) / 2;\r\n\t\torigin.y = (float) (size.height - textLayout.getDescent() + textLayout\r\n\t\t\t\t.getAscent()) / 2;\r\n\r\n\t\treturn origin;\r\n\t}", "public int getOrigin() {\r\n\t\treturn origin;\r\n\t}", "public Rectangle getBounds() {\n return new Rectangle(x, y, 32, 32);\n }", "public RMRect bounds() { return new RMRect(x(), y(), width(), height()); }", "@Override\n\tpublic Rectangle getBound() {\n\t\trectBound.setX(posX+20);\n\t\trectBound.setY(Y_LAND - image.getHeight() +10);\n\t\trectBound.setWidth(image.getWidth()-10);\n\t\trectBound.setHeight(image.getHeight());\n\t\treturn rectBound;\n\t}", "public Location getOrigin() {\n return mOrigin;\n }", "public Coords getLowerRight()\r\n {\r\n return new Coords(x + width, y + height);\r\n }", "godot.wire.Wire.Vector2 getOrigin();", "public Point getLocation() {\r\n\t\treturn this.center;\r\n\t}", "public RMPoint getXYP() { return convertPointToShape(new RMPoint(), _parent); }", "public String getOrigin(){\r\n\t\treturn this.getChild(\"origin\").getAttribute(\"ref\").getValue();\r\n\t}", "public Point getElevatorPosition() {\n return this.elevator.getOrigin();\n }", "public Vector getAbsPostion()\n {\n return getAbsPosition(Vector.Zero());\n }", "@Override\r\n default Vector3 getOrigin() {\r\n return Vector3.fromXYZ(getOrgX(), getOrgY(), getOrgZ());\r\n }", "public Rectangle2D getBounds() {\n\t\tif (_child == null) {\n\t\t\treturn new Rectangle2D.Double();\n\t\t} else {\n\t\t\treturn _child.getBounds();\n\t\t}\n\t}", "public java.lang.String getOrigin()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ORIGIN$16, 0);\n if (target == null)\n {\n return null;\n }\n return target.getStringValue();\n }\n }", "public Rectangle getBounds();", "public Rectangle getBounds();", "public VRL getParentLocation()\n {\n \tif (this.getVRL()==null)\n \t\treturn null; \n \t\n \treturn this._nodeVRL.getParent();\n }", "public Rectangle getBounds() {\n\t\treturn new Rectangle(getX(),getY(),width, width);\n\t}", "public Object getLocation() {\n return leftSide.getLocation();\n }", "public Rectangle getBounds() {\r\n return new Rectangle(x, y, 55, 51);\r\n }", "public Rectangle getClipBounds()\r\n\t{\r\n\t\treturn _g2.getClipBounds();\r\n\t}", "public Location getOrig() {\n return ticketsCalculator.getOrigin();\n }", "public Point getLocalPosition() {\n return getLocalLowerLeft();\n }", "public RMPath getPathInBounds() { return getPath().getPathInRect(getBoundsInside()); }", "public Coords getLowerLeft()\r\n {\r\n return new Coords(x, y + height);\r\n }", "public Rectangle getBounds() {\n\t\t\treturn new Rectangle(x_pos, y_pos, getIconWidth(), getIconHeight());\n\t\t}", "godot.wire.Wire.Vector3 getOrigin();", "public Rectangle getBounds()\n {\n return new Rectangle ((int)x,(int)y,32,32);\n }", "public Vector2 Origin() {\r\n return new Vector2(Animation().FrameWidth() / 2.0f, Animation().FrameHeight());\r\n }", "public RectF getBounds()\n {\n return bounds;\n }", "public Rectangle getBounds() {\n\treturn new Rectangle((int)x,(int)y,32,32);\n\t}", "public java.awt.Rectangle getBounds(){\r\n return new java.awt.Rectangle((int)Math.round(x), (int)Math.round(y), (int)Math.round(getWidth()), (int)Math.round(getHeight()));\r\n }", "public void getBoundsInParent(Rect outBounds) {\n/* 692 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "int getBoundsX();", "public Point getMinPoint() {\r\n int minX = children.get(0).getShapeStartingPoint().getX();\r\n int minY = children.get(0).getShapeStartingPoint().getY();\r\n for(IShape shape: children) {\r\n if(minX > shape.getShapeStartingPoint().getX()) {\r\n minX = shape.getShapeStartingPoint().getX();\r\n }\r\n if(minY > shape.getShapeStartingPoint().getY()) {\r\n minY = shape.getShapeStartingPoint().getY();\r\n }\r\n }\r\n minPoint = new Point(minX,minY);\r\n return minPoint;\r\n }", "public Location getCenter() {\n return new Location(location.getWorld(), (float) getRectangle().getCenterX(), (float) getRectangle().getCenterY());\n }", "public float getLowerLeftY()\n {\n return ((COSNumber)rectArray.get(1)).floatValue();\n }", "public Rectangle getBounds() {\n return null;\n }", "public Rectangle getBounds(){\r\n return new Rectangle(x, y, w, w);\r\n }", "public final Rectangle getBounds() {\n return label.getBounds();\n }", "public Rectangle getBounds() {\n return new Rectangle(x, y, DIAMETER, DIAMETER); // returns a rectangle with its dimensions\r\n }", "public int getYOrigin() {\n return ic.getYOrigin();\n }", "public S2LatLngRect getBound() {\n // To save time, we ignore numerical errors in the computed S2LatLngs while\n // accumulating the bounds and then account for them here.\n //\n // S2LatLng(S2Point) has a maximum error of 0.955 * S2.DBL_EPSILON in latitude.\n // In the worst case, we might have rounded \"inwards\" when computing the\n // bound and \"outwards\" when computing the latitude of a contained point P,\n // therefore we expand the latitude bounds by 2 * S2.DBL_EPSILON in each\n // direction. (A more complex analysis shows that 1.5 * S2.DBL_EPSILON is\n // enough, but the expansion amount should be a multiple of S2.DBL_EPSILON in\n // order to avoid rounding errors during the expansion itself.)\n //\n // S2LatLng(S2Point) has a maximum error of S2.DBL_EPSILON in longitude, which\n // is simply the maximum rounding error for results in the range [-Pi, Pi].\n // This is true because the Gnu implementation of atan2() comes from the IBM\n // Accurate Mathematical Library, which implements correct rounding for this\n // intrinsic (i.e., it returns the infinite precision result rounded to the\n // nearest representable value, with ties rounded to even values). This\n // implies that we don't need to expand the longitude bounds at all, since\n // we only guarantee that the bound contains the *rounded* latitudes of\n // contained points. The *true* latitudes of contained points may lie up to\n // S2.DBL_EPSILON outside of the returned bound.\n\n S2LatLng expansion = S2LatLng.fromRadians(2 * S2.DBL_EPSILON, 0);\n return builder.build().expanded(expansion).polarClosure();\n }", "public float getX()\n {\n return getBounds().left + positionAnchor.x;\n }", "public IRectangleBound getClipBound();", "public Rectangle get_bounds() {\n return new Rectangle(x,y, width-3, height-3);\n }", "public Rectangle getBounds() {\r\n\t\treturn new Rectangle((int) (x * scalingX), (int) (y * scalingY), (int) rocketWidth, (int) rocketHeight);\r\n\t}", "public Rectangle getBounds() {\r\n return bounds;\r\n }", "public double getX() {\n return origin.getX();\n }", "RectangleLatLng getBounds();", "public Rectangle getOffsetBounds()\r\n\t{\r\n\t\treturn new Rectangle(mFrameX, mFrameY, mImageBuffer.getWidth(null), mImageBuffer.getHeight(null));\r\n\t}", "private Bounds getDrawBounds() {\n\t\tfinal float boundsWidth = 2 * OFFSET_X;\n\t\tfinal float boundsHeight = 2 * OFFSET_Y;\n\t\t\n\t\t//Get the center point of the player, then subtract by offset\n\t\tfinal float x = (activePlayer.getX() + activePlayer.getWidth() / 2f) \n\t\t\t\t/ activePlayer.getScaleX() - OFFSET_X;\n\n\t\tfinal float y = (activePlayer.getY() + activePlayer.getHeight() / 2f) \n\t\t\t\t/ activePlayer.getScaleY() - OFFSET_Y + 1;\n\t\t\n\t\treturn new Bounds(x, y, boundsWidth, boundsHeight);\n\t}", "public final ShapeView getParentView()\n {\n ShapeParent ancestor = getShapeParent();\n \n while (ancestor != null)\n {\n if (ancestor instanceof ShapeView)\n {\n return (ShapeView) ancestor;\n }\n \n ancestor = ancestor.getShapeParent();\n }\n \n return null;\n }", "protected abstract void calcOrigin();" ]
[ "0.7172936", "0.71167284", "0.6837077", "0.6697331", "0.66532195", "0.6550648", "0.6529614", "0.6475103", "0.64532864", "0.6442445", "0.6442199", "0.6438911", "0.64308304", "0.6405358", "0.64052385", "0.63667804", "0.6259529", "0.6251762", "0.6235236", "0.6221833", "0.62148476", "0.6192752", "0.6159713", "0.61559427", "0.61515784", "0.61416715", "0.61305285", "0.6116325", "0.6107368", "0.6104157", "0.6083366", "0.60687816", "0.6052859", "0.60501117", "0.6046629", "0.6046284", "0.60443676", "0.6037365", "0.60229594", "0.6021853", "0.60187274", "0.60023886", "0.599306", "0.5991031", "0.59883034", "0.5987358", "0.5959129", "0.59502953", "0.59437084", "0.5938801", "0.59298295", "0.59194607", "0.59139776", "0.5911526", "0.59073347", "0.58927524", "0.58764285", "0.5876128", "0.5867118", "0.58629173", "0.58559614", "0.5850522", "0.5850522", "0.5839837", "0.5829745", "0.5826942", "0.5824672", "0.5816164", "0.58153635", "0.5815131", "0.5814914", "0.58094335", "0.5805881", "0.58040494", "0.5800672", "0.5791402", "0.57905", "0.57864684", "0.5781851", "0.57788813", "0.57745856", "0.57733506", "0.5765409", "0.57631356", "0.57552326", "0.5748663", "0.57458425", "0.57442397", "0.573352", "0.5731537", "0.573129", "0.57251954", "0.57245773", "0.57237095", "0.5715348", "0.5714319", "0.57070994", "0.5704821", "0.5695855", "0.56903553", "0.56865793" ]
0.0
-1
Sets a shape's origin such that its bounds rect (in parent coords) has origin at the given point.
public void setFrameXY(RMPoint aPoint) { setFrameXY(aPoint.x, aPoint.y); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setOrigin(Point p) {\n origin = new Point(p);\n }", "public void setOrigin(Point origin) {\n setOrigin(origin.x, origin.y);\n }", "public void setOrigin(Point2D origin) {\r\n if (origin == null) {\r\n return;\r\n }\r\n\r\n Point2D old = getOrigin();\r\n originX = origin.getX();\r\n originY = origin.getY();\r\n firePropertyChange(\"origin\", old, getOrigin());\r\n repaint();\r\n }", "default void setOrigin(Vector3 point) {\r\n setOrigin(point.getX(), point.getY(), point.getZ());\r\n }", "@Override\n public void setLoc(Point p) {\n this.rect.setLocation(p);\n }", "private void setOrigin() {\n Hep3Vector origin = VecOp.mult(CoordinateTransformations.getMatrix(), _sensor.getGeometry().getPosition());\n // transform to p-side\n Polygon3D psidePlane = this.getPsidePlane();\n Translation3D transformToPside = new Translation3D(VecOp.mult(-1 * psidePlane.getDistance(),\n psidePlane.getNormal()));\n this._org = transformToPside.translated(origin);\n }", "public void setPathOrigin(int x, int y);", "public void setOrigin(String origin){\r\n\t\tPointingElement originChild = new PointingElement(\"origin\",\"\");\r\n\t\toriginChild.addAttribute(new PointingElement(\"ref\",origin));\r\n\t\tthis.addChild(originChild);\r\n\t}", "public void setOrigin(int x, int y) {\r\n\t\torigin.setLocation(x, y);\r\n\t}", "public void setOrigin(Vector3f origin) {\r\n\t\tmOrigin.set(origin);\r\n\t}", "public RMPoint convertPointToShape(RMPoint point, RMShape shape)\n{\n if(shape==_parent && !isRSS()) { point.offset(getX(), getY()); return point; }\n return getTransformToShape(shape).transform(point);\n}", "public void setOrigin(float originX, float originY) {\n internalGroup.setOrigin(originX, originY);\n dataTrait.originX = originX;\n dataTrait.originY = originY;\n resetSprite();\n }", "public void setLocation(Vec2f loc) {\n\t\tsuper.setLocation(loc);\n\t\tif (_shape != null) _shape.setLocation(loc);\n\t}", "public RMPoint convertPointFromShape(RMPoint point, RMShape shape)\n{\n if(shape==_parent && !isRSS()) { point.offset(-getX(), -getY()); return point; }\n return getTransformFromShape(shape).transform(point);\n}", "abstract void setOrigin(double x, double y, double z);", "public void setPosition(Point pos) {\n this.topLeft = pos.asVector();\n }", "@Override\n\tpublic LSystemBuilder setOrigin(double x, double y) {\n\t\tthis.origin = new Vector2D(x, y);\n\t\treturn this;\n\t}", "public void setParent(RMParentShape aShape) { _parent = aShape; }", "@Override\n public Point getOrigin() {\n return origin;\n }", "public void setGraphicalWidgetOrigin(double x,\n double y,\n GraphicalWidget<?> gw)\n {\n frameUI.setGraphicalWidgetOrigin(x, y, gw);\n }", "protected void setShape(Shape shape) {\n\t\tif (shape != null) {\n\t\t\t_shape = shape;\n\t\t\tthis.setLocation(shape.getLocation());\n\t\t\tthis.setDimensions(shape.getDimensions());\n\t\t}\n\t}", "public void setOrigin(Vec4df origin) {\n this.origin = origin;\n }", "public void setPosition(Point position){\r\n this.position.set(position.x, position.y);\r\n\r\n this.shadow.setPosition(position);\r\n this.surface.setPosition(position);\r\n this.shading.setPosition(position);\r\n\r\n\r\n this.setBounds(new Rect(\r\n this.position.x - this.radius,\r\n this.position.y - this.radius,\r\n this.position.x + this.radius,\r\n this.position.y + this.radius\r\n ));\r\n \r\n }", "public Builder setOrigin(godot.wire.Wire.Vector3 value) {\n if (originBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n origin_ = value;\n onChanged();\n } else {\n originBuilder_.setMessage(value);\n }\n\n return this;\n }", "final void setParent(ShapeParent newParent)\n {\n this.parent = newParent;\n }", "public Point getOrigin() {\n return origin;\n }", "public void setOrigin(int x, int y) {\n ic.setOrigin(x, y);\n notifyViewportListeners(x, y, panelWidth, panelHeight);\n }", "void setPosition(Point point);", "public void setSpawnPoint() {\n if (this.dirVec.y == 0) {\n super.centerRectAt(new Point(-1*OUTER_OFFSET, super.getCenter().y));\n }\n else {\n super.centerRectAt(new Point(super.getCenter().x, OUTER_OFFSET));\n }\n }", "private void setOriginNode() {\n double sumX = 0;\n double sumY = 0;\n Iterator<Point> it = _elements.iterator();\n while (it.hasNext()) {\n Point p = it.next();\n sumX += x(p);\n sumY += y(p);\n }\n _nodeOrigin[0] = sumX / _elements.size();\n _nodeOrigin[1] = sumY / _elements.size();\n }", "public void setPosition(Point point) {\n setPosition(point.x, point.y);\n }", "public void setPosition(Point position);", "public Builder setOrigin(\n godot.wire.Wire.Vector3.Builder builderForValue) {\n if (originBuilder_ == null) {\n origin_ = builderForValue.build();\n onChanged();\n } else {\n originBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "protected void setOrigin(Ray ray) {\n\t\tDirection origin = ray.getDirection().getOpposite();\n\t\tsetBeam(origin, ray);\n\t}", "protected abstract void calcOrigin();", "public void setPoint(Point operand, Point target) {\n\tfor (Shape s : this.shapes)\n\t s.setPoint(operand, target);\n }", "@SuppressWarnings(\"unchecked\")\n public AnimatorType position(PointF point)\n {\n addTransformer(new PositionTransformer(getShape(), point));\n return (AnimatorType) this;\n }", "@Override\r\n\tvoid setProperty(BoundedShape anObject, Point aNewValue) {\n\t\tRectangle newBounds = new Rectangle (aNewValue.x, aNewValue.y, anObject.getWidth(), anObject.getHeight());\r\n\t\tanObject.setBounds(newBounds);\r\n\t}", "public void setPosition(GeoPoint position){\n\t\tmPosition = position.clone();\n\t\tif (isInfoWindowShown()) {\n\t\t\tcloseInfoWindow();\n\t\t\tshowInfoWindow();\n\t\t}\n\t\tmBounds=new BoundingBox(position.getLatitude(),position.getLongitude(),position.getLatitude(),position.getLongitude());\n\t}", "public abstract void setPoint(Point p);", "static void setViewPointRelevantTo(Point point) {\n point.translate(-1 * viewPoint.x, -1 * viewPoint.y);\n point.x /= Map.zoom;\n point.y /= Map.zoom;\n point.translate(viewPoint.x, viewPoint.y);\n viewPoint.setLocation(point.x - GAME_WIDTH / 2, point.y - GAME_HEIGHT / 2);\n verifyViewPoint();\n }", "public void moveToOrigin() {\n for(Waypoint waypoint : path)\n waypoint.setCoordinates(waypoint.getX() - path.get(0).getX(),\n waypoint.getY() - path.get(0).getY());\n }", "public void setParent(CarrierShape parent)\n\t{\n\t\tthis.parent = parent;\n\t}", "public Vector3fc origin(Vector3f origin) {\n origin.x = cx;\n origin.y = cy;\n origin.z = cz;\n return origin;\n }", "public void setOrigin(){\n // draw X-axis\n graphics2D.draw(new Line2D.Double(leftMiddle, rightMiddle));\n\n // draw string \"+X\" and \"-X\"\n graphics2D.drawString(\"+X\", (int) rightMiddle.getX() - 10, (int) rightMiddle.getY() - 5);\n graphics2D.drawString(\"-X\", (int) leftMiddle.getX() + 10, (int) leftMiddle.getY() + 10);\n\n // draw Y-axis\n graphics2D.draw(new Line2D.Double(topMiddle, bottomMiddle));\n\n // draw string \"+Y\" and \"-Y\"\n graphics2D.drawString(\"+Y\", (int) topMiddle.getX() + 5, (int) topMiddle.getY() + 10);\n graphics2D.drawString(\"-Y\", (int) bottomMiddle.getX() - 15, (int) bottomMiddle.getY());\n\n }", "public void updateCoords() {\n line.setLine(parent.getFullBounds().getCenter2D(), child.getFullBounds().getCenter2D());\n Rectangle2D r = line.getBounds2D();\n // adding 1 to the width and height prevents the bounds from\n // being marked as empty and is much faster than createStrokedShape()\n setBounds(r.getX(), r.getY(), r.getWidth() + 1, r.getHeight() + 1);\n invalidatePaint();\n }", "public void setOwner(RMParentShape anObj) { _owner = anObj; }", "public Builder setOrigin(\n godot.wire.Wire.Vector2.Builder builderForValue) {\n if (originBuilder_ == null) {\n origin_ = builderForValue.build();\n onChanged();\n } else {\n originBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "public void setMinimumSize( Point size ) {\n checkWidget();\n if ( size == null )\n error( SWT.ERROR_NULL_ARGUMENT );\n setMinimumSize( size.x, size.y );\n }", "public Builder setOrigin(godot.wire.Wire.Vector2 value) {\n if (originBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n origin_ = value;\n onChanged();\n } else {\n originBuilder_.setMessage(value);\n }\n\n return this;\n }", "public void setPosition(Point newPosition);", "public void setCenter(Point newPoint) {\n this.center = newPoint;\n }", "public void setLocation(Point p)\n\t{\n\t\tsetLocation(p.x,p.y);\n\t}", "public void setOrigin(int[] origin) throws Exception {\n\t\tif (origin[1]>width-1||origin[0]>height-1||origin[1]<1||origin[0]<1) {\n\t\t\tthrow new Exception(\"position wrong\");\n\t\t}\n\t\tthis.origin[0]=origin[0];\n\t\tthis.origin[1]=origin[1];\n\t}", "public void xsetOrigin(org.apache.xmlbeans.XmlString origin)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlString target = null;\n target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(ORIGIN$16, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(ORIGIN$16);\n }\n target.set(origin);\n }\n }", "public final void setFromPoint(Vector fromPoint) {\n\t\ttransform.setFromPoint(fromPoint);\n\t}", "public void setOrigin(int x, int y) {\n checkWidget();\n if (content == null)\n return;\n \n horizontalBar.setPosition(-x);\n verticalBar.setPosition(-y);\n //\t\t\n //\t\tScrollBar hBar = getHorizontalBar();\n //\t\tif (hBar != null) {\n //\t\t\thBar.setSelection(x);\n //\t\t\tx = -hBar.getSelection();\n //\t\t} else {\n //\t\t\tx = 0;\n //\t\t}\n //\t\tScrollBar vBar = getVerticalBar();\n //\t\tif (vBar != null) {\n //\t\t\tvBar.setSelection(y);\n //\t\t\ty = -vBar.getSelection();\n //\t\t} else {\n //\t\t\ty = 0;\n //\t\t}\n content.setLocation(x, y);\n }", "public Point getOrigin() {\n checkWidget();\n if (content == null)\n return new Point(0, 0);\n Point location = content.getLocation();\n return new Point(-location.x, -location.y);\n }", "public void setPosition(Point p) {\r\n\t\tthis.position = p;\r\n\t\tc.setPosition(p);\r\n\t}", "public void moveTo(Point point){\n updateUndoBuffers(new LinkedList<>());\n xPos = point.getMyX()+myGrid.getWidth()/ HALF;\n yPos = myGrid.getHeight()/ HALF-point.getMyY();\n }", "public T setPoint(@NonNull PointF point) {\n return setPoint(point.x, point.y);\n }", "public void center() {\n\t\tif(parent != null) {\n\t\t\tfloat parMidWidth = parent.getWidth() / 2f;\n\t\t\tfloat parMidHeight = parent.getHeight() / 2f;\n\t\t\tfloat midWidth = width / 2f;\n\t\t\tfloat midHeight = height / 2f;\n\t\t\t\n\t\t\tfloat newX = parent.getX() + (parMidWidth - midWidth);\n\t\t\tfloat newY = parent.getY() + (parMidHeight - midHeight);\n\t\t\t\n\t\t\tposition = new Vec2f(newX, newY);\n\t\t\tfindPosRatios();\n\t\t}\n\t}", "public void setOrigin(int source) {\r\n\t\tthis.origin = source;\r\n\t}", "public void setLocation( Point p ) {\r\n this.x = p.x;\r\n this.y = p.y;\r\n }", "@Override\n public void setCoord(PuertoPosition pp, Point2D newCoord) {\n layout.setLocation(pp, newCoord);\n }", "private void setShape(ChamberShape theShape) {\n mySize = theShape;\n createDoorsFromExits();\n }", "protected Vector3D getRefCompCenterRelParent(AbstractShape shape) {\n Vector3D centerPoint;\n if (shape.hasBounds()) {\n centerPoint = shape.getBounds().getCenterPointLocal();\n centerPoint.transform(shape.getLocalMatrix()); //macht den punkt in self space\n } else {\n Vector3D localObjCenter = shape.getCenterPointGlobal();\n localObjCenter.transform(shape.getGlobalInverseMatrix()); //to localobj space\n localObjCenter.transform(shape.getLocalMatrix()); //to parent relative space\n centerPoint = localObjCenter;\n }\n return centerPoint;\n }", "public void\nshiftToOrigin()\n{\n\tthis.setLine(0.0, 0.0,\n\t\tthis.getP2().getX() - this.getP1().getX(),\n\t\tthis.getP2().getY() - this.getP1().getY());\n}", "public void setMinimumPoint(BlockVector pt) {\r\n setMinMaxPoints(pt, this.getMaximumPoint());\r\n }", "public com.example.DNSLog.Builder setOriginp(java.lang.CharSequence value) {\n validate(fields()[2], value);\n this.originp = value;\n fieldSetFlags()[2] = true;\n return this;\n }", "public Position origin(Position ep) throws InvalidPositionException;", "public void setOrigin(String origin) {\n this.origin = origin;\n }", "public void setOrigin(String origin) {\n this.origin = origin;\n }", "@Override\n public void setSetpoint(double setpoint) {\n if (getController() != null) {\n getController().setSetpoint(Utilities.clip(setpoint, Constants.Hood.MIN_ANGLE, Constants.Hood.MAX_ANGLE));\n }\n super.setSetpoint(Utilities.clip(setpoint, Constants.Hood.MIN_ANGLE, Constants.Hood.MAX_ANGLE));\n }", "public void setShape(ChamberShape theShape) {\n mySize = theShape;\n setExits();\n }", "public void setOrigin (InetSocketAddress o) {\n\t\torigin = o;\n\t}", "protected void setupRotationOrigin()\n\t{\n\t\tthis.currentRotationAxis = new Point2D.Double(getOriginX(), getOriginY());\n\t\tupdateDefaultMomentMass();\n\t\tthis.currentMomentMass = this.defaultMomentMass;\n\t\t\n\t\t//changeRotationAxisTo(new Point2D.Double(0, 0));\n\t}", "public void setShape(Shape shape) {\n validateShape(shape);\n\n this.shape = shape;\n this.shape.calculate();\n initializeScroller();\n resetScroll();\n }", "public Point(Point point) {\n super(point.getReferenceX(), point.getReferenceY());\n this.x = point.x;\n this.y = point.y;\n this.setHeight(point.getHeight());\n }", "private void setShape(){\n // 0 - index of the vertex at the top of the polygon\n shapex[0] = x + MathUtils.cos(radians) * 8;\n shapey[0] = y + MathUtils.sin(radians) * 8;\n\n // 1 - index of the vertex at the bottom left of the polygon\n shapex[1] = x + MathUtils.cos(radians - 4 * 3.1415f / 5) * 8;\n shapey[1] = y + MathUtils.sin(radians - 4 * 3.1415f / 5) * 8;\n\n // 2 - index of the vertex at the bottom right of the polygon\n shapex[2] = x + MathUtils.cos(radians + 4 * 3.1415f / 5) * 8;\n shapey[2] = y + MathUtils.sin(radians + 4 * 3.1415f / 5) * 8;\n }", "public void setOrigin(java.lang.String origin)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ORIGIN$16, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ORIGIN$16);\n }\n target.setStringValue(origin);\n }\n }", "public void SetPosition(Vector2 position)\n\t{\n\t\tTransform transform = parent.transform;\n\t\ttransform.position = position;\n\t\t// Dont loose your dP!\n\t\tpreviousPosition = Vector2.Add(position,velocity.negate());\n\t}", "public void setOriginp(java.lang.CharSequence value) {\n this.originp = value;\n }", "public void setRobotLocation(Point p);", "public void setPosition(final Point p) {\n this.position = p;\n }", "public void set(Point p)\r\n\t{\r\n\t\tx = p.x;\r\n\t\ty = p.y;\r\n\t}", "public void setViewAndOrigin(Rectangle2D bounds) {\r\n setView(bounds);\r\n setOrigin(new Point2D.Double(bounds.getCenterX(), bounds.getCenterY()));\r\n }", "@Override\n public void setRectangle() {\n switch (direction){\n case 0:\n rectangle.setLocation((int)x+5,(int)y+8);\n break;\n case 2:\n rectangle.setLocation((int)x+5,(int)y+8);\n break;\n case 1:\n rectangle.setLocation((int)x+13,(int)y+8);\n break;\n case 3:\n rectangle.setLocation((int)x+2,(int)y+8);\n break;\n }\n\n }", "public void setPlaceOfOrigin (java.lang.String placeOfOrigin) {\n\t\tthis.placeOfOrigin = placeOfOrigin;\n\t}", "@Override\r\n\t\t\tpublic void mouseDragged(MouseEvent e) {\n\t\t\t\tPoint point=getLocation();\r\n\t\t\t\tsetLocation(point.x + (e.getX() - origin.x), point.y + (e.getY() - origin.y));\r\n\t\t\t}", "public void setMin ( Point min ) {\r\n\r\n\tsetA ( min );\r\n }", "@Override\n public Location getOrigin() {\n return getOwner().getLocation();\n }", "public void setShape(Shape shape) {\n\tthis.shape = shape;\n\n\tPathIterator p = shape.getPathIterator(new AffineTransform());\n\t\t\n\tFlatteningPathIterator fp = new FlatteningPathIterator(p, flatness);\n\t\t\n\tpath.clear();\n\twhile(!fp.isDone()) {\n\t double[] farr = new double[6];\n\t int type = fp.currentSegment(farr);\n\t\t \n\t if (type == PathIterator.SEG_MOVETO || type == PathIterator.SEG_LINETO) {\n\t\tpath.add(new Point2D.Double(farr[0],farr[1]));\n\t }\n\t if (type == PathIterator.SEG_QUADTO) {\n\t\tfor(int i=0; i<2; i++) {\n\t\t path.add(new Point2D.Double(farr[0],farr[1]));\n\t\t}\n\t }\n\t if (type == PathIterator.SEG_CUBICTO) {\n\t\tfor(int i=0; i<3; i++) {\n\t\t path.add(new Point2D.Double(farr[2*i],farr[2*i+1]));\n\t\t}\n\t }\n\t fp.next();\n\t}\n }", "public void setOrbitOrigin(Tuple3d tuple) {\n\t\tif(originSetListener != null) originSetListener.onSetOrbitOrigin(tuple);\n\t}", "public void setOriginalPoint(Point originalPoint) {\r\n\t\tthis.originalPoint = originalPoint;\r\n\t}", "public void setMinSize(Point size) {\n if (size == null) {\n setMinSize(0, 0);\n } else {\n setMinSize(size.x, size.y);\n }\n }", "public void relocateToPoint (Point2D p) {\n\n\t\t//relocates the object to a point that has been converted to\n\t\t//scene coordinates\n\t\tPoint2D localCoords = getParent().sceneToLocal(p);\n\n\t\tdouble x = localCoords.getX() - (getBoundsInLocal().getWidth() / 2);\n\t\tdouble y = localCoords.getY() - (getBoundsInLocal().getHeight() / 2);\n\n\t\trelocate ( (int) (x), (int) (y) );\n\t}", "public void setStart( GeoPoint start ){\n this.setOrigin(start);\n }", "public Location getOrigin() {\n return mOrigin;\n }", "@SuppressWarnings(\"unused\")\n public static RectF resetRectToOrigin(RectF rect) {\n // Create a new rect\n RectF newRect = new RectF(rect);\n // Reset to origin and return it\n newRect.offset(-newRect.left, -newRect.top);\n return newRect;\n }" ]
[ "0.7155524", "0.69788826", "0.6560012", "0.6539166", "0.6424928", "0.6404388", "0.6375771", "0.6119656", "0.6098263", "0.6092182", "0.5962092", "0.5838514", "0.5824217", "0.5766583", "0.5756289", "0.5733922", "0.5726924", "0.56516606", "0.56501025", "0.56472963", "0.5613772", "0.55549914", "0.55539507", "0.5553241", "0.5541948", "0.5524366", "0.55120295", "0.5507437", "0.5506481", "0.54756147", "0.5467048", "0.5426735", "0.53854984", "0.5383828", "0.5380597", "0.5377979", "0.53703934", "0.5335277", "0.5330204", "0.5310395", "0.52988064", "0.52745414", "0.52742356", "0.5267118", "0.5239631", "0.52372134", "0.5235629", "0.5226817", "0.5204473", "0.51690173", "0.5166731", "0.5166695", "0.516311", "0.51627934", "0.51624846", "0.5155475", "0.5149177", "0.5144829", "0.51410514", "0.51404196", "0.5135763", "0.5130079", "0.5126022", "0.51142627", "0.50955236", "0.509064", "0.50845253", "0.50836015", "0.50734466", "0.5071843", "0.50633365", "0.50615066", "0.50615066", "0.5058117", "0.50562733", "0.5045721", "0.50420433", "0.5020719", "0.5009", "0.5005638", "0.5003138", "0.49888435", "0.49789828", "0.49645135", "0.49453315", "0.49262336", "0.49227402", "0.49195638", "0.49171197", "0.49167484", "0.4916498", "0.49164742", "0.49122542", "0.4906039", "0.49025255", "0.48874035", "0.48860756", "0.48835132", "0.48821673", "0.48716593" ]
0.494632
84
Sets a shape's origin such that its frame (enclosing rect in parent coords) will have the given X and Y.
public void setFrameXY(double anX, double aY) { setFrameX(anX); setFrameY(aY); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setPathOrigin(int x, int y);", "public void setOrigin(Point origin) {\n setOrigin(origin.x, origin.y);\n }", "public void setOrigin(int x, int y) {\r\n\t\torigin.setLocation(x, y);\r\n\t}", "public void setOrigin(Point p) {\n origin = new Point(p);\n }", "private void setOrigin() {\n Hep3Vector origin = VecOp.mult(CoordinateTransformations.getMatrix(), _sensor.getGeometry().getPosition());\n // transform to p-side\n Polygon3D psidePlane = this.getPsidePlane();\n Translation3D transformToPside = new Translation3D(VecOp.mult(-1 * psidePlane.getDistance(),\n psidePlane.getNormal()));\n this._org = transformToPside.translated(origin);\n }", "public void setOrigin(Point2D origin) {\r\n if (origin == null) {\r\n return;\r\n }\r\n\r\n Point2D old = getOrigin();\r\n originX = origin.getX();\r\n originY = origin.getY();\r\n firePropertyChange(\"origin\", old, getOrigin());\r\n repaint();\r\n }", "public void setOrigin(float originX, float originY) {\n internalGroup.setOrigin(originX, originY);\n dataTrait.originX = originX;\n dataTrait.originY = originY;\n resetSprite();\n }", "public void setOrigin(){\n // draw X-axis\n graphics2D.draw(new Line2D.Double(leftMiddle, rightMiddle));\n\n // draw string \"+X\" and \"-X\"\n graphics2D.drawString(\"+X\", (int) rightMiddle.getX() - 10, (int) rightMiddle.getY() - 5);\n graphics2D.drawString(\"-X\", (int) leftMiddle.getX() + 10, (int) leftMiddle.getY() + 10);\n\n // draw Y-axis\n graphics2D.draw(new Line2D.Double(topMiddle, bottomMiddle));\n\n // draw string \"+Y\" and \"-Y\"\n graphics2D.drawString(\"+Y\", (int) topMiddle.getX() + 5, (int) topMiddle.getY() + 10);\n graphics2D.drawString(\"-Y\", (int) bottomMiddle.getX() - 15, (int) bottomMiddle.getY());\n\n }", "@Override\n\tpublic LSystemBuilder setOrigin(double x, double y) {\n\t\tthis.origin = new Vector2D(x, y);\n\t\treturn this;\n\t}", "public void setGraphicalWidgetOrigin(double x,\n double y,\n GraphicalWidget<?> gw)\n {\n frameUI.setGraphicalWidgetOrigin(x, y, gw);\n }", "public void setOrigin(int x, int y) {\n ic.setOrigin(x, y);\n notifyViewportListeners(x, y, panelWidth, panelHeight);\n }", "public void setOrigin(Vector3f origin) {\r\n\t\tmOrigin.set(origin);\r\n\t}", "abstract void setOrigin(double x, double y, double z);", "public void setOrigin(String origin){\r\n\t\tPointingElement originChild = new PointingElement(\"origin\",\"\");\r\n\t\toriginChild.addAttribute(new PointingElement(\"ref\",origin));\r\n\t\tthis.addChild(originChild);\r\n\t}", "@Override\n public Point getOrigin() {\n return origin;\n }", "@Override\n public void setLoc(Point p) {\n this.rect.setLocation(p);\n }", "public void setParent(RMParentShape aShape) { _parent = aShape; }", "default void setOrigin(Vector3 point) {\r\n setOrigin(point.getX(), point.getY(), point.getZ());\r\n }", "public void setPosition(int x, int y)\n\t{\n\t\tint w = getSize().width;\n\t\tint h = getSize().height;\n\n\t\tpos.x = x;\n\n\t\tpos.y = y;\n\n\t\trect.setLocation(x - w / 2, y - h / 2);\n\t}", "public void setOrigin(int x, int y) {\n checkWidget();\n if (content == null)\n return;\n \n horizontalBar.setPosition(-x);\n verticalBar.setPosition(-y);\n //\t\t\n //\t\tScrollBar hBar = getHorizontalBar();\n //\t\tif (hBar != null) {\n //\t\t\thBar.setSelection(x);\n //\t\t\tx = -hBar.getSelection();\n //\t\t} else {\n //\t\t\tx = 0;\n //\t\t}\n //\t\tScrollBar vBar = getVerticalBar();\n //\t\tif (vBar != null) {\n //\t\t\tvBar.setSelection(y);\n //\t\t\ty = -vBar.getSelection();\n //\t\t} else {\n //\t\t\ty = 0;\n //\t\t}\n content.setLocation(x, y);\n }", "public Point getOrigin() {\n return origin;\n }", "public void setPosition(Point pos) {\n this.topLeft = pos.asVector();\n }", "protected void setShape(Shape shape) {\n\t\tif (shape != null) {\n\t\t\t_shape = shape;\n\t\t\tthis.setLocation(shape.getLocation());\n\t\t\tthis.setDimensions(shape.getDimensions());\n\t\t}\n\t}", "public void setOrigin(int[] origin) throws Exception {\n\t\tif (origin[1]>width-1||origin[0]>height-1||origin[1]<1||origin[0]<1) {\n\t\t\tthrow new Exception(\"position wrong\");\n\t\t}\n\t\tthis.origin[0]=origin[0];\n\t\tthis.origin[1]=origin[1];\n\t}", "public void setOrigin(Vec4df origin) {\n this.origin = origin;\n }", "private void setOriginNode() {\n double sumX = 0;\n double sumY = 0;\n Iterator<Point> it = _elements.iterator();\n while (it.hasNext()) {\n Point p = it.next();\n sumX += x(p);\n sumY += y(p);\n }\n _nodeOrigin[0] = sumX / _elements.size();\n _nodeOrigin[1] = sumY / _elements.size();\n }", "protected abstract void calcOrigin();", "public Vector3fc origin(Vector3f origin) {\n origin.x = cx;\n origin.y = cy;\n origin.z = cz;\n return origin;\n }", "protected void setOrigin(Ray ray) {\n\t\tDirection origin = ray.getDirection().getOpposite();\n\t\tsetBeam(origin, ray);\n\t}", "public Point getOrigin() {\n checkWidget();\n if (content == null)\n return new Point(0, 0);\n Point location = content.getLocation();\n return new Point(-location.x, -location.y);\n }", "protected void setupRotationOrigin()\n\t{\n\t\tthis.currentRotationAxis = new Point2D.Double(getOriginX(), getOriginY());\n\t\tupdateDefaultMomentMass();\n\t\tthis.currentMomentMass = this.defaultMomentMass;\n\t\t\n\t\t//changeRotationAxisTo(new Point2D.Double(0, 0));\n\t}", "public void setLocation(Vec2f loc) {\n\t\tsuper.setLocation(loc);\n\t\tif (_shape != null) _shape.setLocation(loc);\n\t}", "final void setParent(ShapeParent newParent)\n {\n this.parent = newParent;\n }", "public void\nshiftToOrigin()\n{\n\tthis.setLine(0.0, 0.0,\n\t\tthis.getP2().getX() - this.getP1().getX(),\n\t\tthis.getP2().getY() - this.getP1().getY());\n}", "public void setOrigin(int source) {\r\n\t\tthis.origin = source;\r\n\t}", "public void moveToOrigin() {\n for(Waypoint waypoint : path)\n waypoint.setCoordinates(waypoint.getX() - path.get(0).getX(),\n waypoint.getY() - path.get(0).getY());\n }", "@Override\n public void setRectangle() {\n switch (direction){\n case 0:\n rectangle.setLocation((int)x+5,(int)y+8);\n break;\n case 2:\n rectangle.setLocation((int)x+5,(int)y+8);\n break;\n case 1:\n rectangle.setLocation((int)x+13,(int)y+8);\n break;\n case 3:\n rectangle.setLocation((int)x+2,(int)y+8);\n break;\n }\n\n }", "private void setShape(){\n // 0 - index of the vertex at the top of the polygon\n shapex[0] = x + MathUtils.cos(radians) * 8;\n shapey[0] = y + MathUtils.sin(radians) * 8;\n\n // 1 - index of the vertex at the bottom left of the polygon\n shapex[1] = x + MathUtils.cos(radians - 4 * 3.1415f / 5) * 8;\n shapey[1] = y + MathUtils.sin(radians - 4 * 3.1415f / 5) * 8;\n\n // 2 - index of the vertex at the bottom right of the polygon\n shapex[2] = x + MathUtils.cos(radians + 4 * 3.1415f / 5) * 8;\n shapey[2] = y + MathUtils.sin(radians + 4 * 3.1415f / 5) * 8;\n }", "public void setPosition(Point position){\r\n this.position.set(position.x, position.y);\r\n\r\n this.shadow.setPosition(position);\r\n this.surface.setPosition(position);\r\n this.shading.setPosition(position);\r\n\r\n\r\n this.setBounds(new Rect(\r\n this.position.x - this.radius,\r\n this.position.y - this.radius,\r\n this.position.x + this.radius,\r\n this.position.y + this.radius\r\n ));\r\n \r\n }", "public void xsetOrigin(org.apache.xmlbeans.XmlString origin)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlString target = null;\n target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(ORIGIN$16, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(ORIGIN$16);\n }\n target.set(origin);\n }\n }", "public void setLoc(int lx, int ly){\r\n \tbox.setLocation(lx,ly);\r\n }", "void setPosition(double xPos, double yPos);", "public void updateCoords() {\n line.setLine(parent.getFullBounds().getCenter2D(), child.getFullBounds().getCenter2D());\n Rectangle2D r = line.getBounds2D();\n // adding 1 to the width and height prevents the bounds from\n // being marked as empty and is much faster than createStrokedShape()\n setBounds(r.getX(), r.getY(), r.getWidth() + 1, r.getHeight() + 1);\n invalidatePaint();\n }", "public void setXLoc(int xLoc){\n myRectangle.setX(xLoc);\n }", "public void setOwner(RMParentShape anObj) { _owner = anObj; }", "@Override\n\tpublic void setPos(int x, int y) {\n\t\txPos = x;\n\t\tyPos = y;\n\t}", "public void setFromCoordinates(int fromX, int fromY);", "@Override\n public Location getOrigin() {\n return getOwner().getLocation();\n }", "public Builder setOrigin(godot.wire.Wire.Vector3 value) {\n if (originBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n origin_ = value;\n onChanged();\n } else {\n originBuilder_.setMessage(value);\n }\n\n return this;\n }", "public void center() {\n\t\tif(parent != null) {\n\t\t\tfloat parMidWidth = parent.getWidth() / 2f;\n\t\t\tfloat parMidHeight = parent.getHeight() / 2f;\n\t\t\tfloat midWidth = width / 2f;\n\t\t\tfloat midHeight = height / 2f;\n\t\t\t\n\t\t\tfloat newX = parent.getX() + (parMidWidth - midWidth);\n\t\t\tfloat newY = parent.getY() + (parMidHeight - midHeight);\n\t\t\t\n\t\t\tposition = new Vec2f(newX, newY);\n\t\t\tfindPosRatios();\n\t\t}\n\t}", "private void setShape(ChamberShape theShape) {\n mySize = theShape;\n createDoorsFromExits();\n }", "public void setPosition(Point position);", "public void setPosition(float x, float y);", "void setPos(float x, float y);", "@Override\r\n default Vector3 getOrigin() {\r\n return Vector3.fromXYZ(getOrgX(), getOrgY(), getOrgZ());\r\n }", "public void setOrbitOrigin(Tuple3d tuple) {\n\t\tif(originSetListener != null) originSetListener.onSetOrbitOrigin(tuple);\n\t}", "public void setShape(ChamberShape theShape) {\n mySize = theShape;\n setExits();\n }", "public void set(Coord dest) {\n x = dest.x;\n y = dest.y;\n }", "@Override\r\n\t\t\tpublic void mouseDragged(MouseEvent e) {\n\t\t\t\tPoint point=getLocation();\r\n\t\t\t\tsetLocation(point.x + (e.getX() - origin.x), point.y + (e.getY() - origin.y));\r\n\t\t\t}", "@Override\n\tpublic void setLocation(double x, double y) {\n\t\t(super.getSquare1()).setLocation(x,y);\n\t\t(super.getSquare2()).setLocation(x,y+Constants.SQUARE_SIDE);\n\t\t(super.getSquare3()).setLocation(x+Constants.SQUARE_SIDE, y+Constants.SQUARE_SIDE);\n\t\t(super.getSquare4()).setLocation(x+Constants.SQUARE_SIDE, y+(2*Constants.SQUARE_SIDE));\n\t}", "public Location getOrigin() {\n/* 1094 */ Location origin = (getHandle()).origin;\n/* 1095 */ return (origin == null) ? null : origin.clone();\n/* */ }", "public void setSpawnPoint() {\n if (this.dirVec.y == 0) {\n super.centerRectAt(new Point(-1*OUTER_OFFSET, super.getCenter().y));\n }\n else {\n super.centerRectAt(new Point(super.getCenter().x, OUTER_OFFSET));\n }\n }", "public void setCoords(int x, int y) {\n\t\t setLayoutX(x);\n\t setLayoutY(y);\n\t}", "public Point2D getOrigin() {\r\n return new Point2D.Double(originX, originY);\r\n }", "public Position origin(Position ep) throws InvalidPositionException;", "public Location getOrigin() {\n return mOrigin;\n }", "@Override\n public Position setPosition(double x, double y) {\n this.x = x;\n this.y = y;\n\n return new Position(x, y);\n }", "public void setPosition(Point newPosition);", "public void setLocation(float x, float y);", "@SuppressWarnings(\"unused\")\n public static RectF resetRectToOrigin(RectF rect) {\n // Create a new rect\n RectF newRect = new RectF(rect);\n // Reset to origin and return it\n newRect.offset(-newRect.left, -newRect.top);\n return newRect;\n }", "public void setCoordinate(int PointX, int PointY)\n {\n rectangle.set(PointX - rectangle.width()/2, PointY - rectangle.height()/2, PointX + rectangle.width()/2,PointY + rectangle.height()/2);\n\n //hitBox(this.rectangle);\n }", "public void setParent(CarrierShape parent)\n\t{\n\t\tthis.parent = parent;\n\t}", "void setPosition(Point point);", "public Vector3d getOrigin() { return mOrigin; }", "public void setViewAndOrigin(Rectangle2D bounds) {\r\n setView(bounds);\r\n setOrigin(new Point2D.Double(bounds.getCenterX(), bounds.getCenterY()));\r\n }", "public void setPosition(int x, int y) {\n this.coordX = x;\n this.coordY = y;\n }", "@Override\n public void setCoord(PuertoPosition pp, Point2D newCoord) {\n layout.setLocation(pp, newCoord);\n }", "public void setLocation(int someX, int someY) {\r\n\t\tx = someX;\r\n\t\ty = someY;\r\n\t}", "public void setPosition(double x, double y) {\r\n this.x = x;\r\n this.y = y;\r\n }", "public void setRelPosition(double x, double y) {\n\t\trelX = x;\n\t\trelY = y;\n\t}", "PositionedObject(){\n float x = DrawingHelper.getGameViewWidth()/2;\n float y = DrawingHelper.getGameViewHeight()/2;\n _position.set(x,y);\n }", "public void setOrigin(String origin) {\n this.origin = origin;\n }", "public void setOrigin(String origin) {\n this.origin = origin;\n }", "public void setOrigin(java.lang.String origin)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ORIGIN$16, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ORIGIN$16);\n }\n target.setStringValue(origin);\n }\n }", "void setLocation(int x, int y);", "public void panOriginTo(double x, double y) {\n \t\tfloat tx = (float) (x / mapDisplay.sc);\n \t\tfloat ty = (float) (y / mapDisplay.sc);\n \t\tsetPosition(tx, ty, tweening);\n \t}", "public void setShape(Shape shape) {\n validateShape(shape);\n\n this.shape = shape;\n this.shape.calculate();\n initializeScroller();\n resetScroll();\n }", "public void setLocation(int x, int y) {\r\n manager.setLocation(this, x, y);\r\n }", "public static final void setPosition(UIObject o, Rect pos) {\n Style style = o.getElement().getStyle();\n style.setPropertyPx(\"left\", pos.x);\n style.setPropertyPx(\"top\", pos.y);\n }", "public void setCoord(Coords coord) {\r\n\t\tthis.coord = coord;\r\n\t}", "public void setPosicao() {\n Dimension d = this.getDesktopPane().getSize();\n this.setLocation((d.width - this.getSize().width) / 2, (d.height - this.getSize().height) / 2);\n }", "public void setFrameXY(RMPoint aPoint) { setFrameXY(aPoint.x, aPoint.y); }", "public void setPosition(Coordinate coord) {\n this.coordinate = coord;\n }", "public void setXY(int newX, int newY)\n\t{\n\t\tx=newX; \n\t\ty=newY;\n\t\tboundingBox = new Rectangle(x,y,width,height);\n\t}", "public void setLoc(int x, int y) {\n locX = x;\n locY = y;\n }", "public void moveTo(int newX, int newY) {\n xPosition = newX-radius;\n yPosition = newY-radius;\n }", "public void setPosition(float x, float y)\n {\n bounds.offsetTo(\n x - positionAnchor.x,\n y - positionAnchor.y);\n notifyParentOfPositionChange();\n conditionallyRelayout();\n }", "public void changePos(double xP, double yP){ \n this.xCoor += xP;\n this.yCoor += yP;\n \n }", "public Point2D getOrigin() {\n Point2D resultOrigin;\n resultOrigin = new Point2D(this.origin.getX(), this.origin.getY());\n return resultOrigin;\n\n }", "public Vector2 Origin() {\r\n return new Vector2(Animation().FrameWidth() / 2.0f, Animation().FrameHeight());\r\n }", "public Builder setOrigin(godot.wire.Wire.Vector2 value) {\n if (originBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n origin_ = value;\n onChanged();\n } else {\n originBuilder_.setMessage(value);\n }\n\n return this;\n }" ]
[ "0.7160481", "0.7039906", "0.69582945", "0.6840509", "0.6794299", "0.6608052", "0.65060383", "0.6459639", "0.63440067", "0.6319063", "0.6235925", "0.61963165", "0.619352", "0.61814797", "0.60398644", "0.6039302", "0.5948582", "0.59453356", "0.58891386", "0.58858347", "0.5880512", "0.58636576", "0.5861652", "0.5858121", "0.58429444", "0.5840914", "0.5821085", "0.57956654", "0.5791004", "0.57748616", "0.5690615", "0.5684393", "0.56803876", "0.5652681", "0.56191504", "0.56163013", "0.5613426", "0.55677545", "0.55675787", "0.55396533", "0.5533947", "0.55253017", "0.55071", "0.5495634", "0.54876196", "0.54705334", "0.54655707", "0.5465267", "0.5455186", "0.5444849", "0.5443717", "0.5443159", "0.5428987", "0.5428926", "0.54254496", "0.5388274", "0.5385928", "0.5381564", "0.53750217", "0.53732353", "0.5370116", "0.5353298", "0.5352829", "0.5346468", "0.5343051", "0.53289413", "0.53209865", "0.5316253", "0.5315969", "0.5306945", "0.53059924", "0.5291763", "0.5290732", "0.5281142", "0.52807105", "0.52677965", "0.52637315", "0.5262961", "0.52611655", "0.5253122", "0.5252256", "0.52519476", "0.52519476", "0.525043", "0.524564", "0.52362394", "0.5234747", "0.52306527", "0.52290076", "0.5227992", "0.5225909", "0.5222891", "0.52161694", "0.52158326", "0.5211623", "0.5202934", "0.5202808", "0.51948345", "0.5183411", "0.5182431", "0.5174347" ]
0.0
-1
Sets the height of the rect that fully encloses the shape in parent coords.
public void setFrameSize(double aWidth, double aHeight) { // If shape not rotated, scaled or skewed, just set and return if(!isRSS()) { if(_width<0) { setX(_x + (aWidth+_width)); aWidth = -aWidth; } if(_height<0) { setY(_y + (aHeight+_height)); aHeight = -aHeight; } setSize(aWidth, aHeight); return; } // Convert X & Y axis to parent coords RMSize x_axis = convertVectorToShape(new RMSize(_width, 0), _parent); RMSize y_axis = convertVectorToShape(new RMSize(0, _height), _parent); // Scale widths of X & Y axes in parent coords by ratio of NewWidth/OldWidth double sizeByRatio1 = Math.abs(aWidth)/(Math.abs(x_axis.width) + Math.abs(y_axis.width)); x_axis.width *= sizeByRatio1; y_axis.width *= sizeByRatio1; // Scale heights of X & Y axes in parent coords by ratio of NewHeight/OldHeight double sizeByRatio2 = Math.abs(aHeight)/(Math.abs(x_axis.height) + Math.abs(y_axis.height)); x_axis.height *= sizeByRatio2; y_axis.height *= sizeByRatio2; // Cache current bounds origin (this shouldn't change) RMPoint origin = getFrameXY(); // Reset current Skew and convert X & Y axis from parent coords setSkewXY(0, 0); convertVectorFromShape(x_axis, _parent); convertVectorFromShape(y_axis, _parent); // Set the size to compensate for the skew setSize(x_axis.width, y_axis.height); // Calculate new skew angles (or roll, if width or height is zero) if(width()==0) setRoll(getRoll() - Math.toDegrees(Math.atan(y_axis.width/y_axis.height))); else if(height()==0) setRoll(getRoll() - Math.toDegrees(Math.atan(x_axis.height/x_axis.width))); else { setSkewX(Math.toDegrees(Math.atan(x_axis.height/x_axis.width))); setSkewY(Math.toDegrees(Math.atan(y_axis.width/y_axis.height))); } // Reset original bounds origin (it may have been effected by skew changes) setFrameXY(origin); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void updateHeight() {\n Rectangle repaintBounds = getBounds();\n parent.getScene().paintImmediately(repaintBounds);\n\n // set new height compute while repainting.\n setBounds(new Rectangle(bounds));\n\n parent.getScene().repaint(repaintBounds);\n setChanged();\n notifyObservers();\n }", "public void updateBounds(){\r\n\t\tRectangle bounds = new Rectangle(super.getBounds());\r\n\t\tint preferredHeight = 0;\r\n\t\tfor(Object child : getChildren()){\r\n\t\t\tIFigure figure = (IFigure)child;\r\n\t\t\tpreferredHeight += figure.getPreferredSize().height;\r\n\t\t}\r\n\t\tif (preferredHeight == 0) preferredHeight = 200;\r\n\t\tbounds.setHeight(preferredHeight+20);\r\n\t\tsetBounds(bounds);\r\n\t}", "public void setHeight(int height);", "public void setHeight(int height);", "void setHeight(int height);", "void setHeight(int height);", "public void setHeight(int value) {\n this.height = value;\n }", "public void setHeight(double aValue)\n{\n if(_height==aValue) return; // If value already set, just return\n repaint(); // Register repaint\n firePropertyChange(\"Height\", _height, _height = aValue, -1); // Set value and fire PropertyChange\n if(_parent!=null) _parent.setNeedsLayout(true); // Rather bogus\n}", "@Override\r\n\tpublic int setHeight() {\n\t\treturn 0;\r\n\t}", "public void setHeight(int h)\n {\n height = h;\n }", "public void setHeight(double value) {\n this.height = value;\n }", "public void setHeight(int h) {\n this.H = h;\n }", "private void updateHeight() {\n int leftHeight = height(this.leftChild);\n int rightHeight = height(this.rightChild);\n this.height = (rightHeight > leftHeight ? rightHeight : leftHeight) + 1;\n }", "public void setHeight(int newValue)\n {\n height = newValue;\n }", "public void setHeight(int l){\n \theight = l;\n }", "@Override\r\n\tpublic void setHeight(int height) {\n\t\t\r\n\t}", "public void update_height() {\r\n int tmp_height = 0;\r\n int tmp_left = -1;\r\n int tmp_right = -1;\r\n\r\n // set height of null children to -1\r\n if (leftChild != null) {\r\n tmp_left = leftChild.height;\r\n }\r\n if (rightChild != null) {\r\n tmp_right = rightChild.height;\r\n }\r\n\r\n // find highest child\r\n if (tmp_left > tmp_right) {\r\n tmp_height = tmp_left;\r\n }\r\n else {\r\n tmp_height = tmp_right;\r\n }\r\n\r\n // update this node's height\r\n height = tmp_height + 1;\r\n }", "@Override\n public void onSizeChanged(int w, int h, int oldW, int oldH) {\n // Set the movement bounds for the ballParent\n box.set(0, 0, w, h);\n }", "public void setHeight(Integer height) {\n this.height = height;\n control.draw();\n }", "void setHeight(VariableAmount height);", "@Override\n\tpublic void setHeight(int y) {\n\t\tdelegate.setHeight(y);\n\t}", "@Override\n\tpublic void setHeight(float height) {\n\n\t}", "public void setCurrentHeight(final int currentHeight);", "public void setHeight(double height){\n h=height;\r\n }", "public Builder setHeight(int value) {\n bitField0_ |= 0x00000008;\n height_ = value;\n onChanged();\n return this;\n }", "void setFitHeight(short height);", "@Override\n public int getHeight() {\n return height;\n }", "@Override\n public int getHeight() {\n return height;\n }", "public Builder setHeight(long value) {\n copyOnWrite();\n instance.setHeight(value);\n return this;\n }", "public void setHeight(double height) {\n this.height = height;\n }", "public void setHeight(int newHeight) {\n roomHeight = newHeight;\n }", "public void setHeight(int height) {\r\n this.height = height;\r\n }", "public final native void setHeight(double height) /*-{\n this.setHeight(height);\n }-*/;", "public int getHeight() {\n int parent_desired_height = this.getParent().getChildHeight(this);\n return Math.min(Math.max(parent_desired_height, this.getMinHeight()), this.getMaxHeight());\n }", "public void setHeight(int height) {\n this.height = height;\n }", "public void setHeight(double height) {\r\n this.height = height;\r\n }", "public void setHeight(int h){ heightRadius = h; }", "public void setHeight(int newValue)\r\n {\r\n seatHeight = newValue;\r\n }", "private void setHeight(float height){\n this.height = height;\n }", "@Override\n public int getHeight() {\n return graphicsEnvironmentImpl.getHeight(canvas);\n }", "@Override\n public int getHeight() {\n return this.height;\n }", "@Override\n\tpublic void height() {\n\t\t\n\t}", "public void setHeight(double h) {\n\t\t\theight.set(clamp(h, HEIGHT_MIN, HEIGHT_MAX));\n\t\t}", "public void setHeight(float height) {\n this.yRadius = 0.5f * height;\n }", "public void setHeight(double height) {\n this.height = height;\n }", "public void setHeight(int height) {\n this.height = height;\n }", "public void setHeight(int height) {\n this.height = height;\n }", "public void setHeight(int height) {\n int oldValue = mHeight;\n mHeight = height;\n pcs.firePropertyChange(PROP_HEIGHT, oldValue, mHeight);\n }", "public void setHeight(int newValue) {\n seatHeight = newValue;\n }", "public void setHeight(int height) {\n if (height > 0) {\n this.height = height;\n }\n }", "@Override\n\tpublic int getHeight() {\n\t\treturn this.height;\n\t}", "public void setHeight(int height) {\n\tthis.height = height;\n\tcalculateHeightRatio();\n }", "public void setHeight(int height) {\r\n\t\tthis.height = height;\r\n\t}", "public final int getHeight() {\r\n return (int) size.y();\r\n }", "private void setHeight(long value) {\n bitField0_ |= 0x00000008;\n height_ = value;\n }", "private void setHeightInCollapse()\n {\n ViewGroup.LayoutParams icom=incompleteRv.getLayoutParams();\n icom.height=0;\n incompleteRv.setLayoutParams(icom);\n\n ViewGroup.LayoutParams actual=movieRecyclerView.getLayoutParams();\n actual.height = actual.MATCH_PARENT;\n movieRecyclerView.setLayoutParams(actual);\n }", "public void setHeight(int height) {\n if(height < 0) throw new NegativeSizeException(\"Negative height\"); \n \tthis.height = height;\n }", "public void setPreferredSize( int width, int height ) {\n checkWidget();\n ideal = true;\n Point point = parent.fixPoint( width, height );\n preferredWidth = Math.max( point.x, MINIMUM_WIDTH );\n preferredHeight = point.y;\n }", "void childResized(int w, int h);", "public int getHeight() {return height;}", "private void setSizeBox() {\n\t\t\tthis.leftX = pointsSubStroke.get(0).getX();\n\t\t\tthis.righX = pointsSubStroke.get(0).getX();\n\t\t\tthis.topY = pointsSubStroke.get(0).getY();\n\t\t\tthis.bottomY = pointsSubStroke.get(0).getY();\n\t\t\t\n\t\t\tfor(int i = 0; i < pointsSubStroke.size();i++) {\n\t\t\t\tdouble x = pointsSubStroke.get(i).getX();\n\t\t\t\tdouble y = pointsSubStroke.get(i).getX();\n\t\t\t\t\n\t\t\t\tthis.leftX = Math.min(x, leftX);\n\t\t\t\tthis.righX = Math.max(x, righX);\n\t\t\t\tthis.topY = Math.min(y, topY);\n\t\t\t\tthis.bottomY = Math.max(y, bottomY);\n\t\t\t}\n\t\t}", "public void determineMaximumHeight() {\n\t\tthis.setMaximumHeight(maxDepth(root));\n\t}", "@Override\n\tpublic void setHeight(short arg0) {\n\t\t\n\t}", "public void setHeight(int height) {\n\t\th = height;\n\t}", "@Override\n public int getHeight() {\n int height = 0;\n\n if (!isEmpty()) {\n height = root.getHeight();\n }\n\n return height;\n }", "public void setHeight (int height) {\n if (height < 10) {\n Log.warning(\"Attempted to set a checkbox height of less than 10 pixels.\");\n return;\n }\n\n synchronized (this) {\n this.height = height;\n }\n }", "public int getHeight() { return height; }", "public void setHeight(double height) {\n\t\tthis.height = height;\n\t}", "public void setHeight(double height) {\n\t\tthis.height = height;\n\t}", "public void setHeight(double height) {\n\t\tthis.height = height;\n\t}", "@Override\r\n public void setHeight(String height) {\n }", "public void setHeight( int height ) {\n\t\t_height = height;\n\t}", "public void childResized(int w, int h) {\n Component c = ((Container)target).getComponent(0);\n c.setLocation(c.getX() - 2, c.getY() - 2);\n\n if(scrollbarDisplayPolicy == ScrollPane.SCROLLBARS_AS_NEEDED) {\n childResizedNative(w, h); // 6228838\n }\n\n // Removed the scrollbar workaround for gtk.\n }", "@java.lang.Override\n public long getHeight() {\n return height_;\n }", "public void setHeight(double height) {\n\t\t this.height = height;\n\t }", "public void updateCoords() {\n line.setLine(parent.getFullBounds().getCenter2D(), child.getFullBounds().getCenter2D());\n Rectangle2D r = line.getBounds2D();\n // adding 1 to the width and height prevents the bounds from\n // being marked as empty and is much faster than createStrokedShape()\n setBounds(r.getX(), r.getY(), r.getWidth() + 1, r.getHeight() + 1);\n invalidatePaint();\n }", "public void expand(){\n\t\tsetBounds(getX()-getWidth()/4, getY(), getWidth() * 1.5f, getHeight());\n\t\tcollisionBounds.setWidth(getWidth());\n\t}", "public final int getHeight() {\r\n return height;\r\n }", "public void setHeight(int height) {\n\t\tthis.height = height;\n\t}", "public void setHeight(int height) {\n\t\tthis.height = height;\n\t}", "public void changeHeight(double y)\r\n {\n }", "public SpriteSheetSplitter setHeight(int height) {\n if (height <= 0) {\n throw new IllegalStateException(\"invalid height\");\n }\n this.height = height;\n return this;\n }", "public float getHeight()\n {\n return getBounds().height();\n }", "public int getHeight() {\r\n\t\treturn height;\r\n\t}", "public int getHeight() {\r\n\t\treturn height;\r\n\t}", "double getNewHeight();", "final void setParent(ShapeParent newParent)\n {\n this.parent = newParent;\n }", "public int getHeight() {\n\t\t\treturn height;\n\t\t}", "public int getHeight() {\r\n\t\t\r\n\t\treturn height;\r\n\t}", "public void setMinHeight(double aHeight)\n{\n double h = aHeight<=0? 0 : aHeight; if(h==getMinHeight()) return;\n firePropertyChange(\"MinHeight\", put(\"MinHeight\", h), h, -1);\n}", "@Override\n\t\tpublic void onMeasure (int widthMeasureSpec, int heightMeasureSpec) {\n\t\t\t\n\t\t\tif (isExpanded ()) {\n\t\t\t\t\n\t\t\t\t// Calculate entire height by providing a very large height hint.\n\t\t\t\t// View.MEASURED_SIZE_MASK represents the largest height possible.\n\t\t\t\t\n\t\t\t\tint expandSpec = MeasureSpec.makeMeasureSpec (/*MEASURED_SIZE_MASK*/ 0x00ffffff, MeasureSpec.AT_MOST); // SUPPORT 11\n\t\t\t\t\n\t\t\t\tsuper.onMeasure (widthMeasureSpec, expandSpec);\n\t\t\t\t\n\t\t\t\tViewGroup.LayoutParams params = getLayoutParams ();\n\t\t\t\tparams.height = getMeasuredHeight ();\n\t\t\t\t\n\t\t\t} else super.onMeasure (widthMeasureSpec, heightMeasureSpec);\n\t\t\t\n\t\t}", "public void setBounds(RectF newBounds)\n {\n this.bounds = GeometryUtils.copy(newBounds);\n \n if (getShapeParent() != null)\n {\n GeometryUtils.resolveGeometry(this.bounds, this);\n }\n \n notifyParentOfPositionChange();\n conditionallyRepaint();\n }", "public void setArea() {\n\t\tthis.area= height*width;\n\t}", "@Override\n public int height() {\n \treturn height(root);\n }", "public abstract Builder setOutputHeight(int value);", "public void setHeight(final String value)\n {\n height = value;\n }", "public int getHeight() {\r\n return Height;\r\n }", "@Override\r\n\tpublic void setHeight(int height) {\n\t\tif(!(height>0))\r\n\t\t\tthrow new PreConditionError(\"Error PreCondition: height>0\");\r\n\r\n\t\tcheckInvariant();\r\n\r\n\t\tgetDelegate().setHeight(height);\r\n\r\n\t\tcheckInvariant();\r\n\r\n\t\t// pos: getHeight()==height\r\n\t\tif(!(getHeight()==height))\r\n\t\t\tthrow new PostConditionError(\"Error PostCondition: getHeight()==height\");\r\n\r\n\t}", "int getBoundsHeight();", "public int getHeight() {\n\t\treturn canvasHeight;\n\t}", "public void setHeight(float top, float bottom) {\n this.top = top;\n this.bottom = bottom;\n }" ]
[ "0.6651685", "0.63700265", "0.6302068", "0.6302068", "0.62081593", "0.62081593", "0.61994797", "0.6194114", "0.61912423", "0.61782956", "0.6116647", "0.60968536", "0.5994217", "0.59863216", "0.59714866", "0.5949709", "0.59052503", "0.58862925", "0.5847996", "0.58363235", "0.58242553", "0.5820535", "0.5817586", "0.57571507", "0.5753939", "0.5745266", "0.57128435", "0.57128435", "0.57097703", "0.57058424", "0.5703775", "0.5702296", "0.5696808", "0.56958526", "0.56939065", "0.56905013", "0.56731105", "0.56696486", "0.56550455", "0.56526804", "0.56502247", "0.5648574", "0.564548", "0.5644556", "0.5638891", "0.56319064", "0.56319064", "0.5629424", "0.5629196", "0.5594306", "0.55480355", "0.55468357", "0.5546604", "0.553121", "0.5517763", "0.5507142", "0.5500717", "0.5495089", "0.5484226", "0.5475451", "0.5474896", "0.5467942", "0.54623413", "0.54615396", "0.54609567", "0.54601365", "0.5452343", "0.5441357", "0.5441357", "0.5441357", "0.5432425", "0.54192066", "0.54053074", "0.540525", "0.53958565", "0.5395056", "0.5392056", "0.53837633", "0.53717893", "0.53717893", "0.53712136", "0.5368138", "0.5356434", "0.5345979", "0.5345979", "0.5341964", "0.53369474", "0.53247523", "0.53161407", "0.53140116", "0.53119886", "0.53108555", "0.5308268", "0.53045344", "0.53026927", "0.52935773", "0.5291773", "0.52917475", "0.52862406", "0.5285053", "0.5283288" ]
0.0
-1
Returns the max X of the shape's frame.
public double getFrameMaxX() { return isRSS()? getFrame().getMaxX() : getMaxX(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public float getMaxX(){\n return points.get(points.size()-1).getX();\n }", "public double getMaxX() {\n\t\treturn mx;\n\t}", "public int getMaxX() {\n\t\treturn maxX;\n\t}", "public final int getMaxX() {\n return getMinX() + getWidth();\n }", "public double getMaxX() { return getX() + getWidth(); }", "public double getMaximumX () {\n return minimumX + width;\n }", "@Override\n\tpublic double getMaxX() {\n\t\treturn this.getPosition().getX();\n\t}", "public float getMaxX() {\n return maxX;\n }", "public int getxMax() {\n\t\treturn xMax;\n\t}", "public double getMaxX() {\n\treturn maxX;\n }", "public int getXMax(){\n\t\tDouble max = timeIncrements.get(timeIncrements.size()-1);\n\t\txMax = max.intValue();\n\t\treturn xMax;\n\t}", "public double getMaxX() {\n\t\tif (pointList.size()==0) {\n\t\t\treturn 0;\n\t\t}\n\t\treturn pointList.get(pointList.size()-1 ).getX();\n\t}", "public int getXMax(){\n\t\treturn xDim;\n\t}", "public int getMax()\n {\n int max = data.get(0).getX();\n\n for(int i = 0; i < data.size(); i++)\n {\n if (data.get(i).getX() > max)\n {\n max = data.get(i).getX();\n }\n }\n\n\n return max;\n }", "public Point getMaxPoint() {\r\n int maximumX = children.get(0).getShapeEndingPoint().getX();\r\n int maximumY = children.get(0).getShapeEndingPoint().getY();\r\n for(IShape shape: children) {\r\n if(shape.getShapeEndingPoint().getX() > maximumX) {\r\n maximumX = shape.getShapeEndingPoint().getX();\r\n }\r\n if(shape.getShapeEndingPoint().getY() > maximumY) {\r\n maximumY = shape.getShapeEndingPoint().getY();\r\n }\r\n }\r\n maxPoint = new Point(maximumX,maximumY);\r\n return maxPoint;\r\n }", "private float getMaxX(HomePieceOfFurniture piece) {\n float [][] points = piece.getPoints();\n float maxX = Float.NEGATIVE_INFINITY;\n for (float [] point : points) {\n maxX = Math.max(maxX, point [0]);\n } \n return maxX;\n }", "public int getMaxX() {\n return scroller.getMaxX();\n }", "public double max()\n\n {\n double max=xyValueArray.get(0).getY();\n\n for (int i = 0; i < xyValueArray.size(); i++) {\n if (xyValueArray.get(i).getY() > max) {\n max = xyValueArray.get(i).getY();\n }\n }\n return max;\n }", "@Basic\n\tpublic double getVxmax() {\n\t\treturn this.vxmax;\n\t}", "public double getXRangeMax() {\n return xRangeMax;\n }", "public int getMaxTileX() {\n return convertXToTileX(getMaxX() - 1);\n }", "public double getMaxCoordinateValue() {\n if (this.max_x > this.max_y)\n return this.max_x;\n else\n return this.max_y;\n }", "private double bufferHeadMaxX()\n {\n if (segmentBuffer.size() <= 0)\n return Double.NaN;\n LineSeg seg = (LineSeg) segmentBuffer.get(0);\n return seg.getMaxX();\n }", "float getXStepMax();", "float xMax();", "public Point getMax () {\r\n\r\n\treturn getB();\r\n }", "public int getMaxFrameNumber() {\r\n return rotationFrames.size() - 1;\r\n }", "public int extractMaximum() {\n \n int max = maximum();\n\n if (max == -1) {\n assert(xft.size() == 0);\n return -1;\n }\n \n remove(max);\n \n return max;\n }", "public double getxMaxSpeed() {\n return this.X_MAX_SPEED;\n }", "public double getFrameX() { return isRSS()? getFrameXY().x : getX(); }", "public int getYMax(){\n\t\tDouble max = Collections.max(byteIncrements);\n\t\tyMax = max.intValue();\n\t\treturn yMax;\n\t}", "public void theMaxX() {\n\t\tfloat maxx = coords.getFirst().getX(); // set the largest x to the first one\n\t\tfor(Coord2D c: coords) { // go through the whole linked list\n\t\t\tif(c.getX() > maxx) { // if the x of the current coordinate set is larger than the current max\n\t\t\t\tmaxx = c.getX(); // make that current coordinate the new max\n\t\t\t}\n\t\t}\n\t\tthis.setMaxX(maxx);\n\t}", "double rightmost_alien_x() {\n double max_x = 0;\n for (Alien alien : aliens) {\n if (alien.x_position > max_x) {\n max_x = alien.x_position;\n }\n }\n return max_x;\n }", "public int getMax() {\n\t\treturn getMax(0.0f);\n\t}", "public int getMaximumPoints();", "public double getFrameMaxY() { return isRSS()? getFrame().getMaxY() : getMaxY(); }", "public int getyMax() {\n\t\treturn yMax;\n\t}", "public int getYMax(){\n\t\treturn yDim;\n\t}", "float yMax();", "@Override\n public int iamax(INDArray x) {\n return NativeBlas.isamax(x.length(), x.data(), x.offset(), x.stride()[0]) - 1;\n }", "@Override\n public double getMaxX() {\n if (getPoints() == null || getPoints().size() == 0) {\n return defaultY;\n }\n Set<Double> keys = getPoints().keySet();\n for (Double key : keys) {\n if (key >= adapter.getMaxFrequency()) {\n return key;\n }\n }\n return getPoints().lastKey();// this.getPoints().ceilingKey(this.getPoints().lastKey()/2);\n }", "public float max2DX() {\n return Math.max(stop2D.x, start2D.x);\n }", "@Override\n public double getMaxX() {\n return curMap.getMap().getWidth();\n }", "public int maximum() {\n \n if (xft.size() == 0) {\n return -1;\n }\n \n Integer maxRepr = xft.maximum();\n \n assert(maxRepr != null);\n \n int index = maxRepr.intValue()/binSz;\n \n TreeMap<Integer, Integer> map = getTreeMap(index);\n \n assert(map != null);\n \n Entry<Integer, Integer> lastItem = map.lastEntry();\n \n assert(lastItem != null);\n \n return lastItem.getKey();\n }", "public SplayNode maximum(SplayNode x) {\n\t\t while(x.right != null)\n\t\t x = x.right;\n\t\t return x;\n\t\t }", "public double elementMaxAbs() {\n return ops.elementMaxAbs(mat);\n }", "public int getSizeX(){\r\n\t\treturn size[0];\r\n\t}", "@Override\n public int iamax(IComplexNDArray x) {\n return NativeBlas.icamax(x.length(), x.data(), x.offset(), 1) - 1;\n }", "public Integer getMaxPax() {\n return this.maxPax;\n }", "public double getMaximum() {\n return (max);\n }", "public int getMaximumAir ( ) {\n\t\treturn extract ( handle -> handle.getMaximumAir ( ) );\n\t}", "public static int getEndXCoordinate(){\n\t\tint x = getThymioEndField_X(); \n\t\t\n\t\tif(x == 0){\n\t\t\n \t}else{\n \t x *= FIELD_HEIGHT;\n \t}\n\n\t\treturn x;\n\t}", "private double findMaxY() {\n\t\tif (pointList.size()==0) {\n\t\t\treturn Double.NaN;\n\t\t}\n\t\tdouble max = pointList.get(0).getY();\n\t\tfor(int i=0; i<pointList.size(); i++)\n\t\t\tif (max<pointList.get(i).getY())\n\t\t\t\tmax = pointList.get(i).getY();\n\t\treturn max;\n\t}", "public AnyType findMax() {\n\t\treturn elementAt(findMax(root));\n\t}", "public int getScrollMaxX(){\n return (int)Math.max(0, mMaxPaintX - getWidth() / 2f);\n }", "public double max() {\n\t\tif (count() > 0) {\n\t\t\treturn _max.get();\n\t\t}\n\t\treturn 0.0;\n\t}", "public double getHighestChildY() {\n\t\t/* Aucun enfant => aucune contrainte en y vers le bas */\n\t\tif (childrenEdges == null)\n\t\t\treturn Double.MAX_VALUE;\n\t\t\n\t\tdouble minY = Double.MAX_VALUE;\n\t\tfor (int i = 0; i < childrenEdges.size(); i++) {\n\t\t\t/*\n\t\t\t * Recherche de l'extrémité la plus basse de l'arête (la plus haute étant le noeud\n\t\t\t * courant)\n\t\t\t */\n\t\t\tEdge currentEdge = childrenEdges.elementAt(i);\n\t\t\tdouble y1 = currentEdge.getSource().getShape().getY();\n\t\t\tdouble y2 = currentEdge.getDestination().getShape().getY();\n\t\t\tdouble y = (y1 > y2) ? y1 : y2;\n\t\t\t\n\t\t\t/* Recherche de l'extrémité la plus haute parmi toutes les extrémités basses */\n\t\t\tif (y < minY)\n\t\t\t\tminY = y;\n\t\t}\n\t\t\n\t\treturn minY;\n\t}", "org.apache.xmlbeans.XmlDecimal xgetMaximum();", "public Output<TFloat32> yMax() {\n return yMax;\n }", "private long getAbsMax() {\n return Math.max(Math.abs(Visualizer.getLowerBound().get()),\n Visualizer.getUpperBound().get());\n }", "public DoubleMatrix1D getDeltaMax() { return deltaMax_; }", "public final double getMax() {\r\n\t\treturn this.m_max;\r\n\t}", "public double getMaximumY () {\n return minimumY + height;\n }", "public long getMaxXIT() {\n return localMaxXIT;\n }", "public Boolean getLargestAxis() {\n\t\tdouble widthX = this.maxx.getData().getX()-this.minx.getData().getX();\n\t\tdouble widthY = this.maxy.getData().getY()-this.miny.getData().getY();\n\t\treturn (widthX > widthY);\n\t}", "public int max() throws IllegalStateException { \n if (size == 0)\n throw new IllegalStateException(\"Empty stack\");\n return max;\n }", "public float getMaximumSpan(int axis) {\n return Integer.MAX_VALUE;\n }", "double getMax() {\n\t\t\treturn value_max;\n\t\t}", "public SVGLength getX() {\n return x;\n }", "public int getSizeX() {\r\n\t\treturn sizeX;\r\n\t}", "public final OMSVGAnimatedLength getX() {\n return ((SVGFEConvolveMatrixElement)ot).getX();\n }", "public int getMaximum() {\n \tcheckWidget();\n \treturn maximum;\n }", "public double getMaxDistance()\n\t{\n\t // Make sure it went some distance\n\t\tif(xPosList.size() > 0)\n\t\t{\n\t\t\treturn this.xPosList.get(xPosList.size() - 1);\n\t\t}\n\n\t\treturn 0;\n\t}", "public double getMaxValue() {\n double max = Double.NEGATIVE_INFINITY;\n for (int i = 0; i < rows; i++) {\n for (int j = 0; j < cols; j++) {\n if (data[i][j] > max)\n max = data[i][j];\n }\n }\n return max;\n }", "public float max3DX() {\n return Math.max(stop3D.x, start3D.x);\n }", "public int getMaximumValue() {\n/* 359 */ return Math.min(32767, (this.c.getMaximumSize()).width);\n/* */ }", "public float getMinX(){\n return points.get(0).getX();\n }", "public AnyType findMax() {\r\n\t\tif (isEmpty())\r\n\t\t\tthrow new UnderflowException();\r\n\t\treturn findMax(root).element;\r\n\t}", "public int getMax() {\n return max;\n }", "public int getMax() {\n return max;\n }", "public int getMax() {\n return max;\n }", "public int getMaximum() {\r\n return max;\r\n }", "public double getX() {\n\t\tRectangle2D bounds = _parentFigure.getBounds();\n\t\tdouble x = bounds.getX() + (_xt * bounds.getWidth());\n\t\treturn x;\n\t}", "public double getMaxY() {\n\t\treturn my;\n\t}", "public void setMaxX(int value) {\n this.maxX = value;\n }", "@SuppressWarnings(\"static-method\")\n\tprivate int getXmax(BufferedImage img) {\n\t\tint height = img.getHeight();\n\t\tint width = img.getWidth();\n\t\tint trimmedWidth = 0;\n\t\tfor (int i = 0; i < height; i++) {\n\t\t\tfor (int j = width - 1; j >= 0; j--) {\n\t\t\t\tif (img.getRGB(j, i) != Color.WHITE.getRGB() && j > trimmedWidth) {\n\t\t\t\t\ttrimmedWidth = j;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn trimmedWidth;\n\t}", "public int getMaxY() {\n return maxY;\n }", "public int maxElement() {\n\t\tNode max=root;\n\t\tint out=-1;\n\t\twhile(max!=null) {\n\t\t\tout=max.data;\n\t\t\tmax=max.right;\n\t\t}\n\t\treturn out;\n\t}", "public double getMaxY() { return getY() + getHeight(); }", "public double max(Triangle figure) {\n double[] sides = {\n figure.getA().distanceTo(figure.getB()),\n figure.getA().distanceTo(figure.getC()),\n figure.getC().distanceTo(figure.getB()),\n };\n double maxSide = 0;\n for (double i : sides) {\n if (maxSide < i) {\n maxSide = i;\n }\n }\n return maxSide;\n }", "public int getMax() {\n\t\treturn max;\n\t}", "public int getMax() {\n\t\treturn max;\n\t}", "public double max() {\n return max(0.0);\n }", "public int getXLength() {\n return xLength;\n }", "public int getMax()\n\t{\n\t\treturn max;\n\t}", "public Coord maxCell()\n {\n\t int maxX = getGrid().keySet().stream().mapToInt(Coord::getX).max().orElse(0);\n\n\t int maxY = getGrid().keySet().stream().mapToInt(Coord::getY).max().orElse(0);\n\n\t return new Coord(maxX, maxY);\n }", "public double max(){\r\n\t\t//variable for max val\r\n\t\tdouble max = this.data[0];\r\n\t\t\r\n\t\tfor (int i = 1; i < this.data.length; i++){\r\n\t\t\t//if the maximum is less than the current index, change max to that value\r\n\t\t\tif (max < this.data[i]){\r\n\t\t\t\tmax = this.data[i];\r\n\t\t\t}\r\n\t\t}\r\n\t\t//return the maximum val\r\n\t\treturn max;\r\n\t}", "@Override\n\tpublic int getMaximumLayer() {\n\t\treturn MAX_LAYER;\n\t}", "public X maximumSize(Dimension max) {\n component.setMaximumSize(max);\n return (X) this;\n }", "public double getChannelYPositionLast() {\n double max = 0.0;\n for (ChannelGraphic channelGraphic : channelGraphics) {\n if (channelGraphic.getyPosition() > max) {\n max = channelGraphic.getyPosition();\n }\n }\n return max;\n }" ]
[ "0.76744366", "0.7625799", "0.75392246", "0.75286645", "0.7504443", "0.7489215", "0.74305904", "0.7416742", "0.7379963", "0.73567086", "0.7321108", "0.7256252", "0.7137067", "0.70138496", "0.69952756", "0.6962525", "0.69054264", "0.6843692", "0.6718945", "0.67073673", "0.66686827", "0.6667661", "0.66477245", "0.6597147", "0.65731406", "0.6505675", "0.6493019", "0.6469255", "0.64689857", "0.6409151", "0.6405049", "0.637109", "0.6269087", "0.6223187", "0.62123805", "0.62116075", "0.6189548", "0.6174747", "0.6171914", "0.6168514", "0.61676866", "0.61623746", "0.6138694", "0.6124712", "0.6105936", "0.6081993", "0.60545444", "0.60444224", "0.6034368", "0.6019949", "0.5944772", "0.59430766", "0.5942592", "0.59375966", "0.5932423", "0.59318924", "0.5924653", "0.5912228", "0.58932716", "0.58857864", "0.58825284", "0.58821356", "0.5878147", "0.5875883", "0.5871017", "0.5868797", "0.58629954", "0.58591324", "0.5848219", "0.58471537", "0.5843483", "0.5840827", "0.58401746", "0.5832359", "0.5831109", "0.58304316", "0.58240193", "0.582378", "0.5821199", "0.5821199", "0.5821199", "0.5819659", "0.5816327", "0.58154815", "0.5811619", "0.58002263", "0.5796559", "0.57916206", "0.5790617", "0.57887954", "0.57877123", "0.57877123", "0.57590556", "0.57468975", "0.57455224", "0.57349473", "0.5734624", "0.5730106", "0.5714381", "0.57110995" ]
0.7818008
0
Returns the max Y of the shape's frame.
public double getFrameMaxY() { return isRSS()? getFrame().getMaxY() : getMaxY(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public double getMaximumY () {\n return minimumY + height;\n }", "public final int getMaxY() {\n return getMinY() + getHeight();\n }", "public double getMaxY() { return getY() + getHeight(); }", "public int getyMax() {\n\t\treturn yMax;\n\t}", "public double getMaxY() {\n\t\treturn my;\n\t}", "public int getYMax(){\n\t\tDouble max = Collections.max(byteIncrements);\n\t\tyMax = max.intValue();\n\t\treturn yMax;\n\t}", "public double getChannelYPositionLast() {\n double max = 0.0;\n for (ChannelGraphic channelGraphic : channelGraphics) {\n if (channelGraphic.getyPosition() > max) {\n max = channelGraphic.getyPosition();\n }\n }\n return max;\n }", "public double getBiggestY() {\r\n double y = 0;\r\n List<Enemy> enemyLowest = this.lowestLine();\r\n if (enemyLowest.size() > 0) {\r\n y = enemyLowest.get(0).getCollisionRectangle().getBoundaries().getLowY();\r\n for (Enemy e: enemyLowest) {\r\n if (e.getCollisionRectangle().getBoundaries().getLowY() > y) {\r\n y = e.getCollisionRectangle().getBoundaries().getLowY();\r\n }\r\n }\r\n return y;\r\n }\r\n return y;\r\n }", "private double findMaxY() {\n\t\tif (pointList.size()==0) {\n\t\t\treturn Double.NaN;\n\t\t}\n\t\tdouble max = pointList.get(0).getY();\n\t\tfor(int i=0; i<pointList.size(); i++)\n\t\t\tif (max<pointList.get(i).getY())\n\t\t\t\tmax = pointList.get(i).getY();\n\t\treturn max;\n\t}", "float yMax();", "public double max()\n\n {\n double max=xyValueArray.get(0).getY();\n\n for (int i = 0; i < xyValueArray.size(); i++) {\n if (xyValueArray.get(i).getY() > max) {\n max = xyValueArray.get(i).getY();\n }\n }\n return max;\n }", "public int getMaxY() {\n return maxY;\n }", "public int getMaxY() {\n\t\treturn maxY;\n\t}", "public double getMaxY() {\n\treturn maxY;\n }", "public int getYMax(){\n\t\treturn yDim;\n\t}", "public Output<TFloat32> yMax() {\n return yMax;\n }", "public int getMaxTileY() {\n return convertYToTileY(getMaxY() - 1);\n }", "public int getMaxY() {\n return scroller.getMaxY();\n }", "public double getHighestChildY() {\n\t\t/* Aucun enfant => aucune contrainte en y vers le bas */\n\t\tif (childrenEdges == null)\n\t\t\treturn Double.MAX_VALUE;\n\t\t\n\t\tdouble minY = Double.MAX_VALUE;\n\t\tfor (int i = 0; i < childrenEdges.size(); i++) {\n\t\t\t/*\n\t\t\t * Recherche de l'extrémité la plus basse de l'arête (la plus haute étant le noeud\n\t\t\t * courant)\n\t\t\t */\n\t\t\tEdge currentEdge = childrenEdges.elementAt(i);\n\t\t\tdouble y1 = currentEdge.getSource().getShape().getY();\n\t\t\tdouble y2 = currentEdge.getDestination().getShape().getY();\n\t\t\tdouble y = (y1 > y2) ? y1 : y2;\n\t\t\t\n\t\t\t/* Recherche de l'extrémité la plus haute parmi toutes les extrémités basses */\n\t\t\tif (y < minY)\n\t\t\t\tminY = y;\n\t\t}\n\t\t\n\t\treturn minY;\n\t}", "public double getYRangeMax() {\n return yRangeMax;\n }", "public double getY() {\n\t\tRectangle2D bounds = _parentFigure.getBounds();\n\t\tdouble y = bounds.getY() + (_yt * bounds.getHeight());\n\t\treturn y;\n\t}", "public double getMaxCoordinateValue() {\n if (this.max_x > this.max_y)\n return this.max_x;\n else\n return this.max_y;\n }", "private float getMaxY(HomePieceOfFurniture piece) {\n float [][] points = piece.getPoints();\n float maxY = Float.NEGATIVE_INFINITY;\n for (float [] point : points) {\n maxY = Math.max(maxY, point [1]);\n } \n return maxY;\n }", "public static int getEndYCoordinate(){\n\tint y = getThymioEndField_Y(); \n\t\t\n\t\tif(y == 0){\n\t\t\n \t}else{\n \t y *= FIELD_HEIGHT;\n \t}\n\t\treturn y;\n\t}", "public int yPos() {\n\t\treturn Engine.scaleY(y);\n\t}", "public int getScrollMaxY(){\n return Math.max(0, getLineHeight() * getLineCount() - getHeight() / 2);\n }", "@Override\n public double getMaxY() {\n return curMap.getMap().getHeight();\n }", "public float max2DY() {\n return Math.max(stop2D.y, start2D.y);\n }", "public void theMaxY() {\n\t\tfloat maxy = coords.getFirst().getY(); // set the largest y to the first one\n\t\tfor(Coord2D c: coords) { // go through the whole linked list\n\t\t\tif(c.getY() > maxy) { // if the y of the current coordinate set is larger than the current max\n\t\t\t\tmaxy = c.getY(); // make that current coordinate the new max\n\t\t\t}\n\t\t}\n\t\tthis.setMaxY(maxy);\n\t}", "public float setYMax(){\n\t\tif (game.getDifficulty() == 0)\n\t\t\treturn 72;\n\t\telse if (game.getDifficulty() == 1)\n\t\t\treturn 108;\n\t\telse\n\t\t\treturn 144;\n\t}", "public float getYChartMax() {\n return 0.0F;\n }", "public SVGLength getY() {\n return y;\n }", "public double getFrameY() { return isRSS()? getFrameXY().y : getY(); }", "protected double getReferenceY() {\n if (isYAxisBoundsManual() && !mGraphView.getGridLabelRenderer().isHumanRoundingY()) {\n if (Double.isNaN(referenceY)) {\n referenceY = getMinY(false);\n }\n return referenceY;\n } else {\n // starting from 0 so that the steps have nice numbers\n return 0;\n }\n }", "public int getMaxYTxt(){\n\n int max = 0;\n\n for (Point p : points){\n Rect size = getTxtBounds(tetxPaint, Float.toString(p.getY()));\n\n if(max < size.width())\n max = size.width();\n }\n\n return max;\n }", "private int getYmax(int[] yt){\n\t\tint max = -1;\n\t\tfor(int i = 0;i<=3;i++){\n\t\t\tif(max < yt[i]){\n\t\t\t\tmax = yt[i];\n\t\t\t}\n\t\t}\n\t\treturn max;\n\t}", "public long getMaxHeight(){\r\n\t\treturn world.getHeight();\r\n\t}", "public float getYHeight() {\n\t\treturn this.yHeight;\n\t}", "private Integer getHighestYAt(Location locationIncludingYmax, int minY) {\n int y = locationIncludingYmax.getBlockY();\n while (y >= minY) {\n locationIncludingYmax.setY(y);\n Block block = locationIncludingYmax.getBlock();\n if (block.getType().isSolid())\n return y;\n y--;\n }\n return -1;\n }", "public int getYSize()\n\t{\n\t\treturn this.ySize;\n\t}", "public Point getMaxPoint() {\r\n int maximumX = children.get(0).getShapeEndingPoint().getX();\r\n int maximumY = children.get(0).getShapeEndingPoint().getY();\r\n for(IShape shape: children) {\r\n if(shape.getShapeEndingPoint().getX() > maximumX) {\r\n maximumX = shape.getShapeEndingPoint().getX();\r\n }\r\n if(shape.getShapeEndingPoint().getY() > maximumY) {\r\n maximumY = shape.getShapeEndingPoint().getY();\r\n }\r\n }\r\n maxPoint = new Point(maximumX,maximumY);\r\n return maxPoint;\r\n }", "public Point getMax () {\r\n\r\n\treturn getB();\r\n }", "public int getYPos() {\r\n\t\treturn this.cameraY;\r\n\t}", "public int getSizeY() {\r\n\t\treturn sizeY;\r\n\t}", "public int getEndY() {\r\n\t\treturn endY;\r\n\t}", "public int getY() {\n synchronized (this.yLock) {\n return (int) this.movementComposer.getYPosition();\n }\n }", "public float getUpperRightY()\n {\n return ((COSNumber)rectArray.get(3)).floatValue();\n }", "public double getY()\n\t\t{\n\t\t\treturn this.y[0];\n\t\t}", "public double getEndY() {\n\treturn v2.getY();\n }", "public Integer getYOffset() {\n\t\tdouble frameHeight = this.pixy.getFrameHeight();\n\t\tdouble blockY = this.getY();\n\n\t\treturn (int) (frameHeight / 2 + blockY);\n\t}", "public int getY() {\n if (this.coordinates == null)\n return -1;\n return this.coordinates.y();\n }", "public double lastYValue() {\n\t\tif (pointList.size()==0)\n\t\t\treturn Double.NaN;\n\t\telse\n\t\t\treturn pointList.get( pointList.size()-1).getY();\n\t}", "public int getSizeY(){\r\n\t\treturn size[1];\r\n\t}", "public int getY(){\n\t\tif(!resetCoordinates()) return 10000;\n\t\treturn Math.round(robot.translation.get(1)/ AvesAblazeHardware.mmPerInch);\n\t}", "public int getHeight() {\r\n return frameHeight;\r\n }", "public int getY()\r\n\t{\r\n\t\treturn this.Y;\r\n\t}", "public int getMaxFrameNumber() {\r\n return rotationFrames.size() - 1;\r\n }", "public int getY() {\n\t\treturn this.y;\n\t}", "public int getY() {\n\t\treturn this.y;\n\t}", "public int getY() {\n\t\treturn this.y;\n\t}", "public float getY()\n {\n return fy;\n }", "public final int getY()\n\t{\n\t\treturn pos.y;\n\t}", "public double getY() {\n return this.y;\n }", "public double getY() {\n return this.y;\n }", "public double getY() {\n return this.y;\n }", "public int getY() {\r\n\t\treturn this.y;\r\n\t}", "public double getY() {\r\n return this.y;\r\n }", "public float getY() {\n return this.y;\n }", "public int getY() {\n\t\treturn Y;\n\t}", "public double getMaxHeight()\n\t{\n\t\treturn this.maxHeight;\n\t}", "public float getY() {\r\n\t\treturn y;\r\n\t}", "public int getY() {\n\t\t\tint lastRobot = (state[2 * k] + k - 1) % k;\n\t\t\treturn state[lastRobot + k];\n\t\t}", "public int getYSize() {\n\t\treturn (highPoint.getBlockY() - lowPoint.getBlockY()) + 1;\n\t}", "public int getYPosition() {\n\t\treturn this.position.y;\n\t}", "public int getY()\n\t{\n\t\treturn this.y;\n\t}", "public int getY()\n\t{\n\t\treturn this.y;\n\t}", "public int getY()\n\t{\n\t\treturn m_nPosY;\n\t}", "public int getMaxHeight() {\n\t\treturn maxHeight;\n\t\t//Quickly return the stored max height info\n\t}", "public double getY() {\n\t\treturn y;\n\t}", "public double getY() {\n\t\treturn y;\n\t}", "public double getY() {\n\t\treturn y;\n\t}", "public double getY() {\n\t\treturn y;\n\t}", "@Override\n\tpublic float getY() {\n\t\treturn this.y;\n\t}", "public double getY() {\n return mY;\n }", "public static double getOrigY() {\n return 0.3987833857536316;\n }", "public double getMaximum() {\n return (max);\n }", "public float MouseY() {\n\t\treturn container.getInput().getMouseY(); \n\t}", "public int getY() {\n return (int) Math.round(y);\n }", "public int getY()\n\t{\n\t\treturn mY;\n\t}", "public int getMaxHeight() {\n return Integer.MAX_VALUE;\n }", "private long getAbsMax() {\n return Math.max(Math.abs(Visualizer.getLowerBound().get()),\n Visualizer.getUpperBound().get());\n }", "public double getY() {\n return position.getY();\n }", "public final double getY() {\n return y;\n }", "public final double getY() {\n return y;\n }", "public double getY()\n\t{\n\t\treturn y;\n\t}", "public Float getY() {\n\t\treturn y;\n\t}", "public double getYPosition()\n\t{\n\t\treturn yPosition;\n\t}", "public int getY() {\n\t\t\n\t\treturn yPosition;\t\t// Gets the y integer\n\t}", "double getEndY();", "public int getY() {\r\n\t\treturn y;\r\n\t}" ]
[ "0.79242676", "0.78200006", "0.7816349", "0.7748343", "0.7698138", "0.7607256", "0.7550537", "0.7537809", "0.75345314", "0.7484682", "0.7419017", "0.7408993", "0.7396868", "0.7298116", "0.7296981", "0.7294877", "0.7294835", "0.72691333", "0.7213866", "0.71169007", "0.7114987", "0.7045994", "0.70442563", "0.7034612", "0.6921683", "0.6907945", "0.68809384", "0.68622303", "0.68393916", "0.6799785", "0.6795044", "0.67880297", "0.67601985", "0.6728911", "0.67251754", "0.6712546", "0.66966164", "0.6693129", "0.6674745", "0.6648412", "0.66429496", "0.6571047", "0.6568879", "0.6563398", "0.65570307", "0.6554071", "0.6544523", "0.6528324", "0.6527332", "0.65194446", "0.6517945", "0.6510893", "0.65094185", "0.65066487", "0.6499229", "0.6495884", "0.6495164", "0.6494833", "0.6494833", "0.6494833", "0.6490808", "0.6488657", "0.6485101", "0.6485101", "0.6485101", "0.64816666", "0.6468721", "0.6465904", "0.6462076", "0.64619994", "0.64573836", "0.6457128", "0.6453399", "0.6450741", "0.6448646", "0.6448646", "0.64391774", "0.6436737", "0.6425301", "0.6425301", "0.6425301", "0.6425301", "0.641999", "0.6419241", "0.64185345", "0.6407474", "0.64052474", "0.6404287", "0.63912964", "0.639094", "0.638932", "0.6380631", "0.63783807", "0.6376652", "0.6368407", "0.6367429", "0.6365145", "0.6362534", "0.6355363", "0.6350757" ]
0.81040895
0
Returns the origin point of the shape in parent's coords.
public RMPoint getXYP() { return convertPointToShape(new RMPoint(), _parent); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Point getOrigin() {\n checkWidget();\n if (content == null)\n return new Point(0, 0);\n Point location = content.getLocation();\n return new Point(-location.x, -location.y);\n }", "@Override\n public Point getOrigin() {\n return origin;\n }", "@Override\n public Location getOrigin() {\n return getOwner().getLocation();\n }", "public Point getOrigin() {\n return origin;\n }", "public Point2D getOrigin() {\n Point2D resultOrigin;\n resultOrigin = new Point2D(this.origin.getX(), this.origin.getY());\n return resultOrigin;\n\n }", "protected Vector3D getRefCompCenterRelParent(AbstractShape shape) {\n Vector3D centerPoint;\n if (shape.hasBounds()) {\n centerPoint = shape.getBounds().getCenterPointLocal();\n centerPoint.transform(shape.getLocalMatrix()); //macht den punkt in self space\n } else {\n Vector3D localObjCenter = shape.getCenterPointGlobal();\n localObjCenter.transform(shape.getGlobalInverseMatrix()); //to localobj space\n localObjCenter.transform(shape.getLocalMatrix()); //to parent relative space\n centerPoint = localObjCenter;\n }\n return centerPoint;\n }", "public final ShapeParent getShapeParent()\n {\n return parent;\n }", "public int getXOrigin() {\n return ic.getXOrigin();\n }", "public Point2D getOrigin() {\r\n return new Point2D.Double(originX, originY);\r\n }", "public Vector3f getOrigin() {\r\n\t\treturn new Vector3f(mOrigin);\r\n\t}", "public Location getOrigin() {\n/* 1094 */ Location origin = (getHandle()).origin;\n/* 1095 */ return (origin == null) ? null : origin.clone();\n/* */ }", "public Point getLocationInParentWindow() {\n return this.mLocationInParentWindow;\n }", "public Node getOrigin()\r\n\t{\r\n\t\treturn origin;\r\n\t}", "public double getX() {\n\t\tRectangle2D bounds = _parentFigure.getBounds();\n\t\tdouble x = bounds.getX() + (_xt * bounds.getWidth());\n\t\treturn x;\n\t}", "public int getAbsoluteX() {\r\n return getAbsoluteLeft() - getParent().getAbsoluteLeft();\r\n }", "public RMParentShape getParent() { return _parent; }", "public double getX() {\n return origin.getX();\n }", "N getOrigin();", "public Point getCorner() {\r\n\t\treturn basePoly.getBounds().getLocation();\r\n\t}", "public Location getOrigin() {\n return mOrigin;\n }", "public Vector3d getOrigin() { return mOrigin; }", "public Point getTopLeft() {\n return location.topLeft();\n }", "public int getOrigin() {\r\n\t\treturn origin;\r\n\t}", "@Override\r\n default Vector3 getOrigin() {\r\n return Vector3.fromXYZ(getOrgX(), getOrgY(), getOrgZ());\r\n }", "public final int getAbsoluteX() {\n assert (parent != null);\n if (parent == this) {\n return x;\n }\n if ((parent instanceof TWindow)\n && !(parent instanceof TMenu)\n && !(parent instanceof TDesktop)\n ) {\n // Widgets on a TWindow have (0,0) as their top-left, but this is\n // actually the TWindow's (1,1).\n return parent.getAbsoluteX() + x + 1;\n }\n return parent.getAbsoluteX() + x;\n }", "public Integer getOrigin() {\n\t\treturn new Integer(origin);\n\t}", "public double getX (){\n if (_parent != null)\n return _node.getLayoutX() + _parent.getX();\n else\n return _node.getLayoutX() ;\n }", "public Object getLocation() {\n return leftSide.getLocation();\n }", "public String getOrigin(){\r\n\t\treturn this.getChild(\"origin\").getAttribute(\"ref\").getValue();\r\n\t}", "public Position origin(Position ep) throws InvalidPositionException;", "public Point getLocation() {\r\n\t\treturn this.center;\r\n\t}", "public final ShapeView getParentView()\n {\n ShapeParent ancestor = getShapeParent();\n \n while (ancestor != null)\n {\n if (ancestor instanceof ShapeView)\n {\n return (ShapeView) ancestor;\n }\n \n ancestor = ancestor.getShapeParent();\n }\n \n return null;\n }", "protected abstract void calcOrigin();", "public CarrierShape parent()\n\t{\n\t\treturn parent;\n\t}", "godot.wire.Wire.Vector3 getOrigin();", "public Point getElevatorPosition() {\n return this.elevator.getOrigin();\n }", "public VRL getParentLocation()\n {\n \tif (this.getVRL()==null)\n \t\treturn null; \n \t\n \treturn this._nodeVRL.getParent();\n }", "public Point getLocPoint(){\n return super.getLocation();\n }", "public Point getAbsPosition() {\n return Game.getMap().TFMapCoordinateToMapCenter(position);\n }", "public java.lang.String getOrigin()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ORIGIN$16, 0);\n if (target == null)\n {\n return null;\n }\n return target.getStringValue();\n }\n }", "private Point findTopLeftCornerPoint() {\n return new Point(origin.getX(), origin.getY() + width);\n }", "private void setOrigin() {\n Hep3Vector origin = VecOp.mult(CoordinateTransformations.getMatrix(), _sensor.getGeometry().getPosition());\n // transform to p-side\n Polygon3D psidePlane = this.getPsidePlane();\n Translation3D transformToPside = new Translation3D(VecOp.mult(-1 * psidePlane.getDistance(),\n psidePlane.getNormal()));\n this._org = transformToPside.translated(origin);\n }", "public Point getOriginalPoint() {\r\n\t\treturn originalPoint;\r\n\t}", "@Override\n public double getPosX() {\n return this.pos[0];\n }", "@Override\n\tpublic double[] getOrigin()\n\t{\n\t\tdouble origin[] = new double[] {originX, originY};\n\t\treturn origin;\n\t}", "public Point getLocation() {\n return pos;\n }", "public Point getLocalPosition() {\n return getLocalLowerLeft();\n }", "@Override\n\tpublic Point getLocation() {\n\t\treturn position;\n\t}", "public Point getLocation(){\r\n return super.getLocation();\r\n }", "godot.wire.Wire.Vector2 getOrigin();", "Origin getOrigin();", "@java.lang.Override\n public godot.wire.Wire.Vector3 getOrigin() {\n return origin_ == null ? godot.wire.Wire.Vector3.getDefaultInstance() : origin_;\n }", "public PVector getTransformedPosition(){\n\t\treturn gui.getTransform().transform(position);\n\t}", "public Point getLocation(){\n\t\tint x = widgetchild.getAbsoluteX();\n\t\tint y = widgetchild.getAbsoluteY();\n\t\tint rx = Random.nextInt(0, widgetchild.getWidth());\n\t\tint ry = Random.nextInt(0, widgetchild.getHeight());\n\t\treturn new Point(x+rx,y+ry);\n\t}", "public String getOrigin() {\n return mOrigin;\n }", "public Location getOrig() {\n return ticketsCalculator.getOrigin();\n }", "public Point getMinPoint() {\r\n int minX = children.get(0).getShapeStartingPoint().getX();\r\n int minY = children.get(0).getShapeStartingPoint().getY();\r\n for(IShape shape: children) {\r\n if(minX > shape.getShapeStartingPoint().getX()) {\r\n minX = shape.getShapeStartingPoint().getX();\r\n }\r\n if(minY > shape.getShapeStartingPoint().getY()) {\r\n minY = shape.getShapeStartingPoint().getY();\r\n }\r\n }\r\n minPoint = new Point(minX,minY);\r\n return minPoint;\r\n }", "public Vector2 parentToLocalCoordinates(Vector2 parentCoords) {\n return internalGroup.parentToLocalCoordinates(parentCoords);\n }", "public void getOriginX(){\n\t\toriginX.setText(Double.toString(note.getOriginX()));\n\t}", "public int getX0() {\n\t\treturn this.origin.getX0();\n\t}", "Point getCenter();", "Point getCenter();", "public RMShape getRootShape() { return _parent!=null? _parent.getRootShape() : this; }", "public GeoPoint getStart(){\n return getOrigin();\n }", "public GraphicalLattice getParentLattice() {\n\t\treturn parentLattice;\n\t}", "private Point2D computeLayoutOrigin() {\r\n\r\n\t\tDimension size = getSize();\r\n\r\n\t\tPoint2D.Float origin = new Point2D.Float();\r\n\r\n\t\torigin.x = (float) (size.width - textLayout.getAdvance()) / 2;\r\n\t\torigin.y = (float) (size.height - textLayout.getDescent() + textLayout\r\n\t\t\t\t.getAscent()) / 2;\r\n\r\n\t\treturn origin;\r\n\t}", "public Reference origin() {\n return getObject(Reference.class, FhirPropertyNames.PROPERTY_ORIGIN);\n }", "public java.lang.CharSequence getOriginp() {\n return originp;\n }", "public String getOrigin()\n {\n return m_origin;\n }", "public org.apache.xmlbeans.XmlString xgetOrigin()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlString target = null;\n target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(ORIGIN$16, 0);\n return target;\n }\n }", "@Override\n\tpublic double getXLoc() {\n\t\tdouble side = Math.sqrt(getMySize())/2;\n\t\treturn x+side;\n\t}", "public int getYOrigin() {\n return ic.getYOrigin();\n }", "@Override\r\n public Point getRelatedSceneLocation() {\r\n return getLocationPoint(locationRatio);\r\n }", "public Vector2 Origin() {\r\n return new Vector2(Animation().FrameWidth() / 2.0f, Animation().FrameHeight());\r\n }", "public java.lang.String getPlaceOfOrigin () {\n\t\treturn placeOfOrigin;\n\t}", "public int getX() {\n\treturn baseXCoord;\n}", "public java.lang.CharSequence getOriginp() {\n return originp;\n }", "public static int offset_parent() {\n return (40 / 8);\n }", "@java.lang.Override\n public godot.wire.Wire.Vector2 getOrigin() {\n return origin_ == null ? godot.wire.Wire.Vector2.getDefaultInstance() : origin_;\n }", "public Point getThisPosition() {\n \n return location_;\n \n }", "public String getOrigin(){\r\n\t\treturn route.getOrigin();\r\n\t}", "public RTWLocation parent();", "public Point getPosition(){\r\n return new Point(this.position);\r\n }", "public Point getPosition() {\n return this.position;\n }", "public void setParent(RMParentShape aShape) { _parent = aShape; }", "public godot.wire.Wire.Vector3 getOrigin() {\n if (originBuilder_ == null) {\n return origin_ == null ? godot.wire.Wire.Vector3.getDefaultInstance() : origin_;\n } else {\n return originBuilder_.getMessage();\n }\n }", "@Override\n\t\t\tpublic Vector getPosition() {\n\t\t\t\treturn new Vector(-2709.487, -4281.02, 3861.564); //-4409.0, 2102.0, -4651.0);\n\t\t\t}", "public abstract Position<E> getLeftParent(Position<E> p);", "public InetSocketAddress getOrigin () {\n\t\treturn origin;\n\t}", "private double getPosX() {\n\t\treturn this.posX.get();\n\t}", "public final Point getPosition()\n\t{\n\t\treturn pos;\n\t}", "public Point3D getLocation() {\n\t\treturn p;\n\t}", "public RMParentShape getOwner() { return _owner; }", "public Point2D getLeftCenterPoint()\n {\n double x = mainVBox.getTranslateX();\n double y = mainVBox.getTranslateY() + (mainVBox.getHeight() / 2);\n return new Point2D(x, y);\n }", "public Path getParent(\n ) {\n return this.parent;\n }", "public Ent getParent(){\n\t\treturn (Ent)bound.getParent();\n\t}", "public Coordinate getCoordinate() {\n\t\treturn super.listCoordinates().get(0);\n\t}", "public Point getPosition()\n\t{\n\t\treturn pos;\n\t}", "public Cartesian3d getPosition() {\n return getMotion().getPosition();\n }", "public String getOrigin() {\n return origin;\n }" ]
[ "0.75442004", "0.73085105", "0.73044264", "0.7254383", "0.70657766", "0.70217794", "0.70203406", "0.69979346", "0.69067025", "0.68829584", "0.68491083", "0.68208385", "0.68045175", "0.67653227", "0.6715083", "0.6668591", "0.6652418", "0.66255957", "0.6616846", "0.66137433", "0.65965897", "0.6573309", "0.6567409", "0.65592474", "0.6442791", "0.6432362", "0.64072895", "0.6400488", "0.6386103", "0.63583803", "0.63466245", "0.63418853", "0.63417935", "0.63368344", "0.62767607", "0.6267916", "0.62613755", "0.62495375", "0.62449336", "0.6218563", "0.62165284", "0.6202964", "0.61952776", "0.6170606", "0.6163433", "0.61354697", "0.61328137", "0.61319214", "0.61292565", "0.61201936", "0.61070716", "0.6104344", "0.6100605", "0.6076961", "0.6073775", "0.60572284", "0.60377157", "0.60361654", "0.60327065", "0.6009836", "0.60025877", "0.60025877", "0.5985947", "0.59778756", "0.59633213", "0.5961673", "0.5945801", "0.59417075", "0.5917455", "0.5916811", "0.59140676", "0.5913802", "0.5902524", "0.5888651", "0.5886921", "0.5882959", "0.58767295", "0.58618116", "0.5859189", "0.58517146", "0.58500755", "0.5849462", "0.5841945", "0.58393455", "0.5838236", "0.583565", "0.58353585", "0.5834659", "0.5827533", "0.5827356", "0.5824697", "0.58238643", "0.58158857", "0.5811162", "0.5809754", "0.58058405", "0.5792509", "0.5790937", "0.5788179", "0.5787289" ]
0.71024245
4
Sets the origin point of the shape to the given X and Y in parent's coords.
public void setXYP(double anX, double aY) { // If rotated-scaled-skewd, get XY in parent coords and set XY as an offset from parent if(isRSS()) { RMPoint p = getXYP(); setXY(_x + anX - p.x, _y + aY - p.y); } // If not rotated-scaled-skewed, just set x/y (adjusted if width/height are negative) else setXY(_width<0? anX-_width : anX, _height<0? aY-_height : aY); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setOrigin(Point origin) {\n setOrigin(origin.x, origin.y);\n }", "public void setOrigin(Point p) {\n origin = new Point(p);\n }", "private void setOrigin() {\n Hep3Vector origin = VecOp.mult(CoordinateTransformations.getMatrix(), _sensor.getGeometry().getPosition());\n // transform to p-side\n Polygon3D psidePlane = this.getPsidePlane();\n Translation3D transformToPside = new Translation3D(VecOp.mult(-1 * psidePlane.getDistance(),\n psidePlane.getNormal()));\n this._org = transformToPside.translated(origin);\n }", "public void setPathOrigin(int x, int y);", "public void setOrigin(float originX, float originY) {\n internalGroup.setOrigin(originX, originY);\n dataTrait.originX = originX;\n dataTrait.originY = originY;\n resetSprite();\n }", "public void setOrigin(int x, int y) {\r\n\t\torigin.setLocation(x, y);\r\n\t}", "final void setParent(ShapeParent newParent)\n {\n this.parent = newParent;\n }", "public void setParent(RMParentShape aShape) { _parent = aShape; }", "public void setOrigin(Point2D origin) {\r\n if (origin == null) {\r\n return;\r\n }\r\n\r\n Point2D old = getOrigin();\r\n originX = origin.getX();\r\n originY = origin.getY();\r\n firePropertyChange(\"origin\", old, getOrigin());\r\n repaint();\r\n }", "@Override\n\tpublic LSystemBuilder setOrigin(double x, double y) {\n\t\tthis.origin = new Vector2D(x, y);\n\t\treturn this;\n\t}", "public void setParent(CarrierShape parent)\n\t{\n\t\tthis.parent = parent;\n\t}", "private void setOriginNode() {\n double sumX = 0;\n double sumY = 0;\n Iterator<Point> it = _elements.iterator();\n while (it.hasNext()) {\n Point p = it.next();\n sumX += x(p);\n sumY += y(p);\n }\n _nodeOrigin[0] = sumX / _elements.size();\n _nodeOrigin[1] = sumY / _elements.size();\n }", "public void setOrigin(){\n // draw X-axis\n graphics2D.draw(new Line2D.Double(leftMiddle, rightMiddle));\n\n // draw string \"+X\" and \"-X\"\n graphics2D.drawString(\"+X\", (int) rightMiddle.getX() - 10, (int) rightMiddle.getY() - 5);\n graphics2D.drawString(\"-X\", (int) leftMiddle.getX() + 10, (int) leftMiddle.getY() + 10);\n\n // draw Y-axis\n graphics2D.draw(new Line2D.Double(topMiddle, bottomMiddle));\n\n // draw string \"+Y\" and \"-Y\"\n graphics2D.drawString(\"+Y\", (int) topMiddle.getX() + 5, (int) topMiddle.getY() + 10);\n graphics2D.drawString(\"-Y\", (int) bottomMiddle.getX() - 15, (int) bottomMiddle.getY());\n\n }", "public void setSpawnPoint() {\n if (this.dirVec.y == 0) {\n super.centerRectAt(new Point(-1*OUTER_OFFSET, super.getCenter().y));\n }\n else {\n super.centerRectAt(new Point(super.getCenter().x, OUTER_OFFSET));\n }\n }", "public void center() {\n\t\tif(parent != null) {\n\t\t\tfloat parMidWidth = parent.getWidth() / 2f;\n\t\t\tfloat parMidHeight = parent.getHeight() / 2f;\n\t\t\tfloat midWidth = width / 2f;\n\t\t\tfloat midHeight = height / 2f;\n\t\t\t\n\t\t\tfloat newX = parent.getX() + (parMidWidth - midWidth);\n\t\t\tfloat newY = parent.getY() + (parMidHeight - midHeight);\n\t\t\t\n\t\t\tposition = new Vec2f(newX, newY);\n\t\t\tfindPosRatios();\n\t\t}\n\t}", "abstract void setOrigin(double x, double y, double z);", "@Override\n public void setLoc(Point p) {\n this.rect.setLocation(p);\n }", "public void setOrigin(int x, int y) {\n ic.setOrigin(x, y);\n notifyViewportListeners(x, y, panelWidth, panelHeight);\n }", "public void setOrigin(String origin){\r\n\t\tPointingElement originChild = new PointingElement(\"origin\",\"\");\r\n\t\toriginChild.addAttribute(new PointingElement(\"ref\",origin));\r\n\t\tthis.addChild(originChild);\r\n\t}", "public void updateCoords() {\n line.setLine(parent.getFullBounds().getCenter2D(), child.getFullBounds().getCenter2D());\n Rectangle2D r = line.getBounds2D();\n // adding 1 to the width and height prevents the bounds from\n // being marked as empty and is much faster than createStrokedShape()\n setBounds(r.getX(), r.getY(), r.getWidth() + 1, r.getHeight() + 1);\n invalidatePaint();\n }", "default void setOrigin(Vector3 point) {\r\n setOrigin(point.getX(), point.getY(), point.getZ());\r\n }", "public void setGraphicalWidgetOrigin(double x,\n double y,\n GraphicalWidget<?> gw)\n {\n frameUI.setGraphicalWidgetOrigin(x, y, gw);\n }", "@Override\n public Point getOrigin() {\n return origin;\n }", "public void setOrigin(Vector3f origin) {\r\n\t\tmOrigin.set(origin);\r\n\t}", "public void setLocation(int X, int Y){\n \tlocation = new Point(X,Y);\n }", "public void setPosition(Point pos) {\n this.topLeft = pos.asVector();\n }", "public void moveToOrigin() {\n for(Waypoint waypoint : path)\n waypoint.setCoordinates(waypoint.getX() - path.get(0).getX(),\n waypoint.getY() - path.get(0).getY());\n }", "public void changePos(double xP, double yP){ \n this.xCoor += xP;\n this.yCoor += yP;\n \n }", "protected void setupRotationOrigin()\n\t{\n\t\tthis.currentRotationAxis = new Point2D.Double(getOriginX(), getOriginY());\n\t\tupdateDefaultMomentMass();\n\t\tthis.currentMomentMass = this.defaultMomentMass;\n\t\t\n\t\t//changeRotationAxisTo(new Point2D.Double(0, 0));\n\t}", "protected void setOrigin(Ray ray) {\n\t\tDirection origin = ray.getDirection().getOpposite();\n\t\tsetBeam(origin, ray);\n\t}", "public void setLocation(Vec2f loc) {\n\t\tsuper.setLocation(loc);\n\t\tif (_shape != null) _shape.setLocation(loc);\n\t}", "protected abstract void calcOrigin();", "public RMPoint getXYP() { return convertPointToShape(new RMPoint(), _parent); }", "public void SetPosition(Vector2 position)\n\t{\n\t\tTransform transform = parent.transform;\n\t\ttransform.position = position;\n\t\t// Dont loose your dP!\n\t\tpreviousPosition = Vector2.Add(position,velocity.negate());\n\t}", "public Point getOrigin() {\n return origin;\n }", "public void setOrigin(int x, int y) {\n checkWidget();\n if (content == null)\n return;\n \n horizontalBar.setPosition(-x);\n verticalBar.setPosition(-y);\n //\t\t\n //\t\tScrollBar hBar = getHorizontalBar();\n //\t\tif (hBar != null) {\n //\t\t\thBar.setSelection(x);\n //\t\t\tx = -hBar.getSelection();\n //\t\t} else {\n //\t\t\tx = 0;\n //\t\t}\n //\t\tScrollBar vBar = getVerticalBar();\n //\t\tif (vBar != null) {\n //\t\t\tvBar.setSelection(y);\n //\t\t\ty = -vBar.getSelection();\n //\t\t} else {\n //\t\t\ty = 0;\n //\t\t}\n content.setLocation(x, y);\n }", "public void setCoordinate(int PointX, int PointY)\n {\n rectangle.set(PointX - rectangle.width()/2, PointY - rectangle.height()/2, PointX + rectangle.width()/2,PointY + rectangle.height()/2);\n\n //hitBox(this.rectangle);\n }", "public Point getOrigin() {\n checkWidget();\n if (content == null)\n return new Point(0, 0);\n Point location = content.getLocation();\n return new Point(-location.x, -location.y);\n }", "public void setRelPosition(double x, double y) {\n\t\trelX = x;\n\t\trelY = y;\n\t}", "public void\nshiftToOrigin()\n{\n\tthis.setLine(0.0, 0.0,\n\t\tthis.getP2().getX() - this.getP1().getX(),\n\t\tthis.getP2().getY() - this.getP1().getY());\n}", "public void setPosition(Coordinate coord) {\n this.coordinate = coord;\n }", "public void setOwner(RMParentShape anObj) { _owner = anObj; }", "void setPosition(double xPos, double yPos);", "@Override\n public Location getOrigin() {\n return getOwner().getLocation();\n }", "@Override\n\tpublic void setPos(int x, int y) {\n\t\txPos = x;\n\t\tyPos = y;\n\t}", "public void setPosition(int x, int y)\n\t{\n\t\tint w = getSize().width;\n\t\tint h = getSize().height;\n\n\t\tpos.x = x;\n\n\t\tpos.y = y;\n\n\t\trect.setLocation(x - w / 2, y - h / 2);\n\t}", "public void setPosition(int x, int y) {\n this.coordX = x;\n this.coordY = y;\n }", "@Override\n public void setCoord(PuertoPosition pp, Point2D newCoord) {\n layout.setLocation(pp, newCoord);\n }", "public void setOrigin(int[] origin) throws Exception {\n\t\tif (origin[1]>width-1||origin[0]>height-1||origin[1]<1||origin[0]<1) {\n\t\t\tthrow new Exception(\"position wrong\");\n\t\t}\n\t\tthis.origin[0]=origin[0];\n\t\tthis.origin[1]=origin[1];\n\t}", "public void setCoord(Coords coord) {\r\n\t\tthis.coord = coord;\r\n\t}", "@Override\n public Position setPosition(double x, double y) {\n this.x = x;\n this.y = y;\n\n return new Position(x, y);\n }", "void setPos(float x, float y);", "public void setPosition(double x, double y) {\r\n this.x = x;\r\n this.y = y;\r\n }", "public void setLoc(int lx, int ly){\r\n \tbox.setLocation(lx,ly);\r\n }", "public void setOrigin(Vec4df origin) {\n this.origin = origin;\n }", "public void setPosition(Point position){\r\n this.position.set(position.x, position.y);\r\n\r\n this.shadow.setPosition(position);\r\n this.surface.setPosition(position);\r\n this.shading.setPosition(position);\r\n\r\n\r\n this.setBounds(new Rect(\r\n this.position.x - this.radius,\r\n this.position.y - this.radius,\r\n this.position.x + this.radius,\r\n this.position.y + this.radius\r\n ));\r\n \r\n }", "public void setPosition(float x, float y);", "public void setLocation(float x, float y);", "public void setPosition(Point position);", "void setCenter() {\n\t\tLine line02 = new Line(myParent, new PVector(), new PVector());\n\t\tLine line13 = new Line(myParent, new PVector(), new PVector());\n\t\tline02.set(point[0].position, point[2].position);\n\t\tline13.set(point[1].position, point[3].position);\n\t\tif (line02.intersects_at(line13) != null) // if two points are on each\n\t\t\t\t\t\t\t\t\t\t\t\t\t// other\n\t\t\tcenter.set(line02.intersects_at(line13));\n\t}", "@Override\n\tpublic void setParent(ASTNode node) {\n\t\tthis.parent = node;\n\t\t\n\t}", "void setPosition(Point point);", "public void setXLoc(int xLoc){\n myRectangle.setX(xLoc);\n }", "public void setCenter(Point newPoint) {\n this.center = newPoint;\n }", "public void setPosition(Point newPosition);", "public void setPosition(double x, double y) {\n this.x = x;\n this.y = y;\n }", "public void set(Coord dest) {\n x = dest.x;\n y = dest.y;\n }", "public T setPoint(float x, float y) {\n this.startX = x;\n this.startY = y;\n return self();\n }", "@Override\n\tpublic void setLocation(double x, double y) {\n\t\t(super.getSquare1()).setLocation(x,y);\n\t\t(super.getSquare2()).setLocation(x,y+Constants.SQUARE_SIDE);\n\t\t(super.getSquare3()).setLocation(x+Constants.SQUARE_SIDE, y+Constants.SQUARE_SIDE);\n\t\t(super.getSquare4()).setLocation(x+Constants.SQUARE_SIDE, y+(2*Constants.SQUARE_SIDE));\n\t}", "public void setPosition(int diagramID) {\n if(diagramID == sourceId) {\n startX = base.getCenterX();\n startY = base.getCenterY();\n }\n else {\n headLayoutX = head.getLayoutX();\n headLayoutY = head.getLayoutY();\n }\n }", "public void setOrigin(int source) {\r\n\t\tthis.origin = source;\r\n\t}", "public RMParentShape getParent() { return _parent; }", "public void setLocation( Point p ) {\r\n this.x = p.x;\r\n this.y = p.y;\r\n }", "public void setPosition(Point point) {\n setPosition(point.x, point.y);\n }", "public void setLoc(int x, int y) {\n locX = x;\n locY = y;\n }", "public void setCoords(int x, int y) {\n\t\t setLayoutX(x);\n\t setLayoutY(y);\n\t}", "@Override\n\tpublic void SetCoord(double x, double y) {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "public void setXY(Point2D aPoint) { setXY(aPoint.getX(), aPoint.getY()); }", "public void setLocation(int x, int y) {\r\n manager.setLocation(this, x, y);\r\n }", "@Override\n\tpublic void setLocation(double x, double y) {\n\t\tdouble oldX = getX();\n\t\tdouble oldY = getY();\n\t\tdouble dx = x - oldX;\n\t\tdouble dy = y - oldY;\n\t\tfor (GPoint point : this) {\n\t\t\tpoint.translate(dx, dy);\n\t\t}\n\t\trepaint();\n\t}", "public void setPosition(double x, double y){\r\n this.x = (float)x;\r\n this.y = (float)y;\r\n changed();\r\n }", "public void setPosition(Point p) {\r\n\t\tthis.position = p;\r\n\t\tc.setPosition(p);\r\n\t}", "@Override\n public void setPosition(float x, float y) {\n }", "public void setParent(PafDimMember parent) {\r\n\t\tthis.parent = parent;\r\n\t}", "public void setPosition(double x, double y) {\n\t\tsetX(x);\n\t\tsetY(y);\n\t}", "public void setCenter(float x, float y) {\r\n\t\tbasePoly.translate((int) -center.x, (int) -center.y);\r\n\t\tcenter = new Point2D.Float(x, y);\r\n\t\tbasePoly.translate((int) center.x, (int) center.y);\r\n\t}", "private void setPosition(float x, float y) {\n this.x = x;\r\n this.y = y;\r\n group();\r\n }", "public void setLocation(int someX, int someY) {\r\n\t\tx = someX;\r\n\t\ty = someY;\r\n\t}", "public void setPosition(double x, double y)\n {\n mPosition = new Point2D.Double(x, y);\n }", "@Override public void setPosition(double nx, double ny) {\n super.setPosition(nx, ny);\n ppx = px = nx;\n ppy = py = ny;\n }", "public void setPosition(double x, double y) {\n getMotion().setPosition(x, y);\n }", "public void setFromCoordinates(int fromX, int fromY);", "public void setParent(ASTNeoNode parent) {\r\n \t\tassertTrue(parent != null);\r\n \t\tassertTrue(this.parent == null); // Can only set parent once\r\n \t\tthis.parent = parent;\r\n \t}", "public void setParent(ASPMSyntaxElement parent) {\n\t\tassert this.parent == null;\n\t\tthis.parent = parent;\n\t}", "public void setParent(Node parent){\n this.parent = parent;\n }", "public void setPosition(double x, double y) {\n // set the location\n setLocation((int)Math.round(x), (int)Math.round(y));\n \n // set the position variables\n position.x = x;\n position.y = y;\n }", "public void setPoint(int x, int y) {\r\n this.x = x;\r\n this.y = y;\r\n }", "public void setParent (CompoundExpression parent)\r\n\t\t{\r\n\t\t\t_parent = parent;\r\n\t\t}", "public void setPosition(float x, float y)\n {\n bounds.offsetTo(\n x - positionAnchor.x,\n y - positionAnchor.y);\n notifyParentOfPositionChange();\n conditionallyRelayout();\n }", "void moveToPoint(float x, float y) {\n _x = x;\n _y = y;\n }" ]
[ "0.6962096", "0.6924577", "0.6807288", "0.6792002", "0.67919856", "0.677372", "0.6589126", "0.65408623", "0.644425", "0.6413788", "0.63486195", "0.62684643", "0.62530243", "0.6233232", "0.62084943", "0.6158327", "0.6155074", "0.61189514", "0.60971236", "0.60715073", "0.60360974", "0.5950775", "0.593709", "0.58854115", "0.58235973", "0.58199954", "0.5801415", "0.5790231", "0.5781621", "0.57490385", "0.5745502", "0.5728459", "0.5727322", "0.5718676", "0.5718539", "0.57100517", "0.5680953", "0.56622183", "0.56520855", "0.5636404", "0.5625345", "0.56151474", "0.56134903", "0.55980724", "0.5591705", "0.5582131", "0.5573545", "0.55732864", "0.5565793", "0.556579", "0.55590075", "0.55406624", "0.5539046", "0.5538794", "0.5537905", "0.55297005", "0.552879", "0.5510077", "0.55058813", "0.55008215", "0.5493999", "0.549047", "0.54861975", "0.5483737", "0.5481121", "0.547982", "0.54795486", "0.54744685", "0.5469792", "0.54686695", "0.54594964", "0.5454956", "0.54546416", "0.5449671", "0.5437518", "0.54365605", "0.5435211", "0.5427855", "0.54251057", "0.5415252", "0.541339", "0.54108036", "0.53963643", "0.5395787", "0.5386337", "0.5385148", "0.5384052", "0.5383676", "0.53835595", "0.53817415", "0.537992", "0.5375456", "0.5372029", "0.53699607", "0.53685826", "0.5366489", "0.53658015", "0.5365585", "0.53608114", "0.5359262" ]
0.5578672
46
Offsets the X and Y location of the shape by the given dx & dy amount (convenience).
public void offsetXY(double dx, double dy) { setXY(_x + dx, _y + dy); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void setPositions(float dx, float dy) {\n\n // prevent the point to be drag outside of the parent layout on the X axis\n if (getX() + dx + 2 * POINT_RADIUS >= ((View) getParent()).getWidth())\n setX(((View) getParent()).getWidth() - 2 * POINT_RADIUS);\n else if (getX() + dx < 0)\n setX(0);\n else\n setX(getX() + dx);\n\n\n // prevent the point to be drag outside of the parent layout on the Y axis\n if (getY() + dy + 2 * POINT_RADIUS > ((View) getParent()).getHeight())\n setY(((View) getParent()).getHeight() - 2 * POINT_RADIUS);\n else if (getY() + dy < 0)\n setY(0);\n else\n setY(getY() + dy);\n\n }", "void move(int dx, int dy) {\n position = position.addX(dx);\n position = position.addY(dy);\n }", "public void translate(float dx, float dy) {\n float oldv = this.x;\n float newv = oldv + dx;\n if (dx < 0) {\n // moving leftward\n if (newv > oldv) {\n // negative overflow\n // Only adjust width if it was valid (>= 0).\n if (w >= 0) {\n // The right edge is now conceptually at\n // newv+width, but we may move newv to prevent\n // overflow. But we want the right edge to\n // remain at its new location in spite of the\n // clipping. Think of the following adjustment\n // conceptually the same as:\n // width += newv; newv = MIN_VALUE; width -= newv;\n w += newv - Float.MIN_VALUE;\n // width may go negative if the right edge went past\n // MIN_VALUE, but it cannot overflow since it cannot\n // have moved more than MIN_VALUE and any non-negative\n // number + MIN_VALUE does not overflow.\n }\n newv = Float.MIN_VALUE;\n }\n } else {\n // moving rightward (or staying still)\n if (newv < oldv) {\n // positive overflow\n if (w >= 0) {\n // Conceptually the same as:\n // width += newv; newv = MAX_VALUE; width -= newv;\n w += newv - Float.MAX_VALUE;\n // With large widths and large displacements\n // we may overflow so we need to check it.\n if (w < 0) w = Float.MAX_VALUE;\n }\n newv = Float.MAX_VALUE;\n }\n }\n this.x = newv;\n\n oldv = this.y;\n newv = oldv + dy;\n if (dy < 0) {\n // moving upward\n if (newv > oldv) {\n // negative overflow\n if (h >= 0) {\n h += newv - Float.MIN_VALUE;\n // See above comment about no overflow in this case\n }\n newv = Float.MIN_VALUE;\n }\n } else {\n // moving downward (or staying still)\n if (newv < oldv) {\n // positive overflow\n if (h >= 0) {\n h += newv - Float.MAX_VALUE;\n if (h < 0) h = Float.MAX_VALUE;\n }\n newv = Float.MAX_VALUE;\n }\n }\n this.y = newv;\n }", "public void translate(double dx, double dy) {\n this.left += dx;\n this.right += dx;\n this.top += dy;\n this.bottom += dy;\n }", "public void updatePosition() {\n \t\r\n \tx += dx;\r\n \ty += dy;\r\n \t\r\n\t}", "public void translate(int dx, int dy) {\r\n this.x = dx;\r\n this.y = dy;\r\n }", "public void moveBy(int dx, int dy){\n x += dx;\n y += dy;\n }", "public void move(int dx, int dy) {\n this.xPosition += dx;\n this.yPosition += dy;\n }", "void moveTo(int dx, int dy);", "public void move(int dx, int dy) {\n this.x = this.x + dx;\n this.y = this.y + dy;\n }", "public void translate(double dx, double dy) {\n x += dx;\n y += dy;\n Canvas.getInstance().repaint();\n }", "public void setMove(float dx, float dy) {\n float dstWidth = src.right - src.left;\n float dstHeight = src.bottom - src.top;\n dst.left = src.left + dx > 0 ? 0 : (src.left + dx);\n dst.top = src.top + dy > 0 ? 0 : (src.top + dy);\n dst.right = dst.left + dstWidth;\n dst.bottom = dst.top + dstHeight;\n\n dst.right = dst.right < mapViewWidth ?\n mapViewWidth : dst.right;\n dst.bottom = dst.bottom < mapViewHeight ?\n mapViewHeight : dst.bottom;\n dst.left = dst.right - dstWidth;\n dst.top = dst.bottom - dstHeight;\n\n src = dst;\n setxZero();\n setyZero();\n Log.d(\"dxdy\", \"dx=\" + dx + \",dy=\" + dy);\n Log.d(\"setMove\", \"dst.left=\" + dst.left + \",dst.top=\" + dst.top + \",dst.right=\" + dst.right + \",dst.bottom=\" + dst.bottom);\n setChanged();\n notifyObservers();\n }", "public void move(double dx, double dy)\n\t{\n\t\txPosition += dx;\n\t\tyPosition += dy;\n\t}", "public void panMapCoords(double dx, double dy){\n transform.translate(dx, dy);\n repaint();\n }", "private void updateShapeOffset() {\n int offsetX = scroller.getOffsetX();\n int offsetY = scroller.getOffsetY();\n shape.setOffset(offsetX, offsetY);\n }", "public void addAtOffset(double dx, double dy) {\n\t\tGPoint prev = isEmpty() ? new GPoint(0, 0) : last();\n\t\tadd(prev.getX() + dx, prev.getY() + dy);\n\t}", "private void move(int dx, int dy) {\n }", "public void translate(double dx, double dy) {\r\n super.translate(dx,dy);\r\n lastDx=dx;\r\n lastDy=dy;\r\n }", "public void increasePosition(float dx, float dy, float dz);", "public void move(float dx, float dy) {\n\t\tthis.setX(this.getX()+dx);\n\t\tthis.setY(this.getY()+dy);\n\t}", "public void move(float dx, float dy)\n {\n bounds.offset(dx, dy);\n notifyParentOfPositionChange();\n conditionallyRelayout();\n }", "public void translate() {\r\n this.x += dx;\r\n this.y += dy;\r\n }", "public void move(int dx, int dy) {\n\t\tint x = getXPosition() + dx;\n\t\tint y = getYPosition() + dy;\n\t\tsetPosition(x, y);\n\t}", "public void move(double dx, double dy){\r\n x+= dx;\r\n y+= dy;\r\n changed();\r\n }", "public void translate(double dx, double dy) {\n\t\tfor (GPoint point : this) {\n\t\t\tpoint.translate(dx, dy);\n\t\t}\n\t\trepaint();\n\t}", "@Override\r\n\tpublic void update() {\n\t\tx += dx;\r\n\t\ty += dy;\r\n\t if(x<0 && dx<0) dx=-dx;\r\n\t if(x>GamePanel.WIDTH-side && dx>0) dx=-dx;\r\n\t}", "void move(double dx, double dy);", "public void pan(double dx, double dy) {\n transform.preConcatenate(AffineTransform.getTranslateInstance(dx, dy));\n repaint();\n }", "void move(int dx, int dy);", "public void pointAt(int x, int y){\n int dx=x-this.x;\n int dy=y-this.y;\n if(dx!=0)\n dir=Math.atan(((double)(dy))/((dx)))/ratioDegRad;\n else if(dy>0){\n dir=0;\n }\n else if (dy<0)\n dir=180;\n if(dx<0) {\n dir=(dir+180)%360;\n }\n\n }", "private final void offset(double offsetx, double offsety, double offsettheta) {\n\t\t_dCenterX += offsetx; _dCenterY += offsety; _theta += offsettheta;\n\t\t_centerX = (int)_dCenterX; _centerY = (int)_dCenterY; \n\t}", "public void deplace(double dx, double dy) {\r\n\t\treinforce= new Ellipse2D.Double(dx-scaleX*radius/2,dy-scaleY*radius/2,scaleX*radius,scaleY*radius);\r\n\t}", "public void moveBallBy(int dx, int dy)\n {\n currentBallX+= dx;\n currentBallY+= dy;\n }", "static public void polygon(Polygon polygon,float dx,float dy){\n polygon.setVertices(translate(polygon.getVertices(),dx,dy));\n }", "private Point getDraggingXY(int ox, int oy, int dx, int dy) {\n\t\tint x, y;\n\n\t\t// if the element has a rope holder or umlenkrolle on top of its head\n\t\t// the element is higher than normal -> extraHeight\n\t\tint extraHeight = 0;\n\t\tif (this instanceof EndElement) {\n\t\t\tEndElement endElement = (EndElement) this;\n\t\t\tif (endElement.getUmlenkrolle() != null)\n\t\t\t\textraHeight = endElement.getUmlenkrolle().getHeight();\n\t\t\tif (endElement.getSeilaufhaenger() != null)\n\t\t\t\textraHeight = endElement.getSeilaufhaenger().getHeight();\n\t\t}\n\n\t\t// if the old coordinate + difference is not outside the area border it\n\t\t// is okay\n\t\t// otherwise the coordinates are set at the border\n\t\tif (ox + dx >= 1 && ox + dx <= aufzugschacht.getWidth() - 1 - getWidth())\n\t\t\tx = ox + dx;\n\t\telse if (ox + dx < 1)\n\t\t\tx = 1;\n\t\telse\n\t\t\tx = aufzugschacht.getWidth() - 1 - getWidth();\n\n\t\tif (oy + dy - extraHeight >= 1 && oy + dy <= aufzugschacht.getHeight() - 1 - getHeight())\n\t\t\ty = oy + dy;\n\t\telse if (oy + dy - extraHeight < 1)\n\t\t\ty = 1 + extraHeight;\n\t\telse\n\t\t\ty = aufzugschacht.getHeight() - 1 - getHeight();\n\n\t\treturn new Point(x, y);\n\t}", "public void setPathOrigin(int x, int y);", "public void panOriginDelta(double dx, double dy, boolean tweening) {\n \t\tfloat tx = (float) (mapDisplay.tx + (dx / mapDisplay.sc));\n \t\tfloat ty = (float) (mapDisplay.ty + (dy / mapDisplay.sc));\n \t\tsetPosition(tx, ty, tweening);\n \t}", "@SuppressWarnings(\"unchecked\")\n public AnimatorType moveBy(float dx, float dy)\n {\n addTransformer(new MotionStepTransformer(getShape(),\n MotionStep.constantVelocity(dx, dy)));\n return (AnimatorType) this;\n }", "static public void shape(Shape2D shape, float dx, float dy){\n if (shape!=null) {\n if (shape instanceof Polygon) {\n polygon((Polygon) shape, dx, dy);\n } else if (shape instanceof Circle) {\n circle((Circle) shape, dx, dy);\n } else if (shape instanceof Rectangle) {\n rectangle((Rectangle) shape, dx, dy);\n } else if (shape instanceof Polypoint) {\n polypoint((Polypoint) shape, dx, dy);\n } else if (shape instanceof Polyline) {\n polyline((Polyline) shape, dx, dy);\n } else if (shape instanceof Edge) {\n edge((Edge) shape, dx, dy);\n } else if (shape instanceof Chain) {\n chain((Chain) shape, dx, dy);\n } else if (shape instanceof Shape2DCollection) { // includes subclass DotsAndLines\n collection((Shape2DCollection) shape, dx, dy);\n } else {\n throw new RuntimeException(\"unknown shape \" + shape.getClass());\n }\n }\n }", "public void move(){\n\t\t\tbx += (int)movex;\n\t\t\tby += (int)movey;\n\t\t\tthis.setBounds((int)bx,(int)by,10,10);\n\n\t\t\t\n\t\t}", "public void setDy(int dy) {\n this.dy = dy;\n }", "static public float[] translate(float[] coordinates, float dx, float dy){\n for (int i=coordinates.length-2;i>=0;i-=2){\n coordinates[i]+=dx;\n coordinates[i+1]+=dy;\n }\n return coordinates;\n }", "public void move(int dx, int dy) {\n\t\ttileX = tileX + dx;\n\t\ttileY = tileY + dy;\n\t}", "public void update (int dy) {\n y += dy;\n }", "private Point getDraggingXYAufhaenger(int ox, int oy, int dx, int dy) {\n\t\tint x, y;\n\t\tSeilaufhaenger aufhaenger = (Seilaufhaenger) this;\n\n\t\t// rope holder can only be moved at its border line\n\t\t// horizontally or vertically\n\t\tif (aufhaenger.getHimmel() == Seilaufhaenger.WEST || aufhaenger.getHimmel() == Seilaufhaenger.OST) {\n\t\t\tx = ox;\n\t\t\tif (oy + dy >= 0 && oy + dy <= aufzugschacht.getHeight() - 2 - getHeight() - 1)\n\t\t\t\ty = oy + dy;\n\t\t\telse if (oy + dy < 0)\n\t\t\t\ty = 1;\n\t\t\telse\n\t\t\t\ty = aufzugschacht.getHeight() - 2 - getHeight() - 2;\n\t\t} else {\n\t\t\ty = oy;\n\t\t\tif (ox + dx >= 0 && ox + dx <= aufzugschacht.getWidth() - 2 - getWidth() - 1)\n\t\t\t\tx = ox + dx;\n\t\t\telse if (ox + dx <= 0)\n\t\t\t\tx = 1;\n\t\t\telse\n\t\t\t\tx = aufzugschacht.getWidth() - 2 - getWidth() - 2;\n\t\t}\n\n\t\treturn new Point(x, y);\n\t}", "static public FloatArray translate(FloatArray coordinates, float dx, float dy){\n for (int i=coordinates.size-2;i>=0;i-=2){\n coordinates.set(i,coordinates.get(i)+dx);\n coordinates.set(i+1,coordinates.get(i+1)+dy);\n }\n return coordinates;\n }", "protected void update(){\n\t\t_offx = _x.valueToPosition(0);\n\t\t_offy = _y.valueToPosition(0);\n\t}", "public void translateCenter(int dx, int dy) {\r\n this.center.move(dx, dy);\r\n }", "@Override\n\tpublic void setLocation(double x, double y) {\n\t\tdouble oldX = getX();\n\t\tdouble oldY = getY();\n\t\tdouble dx = x - oldX;\n\t\tdouble dy = y - oldY;\n\t\tfor (GPoint point : this) {\n\t\t\tpoint.translate(dx, dy);\n\t\t}\n\t\trepaint();\n\t}", "public Velocity(int dx, int dy) {\n this((double) dx, (double) dy);\n }", "void setPosition(double xPos, double yPos);", "public Velocity(double dx, double dy) {\r\n this.dx = dx;\r\n this.dy = dy;\r\n }", "public Velocity(double dx, double dy) {\r\n this.dx = dx;\r\n this.dy = dy;\r\n }", "public Velocity(double dx, double dy) {\n this.dx = dx;\n this.dy = dy;\n }", "public Velocity(double dx, double dy) {\n this.dx = dx;\n this.dy = dy;\n }", "@Override\n\tpublic void move(int dx, int dy) {\n\t\t// TODO Auto-generated method stub\n\t\tco.move(dx, dy);\n\t}", "private int xyTo1DAfterwards(int x, int y) {\n validate(x, width);\n validate(y, height);\n return !isTransposed ? x + (width - 1) * y : y + x * (height - 1);\n }", "public Velocity(double dx, double dy) {\n this.dxVelocity = dx;\n this.dyVelocity = dy;\n }", "posXY(int x, int y){\r\n\t\tthis.x = x;\r\n\t\tthis.y = y;\r\n\t}", "public void setVelocity(double dx, double dy) {\n this.velocity.setDx(dx);\n this.velocity.setDy(dy);\n }", "public void dragPoint(final int index, final int dx, final int dy) {\n \t\tif (index < 0 || index >= n_points) return;\n \t\tp[0][index] += dx;\n \t\tp[1][index] += dy;\n \n \t\t// Reset autotracing records\n \t\tif (-1 != last_autotrace_start && index >= last_autotrace_start) {\n \t\t\tlast_autotrace_start = -1;\n \t\t}\n \t}", "void setPos(float x, float y);", "public void setLocation(float x, float y);", "Ball(int x, int y, int dx, int dy){\n this.x = this.originalX = x;\n this.y = this.originalY = y;\n this.dx = this.originalDX = dx;\n this.dy = this.originalDY = dy;\n s = new ShapeRenderer();\n s.setColor(1,1,1,1);//white\n }", "public void updatePosition() {\n\n this.x = this.temp_x;\n this.y = this.temp_y;\n this.ax = 0;\n this.ay = 0;\n\t\tthis.axplusone = 0;\n this.ayplusone = 0;\n \n }", "public abstract void moveShape(double lon, double lat);", "@Override\n public INDArray axpy(float da, INDArray dx, INDArray dy) {\n //NativeBlas.daxpy(dx.length(), da, dx.data(), 0, 1, dy.data(), 0, 1);\n JavaBlas.raxpy(dx.length(), da, dx.data(), dx.offset(), dx.stride()[0], dy.data(), dy.offset(), dy.stride()[0]);\n\n return dy;\n }", "public void setScroll(int dx,int dy){\n\t\txscroll=dx;\n\t\tyscroll=dy;\n\t}", "private void setOffset(int offsetX, int offsetY) {\n this.offsetX = offsetX;\n this.offsetY = offsetY;\n }", "void update(int[] xyPos) {\n this.x = xyPos[0];\n this.y = xyPos[1];\n }", "public void demandeDeplacement(int dx, int dy)\n\t{\n\t\t// Nouvelles coordonnées en fonction des directions d\n\t\tthis.x = this.x + dx;\n\t\tthis.y = this.y + dy;\n\t\t\n\t\tfor (PirateEcouteur piratecouteur : this.pirateEcouteurs.getListeners(PirateEcouteur.class)) {\n\t\t\t//Traitement trésor\n\t\t\tif(this.monkeyIsland.getTresor().coordonneesEgales(this.x, this.y)){\n\t\t\t\tthis.butin++;\n\t\t\t\tthis.monkeyIsland.suppressionTresor();\n\t\t\t\tthis.monkeyIsland.creationTresor();\n\t\t\t}\n\t\t\t//Traitement déplacement pirate\n\t\t\tif(this.monkeyIsland.singeEstPresent(this.x, this.y)){\n\t\t\t\tpiratecouteur.deplacementPirate(0, this.x, this.y);\n\t\t\t\t//Marcher sur un singe entraine la mort\n\t\t\t\tpiratecouteur.mortPirate(0);\n\t\t\t\tbreak;\n\t\t\t}else if(Constantes.MER != this.monkeyIsland.valeurCarte(this.x, this.y)){\n\t\t\t\tpiratecouteur.deplacementPirate(0, this.x, this.y);\n\t\t\t}else{\n\t\t\t\tpiratecouteur.deplacementPirate(0, this.x, this.y);\n\t\t\t\tpiratecouteur.mortPirate(0);\n\t\t\t}\n\t\t\t//Libération clavier pour pouvoir se déplacer\n\t\t\tpiratecouteur.liberationClavier();\n\t\t}\n\t}", "private static Direction get(final int dx, final int dy) {\n\t\treturn DIRECTIONS[dx + 1][dy + 1];\n\t}", "private static Point moveTo(Point p, int d) {\n switch (d) {\n case 0:\n return new Point(p.x, p.y - 1);\n case 1:\n return new Point(p.x + 1, p.y - 1);\n case 2:\n return new Point(p.x + 1, p.y);\n case 3:\n return new Point(p.x + 1, p.y + 1);\n case 4:\n return new Point(p.x, p.y + 1);\n case 5:\n return new Point(p.x - 1, p.y + 1);\n case 6:\n return new Point(p.x - 1, p.y);\n default:\n return new Point(p.x - 1, p.y - 1);\n }\n }", "private void moveSelection(int dx, int dy) {\n\t\tint y = getMoveSelectionY(dy);\n\t\tint x = getMoveSelectionX(dx);\n\n\t\tverticalScrollBar.setValue(y);\n\t\thorizontalScrollBar.setValue(x);\n\t}", "public void copyArea(int x, int y, int width, int height, int dx, int dy)\r\n\t{\r\n\t\t// System.out.println(\"copyArea\");\r\n\t}", "static Posn translate ( Posn p, double dx, double dy ) {\n\t// return .... ;\n\t// Take stock\n\t// return ... p ... dx ... dy ; // <- We know this from Posn p\n\t// return new Posn ( ... p.x ... p.y ... dx ... dy ); // <- We know this from Posn translate\n\t// return new Posn ( ... p.x ... p.y ... dx ... dy, ... p.x ... p.y ... dx ... dy );\t\n\treturn new Posn ( p.x + dx, p.y + dy );\t\n }", "public Point2D translatePoint( Figure f, Point2D p, Point2D dir);", "@Override\n\tpublic void update(){\n\t\t\n\t\tx += dx;\n\t\tif(x <= 2){\n\t\t\tx = 2;\n\t\t}else if(x >= ((this.width+this.paddlewidth)-350)){\n\t\t\tx = (this.width+this.paddlewidth)-350;\n\t\t}else if(x <= Dimensions.PADDLE_LEFT){\n\t\t\tx = Dimensions.PADDLE_LEFT;\n\t\t}\n\t}", "public void setTp(int dx, int dy)\n\t{\n\t\tthis.dx = dx;\n\t\tthis.dy = dy;\n\t\tthis.time = 0;\n\t\t//run();\n\t}", "public void move(){\n x+=xDirection;\n y+=yDirection;\n }", "@Override\n\tpublic void sub(double dx, double dy) {\n\t\t\n\t}", "public Point translate(int dX, int dY) {\n\t\tint translatedX = x + dX;\n\t\tint translatedY = y + dY;\n\t\treturn new Point(translatedX, translatedY);\n\t}", "public void setVelocity(double dx, double dy) {\r\n this.vel = new Velocity(dx, dy);\r\n }", "public void setVelocity(double dx, double dy) {\r\n this.v.setVelocity(dx, dy);\r\n }", "void setXandY(double x, double y){\r\n\t\tthis.x=x;\r\n\t\tthis.y=y;\r\n\t}", "public void setVelocity(double dx, double dy) {\n this.v = new Velocity(dx, dy);\n }", "public void goToXY(float x, float y) {\n float oldX, oldY;\n oldX = pos.x;\n oldY = pos.y; \n pos.x = x; \n pos.y = y;\n if (penDown) {\n pen.beginDraw();\n pen.line(oldX,oldY,pos.x,pos.y);\n pen.endDraw();\n }\n }", "public abstract void moveTo(double x, double y);", "public void recalculateVector(int destX, int destY)\r\n {\r\n float rad = (float)(Math.atan2(destX - startX, startY - destY));\r\n speed = 5;\r\n \r\n this.dx = (float) Math.sin(rad) * speed;\r\n this.dy = -(float) Math.cos(rad) * speed;\r\n }", "public void setVelocity(double dx, double dy) {\n this.velocity = new Velocity(dx, dy);\n }", "public void setVelocity(double dx, double dy) {\n this.velocity = new Velocity(dx, dy);\n }", "void moveDown() {\n\t\tsetY(y+1);\r\n\t\tdx=0;\r\n\t\tdy=1;\r\n\t}", "private void positionItems(final int dx) {\n\t\tif(getChildCount() > 0){\n\t\t\tmDisplayOffset += dx;\n\t\t\tint left = mDisplayOffset;\n\t\t\tint height = this.getMeasuredHeight();\n\t\t\tfor(int i=0;i<getChildCount();i++){\n\t\t\t\tView child = getChildAt(i);\n\t\t\t\tint childWidth = child.getMeasuredWidth();\n\t\t\t\tint childHeight = child.getMeasuredHeight();\n\t\t\t\tif (!mAlineBottom) {\n\t\t\t\t\tchild.layout(left, mOffsetTop, left + childWidth, mOffsetTop + childHeight);\n\t\t\t\t} else {\n\t\t\t\t\tchild.layout(left, height - childHeight, left + childWidth, height);\n\t\t\t\t}\n\t\t\t\tleft += childWidth;\n\t\t\t}\n\t\t\tupdateSelected();\n\t\t}\n\t}", "@Override\n\tpublic void updateAngles(float angleDX, float angleDY) {\n\t\tmAngleX += angleDX;\n\t\tmAngleY += angleDY;\n\t}", "public SceneGraphNode setTranslation(double dx, double dy, double dz) {\n\t\ttranslateX = dx;\n\t\ttranslateY = dy;\n\t\ttranslateZ = dz;\n\t\treturn this;\n\n\t}", "public void changeDx() {\n this.dxVelocity = -dxVelocity;\n this.dxVelocity = this.dxVelocity + (this.dxVelocity / 10);\n }", "public void changePos(double xP, double yP){ \n this.xCoor += xP;\n this.yCoor += yP;\n \n }", "void setLocation(int x, int y);", "public MoveParameters(double dx, double dy,\n FrameEditorSelectionState s)\n {\n this(dx, dy, s, true);\n }", "public void pointToXY(int x, int y) {\n PVector targetVector;\n targetVector = new PVector(x, y);\n direction = (p.degrees(p.atan2(pos.x - (targetVector.x), pos.y - (targetVector.y))))+90;\n if (direction < 0) direction += 360;\n }" ]
[ "0.6555845", "0.65152836", "0.64693666", "0.6432582", "0.64303994", "0.638414", "0.63420695", "0.63163984", "0.62937874", "0.6291514", "0.6245771", "0.62252486", "0.6191052", "0.61764765", "0.61427397", "0.61250985", "0.6097588", "0.6041539", "0.6028031", "0.60231495", "0.5969811", "0.59652513", "0.5950828", "0.59486115", "0.5874293", "0.58600736", "0.5857114", "0.58498186", "0.5834307", "0.58068913", "0.5794482", "0.5775838", "0.5774318", "0.5752049", "0.575133", "0.5704116", "0.5702265", "0.5696955", "0.5603604", "0.5599022", "0.55599034", "0.55427253", "0.5540347", "0.5539379", "0.5486756", "0.5476441", "0.54616475", "0.5451273", "0.5427561", "0.5418279", "0.5402679", "0.54011357", "0.54011357", "0.53868604", "0.53868604", "0.5368568", "0.53311914", "0.5319722", "0.5314032", "0.5297449", "0.52832085", "0.5280718", "0.527817", "0.5275695", "0.52699995", "0.52644545", "0.52609503", "0.5254073", "0.52480006", "0.5216255", "0.5190797", "0.5184045", "0.5179789", "0.51599216", "0.5154849", "0.5153818", "0.51508576", "0.5148395", "0.51274484", "0.5124068", "0.5120086", "0.5119183", "0.5114867", "0.5104721", "0.5089282", "0.50798506", "0.506667", "0.50656074", "0.5060295", "0.50590533", "0.50590533", "0.5056703", "0.50503594", "0.5043905", "0.50436324", "0.5035878", "0.50341815", "0.5029373", "0.50292987", "0.5022097" ]
0.8030373
0
Returns the bounds of the shape in the shape's own coords.
public RMRect getBoundsInside() { return new RMRect(0, 0, getWidth(), getHeight()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Rectangle2D getBounds() {\n\t\t// FIXME: these bounds REALLY need to be cached. But it's\n\t\t// painful because of the public members.\n\t\tif (stroke == null) {\n\t\t\treturn shape.getBounds2D();\n\t\t} else if (stroke instanceof BasicStroke) {\n\t\t\t// For some reason (antialiasing?) the bounds returned by\n\t\t\t// BasicStroke is off by one. This code works around it.\n\t\t\t// if all we want is the bounds, then we don't need to actually\n\t\t\t// stroke the shape. We've had reports that this is no longer\n\t\t\t// necessary with JDK1.3.\n\t\t\tRectangle2D rect = shape.getBounds2D();\n\t\t\tint width = (int) ((BasicStroke) stroke).getLineWidth() + 2;\n\t\t\treturn new Rectangle2D.Double(rect.getX() - width, rect.getY()\n\t\t\t\t\t- width, rect.getWidth() + width + width, rect.getHeight()\n\t\t\t\t\t+ width + width);\n\t\t} else {\n\t\t\t// For some reason (antialiasing?) the bounds returned by\n\t\t\t// BasicStroke is off by one. This code works around it.\n\t\t\t// We've had reports that this is no longer\n\t\t\t// necessary with JDK1.3.\n\t\t\tRectangle2D rect = stroke.createStrokedShape(shape).getBounds2D();\n\t\t\treturn new Rectangle2D.Double(rect.getX() - 1, rect.getY() - 1,\n\t\t\t\t\trect.getWidth() + 2, rect.getHeight() + 2);\n\t\t}\n\t}", "Rectangle getBounds();", "@Override\n\tpublic GRectangle getBounds() {\n\t\tif (isEmpty()) {\n\t\t\treturn new GRectangle();\n\t\t} else {\n\t\t\tGPoint p0 = points.get(0);\n\t\t\tdouble minX = p0.getX();\n\t\t\tdouble maxX = minX;\n\t\t\tdouble minY = p0.getY();\n\t\t\tdouble maxY = minY;\n\t\t\tfor (int i = 1; i < size(); i++) {\n\t\t\t\tGPoint p1 = points.get(i);\n\t\t\t\tminX = Math.min(minX, p1.getX());\n\t\t\t\tmaxX = Math.max(maxX, p1.getX());\n\t\t\t\tminY = Math.min(minY, p1.getY());\n\t\t\t\tmaxY = Math.max(maxY, p1.getY());\n\t\t\t}\n\t\t\treturn new GRectangle(minX, maxX, minY, maxY);\n\t\t}\n\t}", "public Rectangle getBounds() {\n return new Rectangle(x, y, 32, 32);\n }", "public Rect getBound() {\n return new Rect((int) (x - radius), (int) (y - radius), (int) (x + radius), (int) (y + radius));\n }", "public Rectangle getBounds();", "public Rectangle getBounds();", "public Rectangle getBounds() {\n\t\treturn new Rectangle((int) xPos, (int) yPos, (int) width, (int) height);\n\t}", "public Rectangle getBounds() {\n\treturn new Rectangle((int)x,(int)y,32,32);\n\t}", "public Rectangle getBounds() {\r\n return new Rectangle(x, y, 55, 51);\r\n }", "public Rectangle getBounds() {\n return new Rectangle(x, y, DIAMETER, DIAMETER); // returns a rectangle with its dimensions\r\n }", "public Rectangle bounds()\n\t{\n\t\treturn (new Rectangle(x, y, 10, 10));\n\t}", "public abstract Rectangle getBounds();", "public abstract Rectangle getBounds();", "public abstract Rectangle getBounds();", "public Rectangle getBounds()\n {\n return new Rectangle ((int)x,(int)y,32,32);\n }", "RectangleLatLng getBounds();", "public float[] getBounds() {\r\n\t\tfloat[] bounds = {x_ - width_/ 2, x_ + width_ / 2, y_ - height_ / 2, y_ + height_ / 2};\r\n\t\treturn bounds;\r\n\t}", "public Rectangle getBounds() {\n return new Rectangle((int) getX() - 20, (int) getY() - 20, 40, 40);\n }", "public Rectangle getBounds(){\r\n return new Rectangle(x, y, w, w);\r\n }", "public Rectangle get_bounds() {\n return new Rectangle(x,y, width-3, height-3);\n }", "public sRectangle getSRectangleBound()\n {\n return form.getSRectangleBound();\n }", "public Rectangle getBounds() {\n\t\tif (bounds == null) {\n\t\t\tsuper.getBounds();\n\t\t\tfor (int i = 0; i < getChildren().size(); i++) {\n\t\t\t\tIFigure child = (IFigure) getChildren().get(i);\n\t\t\t\tbounds.union(child.getBounds());\n\t\t\t}\n\t\t}\n\t\treturn bounds;\n\t}", "Rectangle getBounds() {\n return new Rectangle(getLocation(), getSize());\n }", "public Rectangle getBounds() {\n\t\treturn new Rectangle(getX(),getY(),width, width);\n\t}", "@Override\r\n\tpublic Rectangle getBound() {\n\t\treturn new Rectangle((int)x, (int)y, (int)width, (int)height);\r\n\t}", "public Rectangle getBounds() {\r\n return bounds;\r\n }", "public String getRectangleBounds() {\n checkAvailable();\n return impl.getRectangle();\n }", "public Rectangle getBounds()\r\n\t{\r\n\t\treturn new Rectangle(x, y, w, h);\r\n\t}", "protected Rectangle determineBounds() {\n return getNetTransform().createTransformedShape( _bounds ).getBounds();\n }", "public final BoundingBox getBounds() {\n\t\tif (bounds==null) {\n\t\t\tint srsID =( (Geometry)this.get(0).getDefaultGeometry()).getSRID();\n\t\t\tBoundingBox re = new BoundingBoxImpl(\"\"+srsID);\n\t\t\tfor (SimpleFeature f : this) {\n\t\t\t\tre.include(f.getBounds());\n\t\t\t}\n\t\t\tbounds = re;\n\t\t}\n\t\treturn bounds;\n\t}", "@NonNull\n public Rect getBounds() {\n return new Rect(mBounds);\n }", "public Bounds getLogicalBounds() {\n return getDragContext().getLogicalBounds();\n }", "public Rectangle getBounds() {\n return new Rectangle(getMinX(), getMinY(), getWidth(), getHeight());\n }", "public Bounds getBounds () { return (bounds); }", "public Rectangle2D getBounds() {\n\t\tif (_child == null) {\n\t\t\treturn new Rectangle2D.Double();\n\t\t} else {\n\t\t\treturn _child.getBounds();\n\t\t}\n\t}", "public Rectangle getBound(){\n \tint x = (int)location.getX();\n \tint y = (int)location.getY();\n \t\n \tif(isExploded == false)\n \t\treturn new Rectangle(x, y, image.getWidth(null), image.getHeight(null));\n \telse\n \t\treturn new Rectangle(x,y, 1,1);\n }", "public final native LatLngBounds getBounds() /*-{\n return this.getBounds();\n }-*/;", "@Override\n public Rectangle getBounds() {\n return new Rectangle(x,y,64,64);\n }", "public java.awt.Rectangle getBounds(){\r\n return new java.awt.Rectangle((int)Math.round(x), (int)Math.round(y), (int)Math.round(getWidth()), (int)Math.round(getHeight()));\r\n }", "public S2LatLngRect getBound() {\n // To save time, we ignore numerical errors in the computed S2LatLngs while\n // accumulating the bounds and then account for them here.\n //\n // S2LatLng(S2Point) has a maximum error of 0.955 * S2.DBL_EPSILON in latitude.\n // In the worst case, we might have rounded \"inwards\" when computing the\n // bound and \"outwards\" when computing the latitude of a contained point P,\n // therefore we expand the latitude bounds by 2 * S2.DBL_EPSILON in each\n // direction. (A more complex analysis shows that 1.5 * S2.DBL_EPSILON is\n // enough, but the expansion amount should be a multiple of S2.DBL_EPSILON in\n // order to avoid rounding errors during the expansion itself.)\n //\n // S2LatLng(S2Point) has a maximum error of S2.DBL_EPSILON in longitude, which\n // is simply the maximum rounding error for results in the range [-Pi, Pi].\n // This is true because the Gnu implementation of atan2() comes from the IBM\n // Accurate Mathematical Library, which implements correct rounding for this\n // intrinsic (i.e., it returns the infinite precision result rounded to the\n // nearest representable value, with ties rounded to even values). This\n // implies that we don't need to expand the longitude bounds at all, since\n // we only guarantee that the bound contains the *rounded* latitudes of\n // contained points. The *true* latitudes of contained points may lie up to\n // S2.DBL_EPSILON outside of the returned bound.\n\n S2LatLng expansion = S2LatLng.fromRadians(2 * S2.DBL_EPSILON, 0);\n return builder.build().expanded(expansion).polarClosure();\n }", "public Rectangle2D getBoundary()\n {\n \tRectangle2D shape = new Rectangle2D.Float();\n shape.setFrame(location.getX(),location.getY(),12,length);\n return shape;\n }", "public Rectangle getBounds() {\n return super.getBounds();\n }", "public RMRect getBounds() { return new RMRect(getX(), getY(), getWidth(), getHeight()); }", "public RectF getBounds()\n {\n return bounds;\n }", "public Rectangle2D getBounds2D() {\n/* 155 */ if (this.usePrimitivePaint) {\n/* 156 */ Rectangle2D primitiveBounds = this.node.getPrimitiveBounds();\n/* 157 */ if (primitiveBounds == null) {\n/* 158 */ return new Rectangle2D.Double(0.0D, 0.0D, 0.0D, 0.0D);\n/* */ }\n/* 160 */ return (Rectangle2D)primitiveBounds.clone();\n/* */ } \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* 168 */ Rectangle2D bounds = this.node.getBounds();\n/* 169 */ if (bounds == null) {\n/* 170 */ return new Rectangle2D.Double(0.0D, 0.0D, 0.0D, 0.0D);\n/* */ }\n/* */ \n/* 173 */ AffineTransform at = this.node.getTransform();\n/* 174 */ if (at != null) {\n/* 175 */ bounds = at.createTransformedShape(bounds).getBounds2D();\n/* */ }\n/* 177 */ return bounds;\n/* */ }", "public Bounds getBounds() {\n\t\treturn boss.getBoundsInParent();\n\t}", "public Rectangle getBoundingBox() {\n\t\treturn getBounds();\n\t}", "public Rectangle getBounds() {\n\t\tRectangle Box = new Rectangle(x, y, 48, 48);\n\t\treturn Box;\n\t}", "public RMRect bounds() { return new RMRect(x(), y(), width(), height()); }", "public Rectangle2D getBoundary() {\n return new Rectangle2D(x, y, width, height);\n }", "public Rectangle getBounds() {\r\n\t\treturn new Rectangle((int) (x * scalingX), (int) (y * scalingY), (int) rocketWidth, (int) rocketHeight);\r\n\t}", "public Rectangle getBounds() {\n\t\t\treturn new Rectangle(x_pos, y_pos, getIconWidth(), getIconHeight());\n\t\t}", "@Override\n public Rectangle getBounds() {\n return new Rectangle(this.bounds);\n }", "public BoundsObject getBounds() {\n\t\treturn null;\n\t}", "public Rectangle getPlotBounds();", "public BoundingShape getBoundingShape() {\n\treturn boundingShape;\n }", "public Rectangle getClipBounds()\r\n\t{\r\n\t\treturn _g2.getClipBounds();\r\n\t}", "public Rectangle getBounds() {\n return null;\n }", "public PBounds getBoundsReference() {\n\t\tPBounds bds = super.getBoundsReference();\n\t\tgetUnionOfChildrenBounds(bds);\n\n\t\tcachedChildBounds.setRect(bds);\n\t\tdouble scaledIndent = INDENT/renderCamera.getViewScale();\t\t\n\t\tbds.setRect(bds.getX()-scaledIndent,bds.getY()-scaledIndent,bds.getWidth()+2*scaledIndent,bds.getHeight()+2*scaledIndent);\n\t\t\n\t\treturn bds;\n\t}", "public Rectangle getBoundingBox() {\n return new Rectangle(this);\r\n }", "public RMPath getPathInBounds() { return getPath().getPathInRect(getBoundsInside()); }", "public MWC.GenericData.WorldArea getBounds()\r\n\t{\n\t\treturn null;\r\n\t}", "@Override\n\tpublic BoundaryRectangle getBoundingBox() {\n\t\treturn new BoundaryRectangle(0, 0, drawView.getWidth(), drawView.getHeight());\n\t}", "public IRectangleBound getClipBound();", "@Override\n public List<Bound> getBounds() {\n return Collections.unmodifiableList(bounds);\n }", "public Rectangle getBounds() {\n\t\tif (img == null)\n\t\t\treturn new Rectangle();\n\t\treturn new Rectangle(new Dimension(img.getWidth(), img.getHeight()));\n\t}", "public Bounds get() {\n\treturn bounds;\n }", "public Rectangle getBoundingBox() {\n return location;\n }", "public int getBound();", "public LatLongRectangle getBoundingRectangle() {\n return boundingRectangle;\n }", "public Rectangle getBoundsBigger() {\n return new Rectangle(x-32,y-32,128,128);\n }", "@Override\n\tpublic Rectangle getBound() {\n\t\trectBound.setX(posX+20);\n\t\trectBound.setY(Y_LAND - image.getHeight() +10);\n\t\trectBound.setWidth(image.getWidth()-10);\n\t\trectBound.setHeight(image.getHeight());\n\t\treturn rectBound;\n\t}", "public abstract Regionlike getGridBounds();", "public final Rectangle getBounds() {\n return label.getBounds();\n }", "public abstract Rectangle getSnapshotSquareBounds();", "private Bounds getDrawBounds() {\n\t\tfinal float boundsWidth = 2 * OFFSET_X;\n\t\tfinal float boundsHeight = 2 * OFFSET_Y;\n\t\t\n\t\t//Get the center point of the player, then subtract by offset\n\t\tfinal float x = (activePlayer.getX() + activePlayer.getWidth() / 2f) \n\t\t\t\t/ activePlayer.getScaleX() - OFFSET_X;\n\n\t\tfinal float y = (activePlayer.getY() + activePlayer.getHeight() / 2f) \n\t\t\t\t/ activePlayer.getScaleY() - OFFSET_Y + 1;\n\t\t\n\t\treturn new Bounds(x, y, boundsWidth, boundsHeight);\n\t}", "public CCAABoundingRectangle boundingRect(){\n\t\treturn _myBoundingRectangle;\n\t}", "public Circle getCircleBound()\n {\n return form.getCircleBound();\n }", "public ReferencedEnvelope getBounds(){\n if(bounds==null){\n // Create Null envelope\n this.bounds = new ReferencedEnvelope(getCRS());\n // First try to find the BBOX definition in the gisNode directly\n try{\n if(gisNode.hasProperty(INeoConstants.PROPERTY_BBOX_NAME)){\n double[] bbox = (double[])gisNode.getProperty(INeoConstants.PROPERTY_BBOX_NAME);\n this.bounds = new ReferencedEnvelope(bbox[0],bbox[1],bbox[2],bbox[3],crs);\n }else{\n System.err.println(\"No BBox defined in the GeoNeo object\");\n }\n }catch(Exception bbox_e){\n System.err.println(\"Failed to interpret BBOX: \"+bbox_e.getMessage());\n bbox_e.printStackTrace(System.err);\n }\n // Secondly, if bounds is still empty, try find all feature geometries and calculate bounds\n try{\n if(this.bounds.isNull()){\n // Try to create envelope from any data referenced by the gisNode\n for(GeoNode node:getGeoNodes()){\n //TODO: support high dimensions\n this.bounds.expandToInclude(node.getCoords()[0], node.getCoords()[1]);\n }\n }\n }catch(Exception bbox_e){\n System.err.println(\"Failed to interpret BBOX: \"+bbox_e.getMessage());\n bbox_e.printStackTrace(System.err);\n }\n }\n return bounds;\n }", "public Rectangle getBounds () {\r\n\tcheckWidget();\r\n\tPhArea_t area = new PhArea_t ();\r\n\tOS.PtWidgetArea (handle, area);\r\n\treturn new Rectangle (area.pos_x, area.pos_y, area.size_w, area.size_h);\r\n}", "public GJBox2D boundingBox() {\n\t\tdouble xmin = Double.MAX_VALUE;\n\t\tdouble ymin = Double.MAX_VALUE;\n\t\tdouble xmax = Double.MIN_VALUE;\n\t\tdouble ymax = Double.MIN_VALUE;\n\n\t\t// coordinates of current point\n\t\tdouble x, y;\n\t\t\n\t\t// Iterate on each control point of each segment\n\t\tfor (Segment seg : this.segments) {\n\t\t\tfor (GJPoint2D p : seg.controlPoints()) {\n\t\t\t\t// get current coordinates\n\t\t\t\tx = p.x();\n\t\t\t\ty = p.y();\n\t\t\t\t\n\t\t\t\t// update bounds\n\t\t\t\txmin = Math.min(xmin, x);\n\t\t\t\tymin = Math.min(ymin, y);\n\t\t\t\txmax = Math.max(xmax, x);\n\t\t\t\tymax = Math.max(ymax, y);\n\t\t\t}\n\t\t}\n\t\t\n\t\t// createFromCollection a new GJBox2D with the bounds\n\t\treturn new GJBox2D(xmin, xmax, ymin, ymax);\n\t}", "public abstract Rectangle getSnapshotBounds();", "public Path2D.Double getBoundsAsPath() {\n\t\t\n\t\tRectangle2D.Double rect = getTextBounds();\n\t\tDouble w = rect.getWidth();\n\t\tDouble h = rect.getHeight();\n\t\t\n\t\tPath2D.Double bounds = new Path2D.Double();\n\t\tbounds.moveTo(0, 0);\n\t\tbounds.lineTo(w, 0);\n\t\tbounds.lineTo(w, h);\n\t\tbounds.lineTo(0, h);\n\t\tbounds.lineTo(0, 0);\n\t\t\n\t\treturn bounds;\n\t}", "@Override\n\tpublic Rectangle2D getBounds2D() {\n\t\treturn null;\n\t}", "public double[] get_bounds() {\n System.out.println ( \"section.get_bounds() called\" );\n double[] current_bounds = null;\n if (contours != null) {\n for (int i=0; i<contours.size(); i++) {\n ContourClass contour = contours.get(i);\n double[] cont_bounds = contour.get_bounds();\n if (cont_bounds != null) {\n if (current_bounds == null) {\n current_bounds = new double[4];\n current_bounds[0] = cont_bounds[0];\n current_bounds[1] = cont_bounds[1];\n current_bounds[2] = cont_bounds[2];\n current_bounds[3] = cont_bounds[3];\n } else {\n if (cont_bounds[0] < current_bounds[0]) current_bounds[0] = cont_bounds[0]; // minx\n if (cont_bounds[1] > current_bounds[1]) current_bounds[1] = cont_bounds[1]; // maxx\n if (cont_bounds[2] < current_bounds[2]) current_bounds[2] = cont_bounds[2]; // miny\n if (cont_bounds[3] > current_bounds[3]) current_bounds[3] = cont_bounds[3]; // maxy\n }\n }\n }\n }\n return ( current_bounds );\n }", "Rectangle getBoundingBox(Rectangle rect);", "public RMRect getBoundsMarkedDeep()\n{\n // Get normal marked bounds\n RMRect bounds = getBoundsMarked();\n \n // Iterate over (visible) children and union with their BoundsMarkedDeep (converted to this shape coords)\n for(int i=0, iMax=getChildCount(); i<iMax; i++) { RMShape child = getChild(i);\n if(!child.isVisible()) continue;\n RMRect childBounds = child.getBoundsMarkedDeep();\n childBounds = child.convertRectToShape(childBounds, this);\n bounds.unionEvenIfEmpty(childBounds);\n }\n\n // Return marked bounds\n return bounds;\n}", "@Override\n\tpublic Rectangle getBounds() {\n\t\treturn new Rectangle(screen_x, screen_y, pinWidth, pinWidth);\n\t}", "public Rectangle2D getRectangle() {\n return Util.getRectangle(getLocation(), size);\n }", "public ERectangle getPrimitiveBounds() {\n ERectangle primitiveBounds = this.primitiveBounds;\n if (primitiveBounds != null) return primitiveBounds;\n return this.primitiveBounds = computePrimitiveBounds();\n }", "int getBoundsX();", "public Position[] getBoundary() {\n\t\treturn boundary.clone();\n\t}", "public Shape getShape()\n\t{\n\t\treturn rect;\n\t}", "@Override\n\tpublic Rectangle getBoundingBox() {\n\t\tRectangle rectangle = new Rectangle(this.image.getWidth(), this.image.getWidth());\n\t\trectangle.setLocation(this.position);\n\t\treturn rectangle;\n\t}", "@Override\r\n\tpublic Area getBoundsArea() {\n\t\treturn null;\r\n\t}", "public List<Float> getBoundingsOfCell() {\n\n\t\tfloat minXPoint = Float.POSITIVE_INFINITY;\n\t\tfloat maxXPoint = Float.NEGATIVE_INFINITY;\n\t\tfloat minYPoint = Float.POSITIVE_INFINITY;\n\t\tfloat maxYPoint = Float.NEGATIVE_INFINITY;\n\n\t\tfor (int i = 0; i < face.edges().size(); i++) {\n\n\t\t\tDCEL_Edge e = (DCEL_Edge) face.edges().get(i);\n\n\t\t\tArc2_Sweep arc = (Arc2_Sweep) e.reference;\n\n\t\t\t// Looking for most left located point of cell\n\t\t\tif (minXPoint > arc.minX().x) {\n\t\t\t\tminXPoint = arc.minX().x;\n\t\t\t}\n\t\t\t// Looking for most right located point of cell\n\t\t\tif (maxXPoint < arc.maxX().x) {\n\t\t\t\tmaxXPoint = arc.maxX().x;\n\t\t\t}\n\t\t\t// Looking for highest located point of cell\n\t\t\tif (minYPoint > arc.minY().y) {\n\t\t\t\tminYPoint = arc.minY().y;\n\t\t\t}\n\t\t\t// Looking for lowest located point of cell\n\t\t\tif (maxYPoint < arc.maxY().y) {\n\t\t\t\tmaxYPoint = arc.maxY().y;\n\t\t\t}\n\n\t\t}\n\n\t\tList<Float> boundings = new ArrayList<Float>();\n\t\tboundings.add(minXPoint);\n\t\tboundings.add(maxXPoint);\n\t\tboundings.add(minYPoint);\n\t\tboundings.add(maxYPoint);\n\t\treturn boundings;\n\n\t}", "public Vec2 \tgetPos(){ \t\t\t\t\treturn bound.getPos();\t\t}", "@Override\n\tpublic MyRectangle getMyBoundingBox() {\n\t\t\n\t\treturn this;\n\t}", "public SpatialRelation getPolygonRectangleRelation() {\n return polygonRectangleRelation;\n }" ]
[ "0.7639988", "0.74112505", "0.738124", "0.7352388", "0.73289245", "0.73155916", "0.73155916", "0.72895145", "0.72768027", "0.72666985", "0.7259483", "0.7232182", "0.7225083", "0.7225083", "0.7225083", "0.72109264", "0.72070926", "0.72056997", "0.7199942", "0.7173192", "0.717094", "0.7160548", "0.7159511", "0.7131361", "0.7119283", "0.7116235", "0.70961607", "0.7082784", "0.70819336", "0.7078697", "0.7074721", "0.70648754", "0.7064121", "0.70527786", "0.7035337", "0.7029066", "0.7001649", "0.69763595", "0.69346505", "0.69268286", "0.6919618", "0.6918689", "0.6894307", "0.6886744", "0.68510854", "0.6849354", "0.68360394", "0.681144", "0.68021226", "0.68010783", "0.67883885", "0.6751053", "0.6744501", "0.67409223", "0.6714239", "0.66772944", "0.6670466", "0.6666304", "0.6631821", "0.65805024", "0.6560057", "0.65177554", "0.65141374", "0.64643556", "0.6453058", "0.6451728", "0.6448821", "0.64411753", "0.6422835", "0.6413123", "0.64123434", "0.640765", "0.64071125", "0.63854915", "0.6373424", "0.63272315", "0.6302915", "0.6296295", "0.6286642", "0.62855285", "0.62846786", "0.62711847", "0.62411445", "0.6233305", "0.62279296", "0.6225811", "0.6205451", "0.6195193", "0.6153279", "0.60908073", "0.6080771", "0.60794586", "0.60696006", "0.606171", "0.6060805", "0.60589445", "0.6047999", "0.6035192", "0.6026127", "0.60257334" ]
0.6805658
48
Returns the bounds of the path associated with this shape in local coords, adjusted to account for stroke width.
public RMRect getBoundsMarked() { // Declare bounds marked rect RMRect boundsMarked = null; // If stroke, get stroke marked bounds if(getStroke()!=null) boundsMarked = getStroke().getBounds(this); // If fill, get fill marked bounds if(getFill()!=null) { RMRect b = getFill().getBounds(this); boundsMarked = boundsMarked==null? b : boundsMarked.unionRect(b); } // If effect, get effect marked bounds if(getEffect()!=null) { RMRect b = getEffect().getBounds(this); boundsMarked = boundsMarked==null? b : boundsMarked.unionRect(b); } // Return marked bounds return boundsMarked!=null? boundsMarked : getBoundsInside(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public RMPath getPathInBounds() { return getPath().getPathInRect(getBoundsInside()); }", "public Path2D.Double getBoundsAsPath() {\n\t\t\n\t\tRectangle2D.Double rect = getTextBounds();\n\t\tDouble w = rect.getWidth();\n\t\tDouble h = rect.getHeight();\n\t\t\n\t\tPath2D.Double bounds = new Path2D.Double();\n\t\tbounds.moveTo(0, 0);\n\t\tbounds.lineTo(w, 0);\n\t\tbounds.lineTo(w, h);\n\t\tbounds.lineTo(0, h);\n\t\tbounds.lineTo(0, 0);\n\t\t\n\t\treturn bounds;\n\t}", "public Rectangle2D getBounds() {\n\t\t// FIXME: these bounds REALLY need to be cached. But it's\n\t\t// painful because of the public members.\n\t\tif (stroke == null) {\n\t\t\treturn shape.getBounds2D();\n\t\t} else if (stroke instanceof BasicStroke) {\n\t\t\t// For some reason (antialiasing?) the bounds returned by\n\t\t\t// BasicStroke is off by one. This code works around it.\n\t\t\t// if all we want is the bounds, then we don't need to actually\n\t\t\t// stroke the shape. We've had reports that this is no longer\n\t\t\t// necessary with JDK1.3.\n\t\t\tRectangle2D rect = shape.getBounds2D();\n\t\t\tint width = (int) ((BasicStroke) stroke).getLineWidth() + 2;\n\t\t\treturn new Rectangle2D.Double(rect.getX() - width, rect.getY()\n\t\t\t\t\t- width, rect.getWidth() + width + width, rect.getHeight()\n\t\t\t\t\t+ width + width);\n\t\t} else {\n\t\t\t// For some reason (antialiasing?) the bounds returned by\n\t\t\t// BasicStroke is off by one. This code works around it.\n\t\t\t// We've had reports that this is no longer\n\t\t\t// necessary with JDK1.3.\n\t\t\tRectangle2D rect = stroke.createStrokedShape(shape).getBounds2D();\n\t\t\treturn new Rectangle2D.Double(rect.getX() - 1, rect.getY() - 1,\n\t\t\t\t\trect.getWidth() + 2, rect.getHeight() + 2);\n\t\t}\n\t}", "public S2LatLngRect getBound() {\n // To save time, we ignore numerical errors in the computed S2LatLngs while\n // accumulating the bounds and then account for them here.\n //\n // S2LatLng(S2Point) has a maximum error of 0.955 * S2.DBL_EPSILON in latitude.\n // In the worst case, we might have rounded \"inwards\" when computing the\n // bound and \"outwards\" when computing the latitude of a contained point P,\n // therefore we expand the latitude bounds by 2 * S2.DBL_EPSILON in each\n // direction. (A more complex analysis shows that 1.5 * S2.DBL_EPSILON is\n // enough, but the expansion amount should be a multiple of S2.DBL_EPSILON in\n // order to avoid rounding errors during the expansion itself.)\n //\n // S2LatLng(S2Point) has a maximum error of S2.DBL_EPSILON in longitude, which\n // is simply the maximum rounding error for results in the range [-Pi, Pi].\n // This is true because the Gnu implementation of atan2() comes from the IBM\n // Accurate Mathematical Library, which implements correct rounding for this\n // intrinsic (i.e., it returns the infinite precision result rounded to the\n // nearest representable value, with ties rounded to even values). This\n // implies that we don't need to expand the longitude bounds at all, since\n // we only guarantee that the bound contains the *rounded* latitudes of\n // contained points. The *true* latitudes of contained points may lie up to\n // S2.DBL_EPSILON outside of the returned bound.\n\n S2LatLng expansion = S2LatLng.fromRadians(2 * S2.DBL_EPSILON, 0);\n return builder.build().expanded(expansion).polarClosure();\n }", "public RMPath getPath() { return RMPath.unitRectPath; }", "RectangleLatLng getBounds();", "public String getRectangleBounds() {\n checkAvailable();\n return impl.getRectangle();\n }", "public Bounds getLogicalBounds() {\n return getDragContext().getLogicalBounds();\n }", "public float[] getBounds() {\r\n\t\tfloat[] bounds = {x_ - width_/ 2, x_ + width_ / 2, y_ - height_ / 2, y_ + height_ / 2};\r\n\t\treturn bounds;\r\n\t}", "Rectangle getBounds() {\n return new Rectangle(getLocation(), getSize());\n }", "public final native LatLngBounds getBounds() /*-{\n return this.getBounds();\n }-*/;", "public Rect getBound() {\n return new Rect((int) (x - radius), (int) (y - radius), (int) (x + radius), (int) (y + radius));\n }", "public Shape getPath()\n {\n if (getRadius() < 0.0001) return super.getPath();\n return new RoundRect(0, 0, getWidth(), getHeight(), getRadius());\n }", "protected Rectangle determineBounds() {\n return getNetTransform().createTransformedShape( _bounds ).getBounds();\n }", "public Rectangle getBounds() {\n return new Rectangle(x, y, DIAMETER, DIAMETER); // returns a rectangle with its dimensions\r\n }", "@NonNull\n public Rect getBounds() {\n return new Rect(mBounds);\n }", "public Rectangle getBound(){\n \tint x = (int)location.getX();\n \tint y = (int)location.getY();\n \t\n \tif(isExploded == false)\n \t\treturn new Rectangle(x, y, image.getWidth(null), image.getHeight(null));\n \telse\n \t\treturn new Rectangle(x,y, 1,1);\n }", "public String getExtent() {\n return Formatter.formatDoubleStr(minX, 4) + \" \" + Formatter.formatDoubleStr(minY, 4)\n + \" \" + Formatter.formatDoubleStr(maxX, 4) + \" \" + Formatter.formatDoubleStr(maxY, 4);\n }", "public final Rectangle getBounds() {\n return label.getBounds();\n }", "public RMRect bounds() { return new RMRect(x(), y(), width(), height()); }", "Rectangle getBounds();", "public sRectangle getSRectangleBound()\n {\n return form.getSRectangleBound();\n }", "public Rectangle getBounds() {\n return new Rectangle(x, y, 32, 32);\n }", "public Rectangle getBounds() {\n\t\treturn new Rectangle((int) xPos, (int) yPos, (int) width, (int) height);\n\t}", "public Rectangle2D getBoundary()\n {\n \tRectangle2D shape = new Rectangle2D.Float();\n shape.setFrame(location.getX(),location.getY(),12,length);\n return shape;\n }", "public Rectangle getBounds() {\r\n return new Rectangle(x, y, 55, 51);\r\n }", "@Override\n\tpublic GRectangle getBounds() {\n\t\tif (isEmpty()) {\n\t\t\treturn new GRectangle();\n\t\t} else {\n\t\t\tGPoint p0 = points.get(0);\n\t\t\tdouble minX = p0.getX();\n\t\t\tdouble maxX = minX;\n\t\t\tdouble minY = p0.getY();\n\t\t\tdouble maxY = minY;\n\t\t\tfor (int i = 1; i < size(); i++) {\n\t\t\t\tGPoint p1 = points.get(i);\n\t\t\t\tminX = Math.min(minX, p1.getX());\n\t\t\t\tmaxX = Math.max(maxX, p1.getX());\n\t\t\t\tminY = Math.min(minY, p1.getY());\n\t\t\t\tmaxY = Math.max(maxY, p1.getY());\n\t\t\t}\n\t\t\treturn new GRectangle(minX, maxX, minY, maxY);\n\t\t}\n\t}", "public Rectangle getBounds(){\r\n return new Rectangle(x, y, w, w);\r\n }", "public RMRect getBounds() { return new RMRect(getX(), getY(), getWidth(), getHeight()); }", "public Rectangle getBounds() {\n return new Rectangle(getMinX(), getMinY(), getWidth(), getHeight());\n }", "public int getMinionPathLength() {\n return getStandardPathLength() + Constants.EFFECT_REPULSE_WEIGHT * (minionRepulse ? 1 : 0);\n }", "public Bounds getBounds () { return (bounds); }", "public Rectangle getBounds() {\n\t\treturn new Rectangle(getX(),getY(),width, width);\n\t}", "public Rectangle getBounds() {\r\n return bounds;\r\n }", "private Bounds getDrawBounds() {\n\t\tfinal float boundsWidth = 2 * OFFSET_X;\n\t\tfinal float boundsHeight = 2 * OFFSET_Y;\n\t\t\n\t\t//Get the center point of the player, then subtract by offset\n\t\tfinal float x = (activePlayer.getX() + activePlayer.getWidth() / 2f) \n\t\t\t\t/ activePlayer.getScaleX() - OFFSET_X;\n\n\t\tfinal float y = (activePlayer.getY() + activePlayer.getHeight() / 2f) \n\t\t\t\t/ activePlayer.getScaleY() - OFFSET_Y + 1;\n\t\t\n\t\treturn new Bounds(x, y, boundsWidth, boundsHeight);\n\t}", "public Rectangle getBounds();", "public Rectangle getBounds();", "public Rectangle getBounds() {\n return new Rectangle((int) getX() - 20, (int) getY() - 20, 40, 40);\n }", "public java.awt.Rectangle getBounds(){\r\n return new java.awt.Rectangle((int)Math.round(x), (int)Math.round(y), (int)Math.round(getWidth()), (int)Math.round(getHeight()));\r\n }", "public Rectangle getBounds() {\n\t\t\treturn new Rectangle(x_pos, y_pos, getIconWidth(), getIconHeight());\n\t\t}", "public RectF getBounds()\n {\n return bounds;\n }", "public Rectangle getPlotBounds();", "@Override\r\n\tpublic Rectangle getBound() {\n\t\treturn new Rectangle((int)x, (int)y, (int)width, (int)height);\r\n\t}", "public Rectangle get_bounds() {\n return new Rectangle(x,y, width-3, height-3);\n }", "int getBoundsWidth();", "public Rectangle getClipBounds()\r\n\t{\r\n\t\treturn _g2.getClipBounds();\r\n\t}", "public Integer getPathLength() {\n return pathLength;\n }", "public String getAsSVGPath() {\n\n\t\tString d=\"M \"+topleft.x +\",\"+topleft.y+\" \"\n\t\t\t\t+\"L \"+bottomright.x+\",\"+topleft.y+\" \"\n\t\t\t\t+\"L \"+bottomright.x+\",\"+bottomright.y+\" \"\n\t\t\t\t+\"L \"+topleft.x +\",\"+bottomright.y+\" z\";\n\n\n\t\treturn d;\n\t}", "public Rectangle getBounds()\r\n\t{\r\n\t\treturn new Rectangle(x, y, w, h);\r\n\t}", "public Bounds getBounds() {\n\t\treturn boss.getBoundsInParent();\n\t}", "public Rectangle getBounds() {\n\treturn new Rectangle((int)x,(int)y,32,32);\n\t}", "public RMRect getBoundsInside() { return new RMRect(0, 0, getWidth(), getHeight()); }", "@Override\n public Rectangle getBounds() {\n return new Rectangle(this.bounds);\n }", "public LatLongRectangle getBoundingRectangle() {\n return boundingRectangle;\n }", "public Rectangle bounds()\n\t{\n\t\treturn (new Rectangle(x, y, 10, 10));\n\t}", "public Rectangle getBounds()\n {\n return new Rectangle ((int)x,(int)y,32,32);\n }", "public Rectangle2D getBoundary() {\n return new Rectangle2D(x, y, width, height);\n }", "public RMPath getMaskPath()\n{\n RMPath path = null;\n \n // If this shape draws anything, start with its path\n if(getStroke()!= null || getFill()!=null)\n path = getPathInBounds();\n \n // If this shape has children, add paths of children\n if(getChildCount()>0) {\n \n // Create list for paths\n List paths = new ArrayList();\n if(path!=null)\n paths.add(path);\n \n // Iterate over children and add their paths\n for(int i=0, iMax=getChildCount(); i<iMax; i++) {\n RMPath childPath = getChild(i).getMaskPath();\n if(childPath != null) {\n RMPath p2 = childPath.clone();\n p2.transformBy(getChild(i).getTransform());\n paths.add(p2);\n }\n }\n \n // Join paths\n if(paths.size() > 0)\n path = RMPathUtils.join(paths, RMPathUtils.JOIN_OP_ADD);\n }\n \n // Return path\n return path;\n}", "public void computeStoredBounds()\n {\n computeSRectangleBound();\n computeCircleBound();\n }", "@Override\n public Rectangle getBounds() {\n return new Rectangle(x,y,64,64);\n }", "public int getPathLength();", "public final BoundingBox getBounds() {\n\t\tif (bounds==null) {\n\t\t\tint srsID =( (Geometry)this.get(0).getDefaultGeometry()).getSRID();\n\t\t\tBoundingBox re = new BoundingBoxImpl(\"\"+srsID);\n\t\t\tfor (SimpleFeature f : this) {\n\t\t\t\tre.include(f.getBounds());\n\t\t\t}\n\t\t\tbounds = re;\n\t\t}\n\t\treturn bounds;\n\t}", "public Rectangle getBounds() {\n return super.getBounds();\n }", "public PBounds getBoundsReference() {\n\t\tPBounds bds = super.getBoundsReference();\n\t\tgetUnionOfChildrenBounds(bds);\n\n\t\tcachedChildBounds.setRect(bds);\n\t\tdouble scaledIndent = INDENT/renderCamera.getViewScale();\t\t\n\t\tbds.setRect(bds.getX()-scaledIndent,bds.getY()-scaledIndent,bds.getWidth()+2*scaledIndent,bds.getHeight()+2*scaledIndent);\n\t\t\n\t\treturn bds;\n\t}", "@Override\n\tpublic Rectangle getBounds() {\n\t\treturn new Rectangle(screen_x, screen_y, pinWidth, pinWidth);\n\t}", "public Rectangle2D getBounds2D() {\n/* 155 */ if (this.usePrimitivePaint) {\n/* 156 */ Rectangle2D primitiveBounds = this.node.getPrimitiveBounds();\n/* 157 */ if (primitiveBounds == null) {\n/* 158 */ return new Rectangle2D.Double(0.0D, 0.0D, 0.0D, 0.0D);\n/* */ }\n/* 160 */ return (Rectangle2D)primitiveBounds.clone();\n/* */ } \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* 168 */ Rectangle2D bounds = this.node.getBounds();\n/* 169 */ if (bounds == null) {\n/* 170 */ return new Rectangle2D.Double(0.0D, 0.0D, 0.0D, 0.0D);\n/* */ }\n/* */ \n/* 173 */ AffineTransform at = this.node.getTransform();\n/* 174 */ if (at != null) {\n/* 175 */ bounds = at.createTransformedShape(bounds).getBounds2D();\n/* */ }\n/* 177 */ return bounds;\n/* */ }", "@Override\n\tpublic Rectangle getBound() {\n\t\trectBound.setX(posX+20);\n\t\trectBound.setY(Y_LAND - image.getHeight() +10);\n\t\trectBound.setWidth(image.getWidth()-10);\n\t\trectBound.setHeight(image.getHeight());\n\t\treturn rectBound;\n\t}", "public MWC.GenericData.WorldArea getBounds()\r\n\t{\n\t\treturn null;\r\n\t}", "public Rectangle2D getBounds() {\n\t\tif (_child == null) {\n\t\t\treturn new Rectangle2D.Double();\n\t\t} else {\n\t\t\treturn _child.getBounds();\n\t\t}\n\t}", "public abstract Rectangle getBounds();", "public abstract Rectangle getBounds();", "public abstract Rectangle getBounds();", "public abstract Regionlike getGridBounds();", "public Rectangle getBounds() {\n\t\tif (bounds == null) {\n\t\t\tsuper.getBounds();\n\t\t\tfor (int i = 0; i < getChildren().size(); i++) {\n\t\t\t\tIFigure child = (IFigure) getChildren().get(i);\n\t\t\t\tbounds.union(child.getBounds());\n\t\t\t}\n\t\t}\n\t\treturn bounds;\n\t}", "final Locatable extent ()\n {\n return _goal.extent();\n }", "public Rectangle getBounds() {\r\n\t\treturn new Rectangle((int) (x * scalingX), (int) (y * scalingY), (int) rocketWidth, (int) rocketHeight);\r\n\t}", "BaseBounds computeShapeBounds(BaseBounds bounds, BaseTransform tx,\n com.sun.javafx.geom.Shape s)\n {\n if (impl_mode == NGShape.Mode.EMPTY) {\n return bounds.makeEmpty();\n }\n\n float[] bbox = {\n Float.POSITIVE_INFINITY, Float.POSITIVE_INFINITY,\n Float.NEGATIVE_INFINITY, Float.NEGATIVE_INFINITY,\n };\n boolean includeShape = (impl_mode != NGShape.Mode.STROKE);\n boolean includeStroke = (impl_mode != NGShape.Mode.FILL);\n if (includeStroke && (getStrokeType() == StrokeType.INSIDE)) {\n includeShape = true;\n includeStroke = false;\n }\n\n if (includeStroke) {\n final StrokeType type = getStrokeType();\n double sw = Utils.clampMin(getStrokeWidth(), MIN_STROKE_WIDTH);\n StrokeLineCap cap = getStrokeLineCap();\n StrokeLineJoin join = convertLineJoin(getStrokeLineJoin());\n float miterlimit =\n (float) Utils.clampMin(getStrokeMiterLimit(), MIN_STROKE_MITER_LIMIT);\n // Note that we ignore dashing for computing bounds and testing\n // point containment, both to save time in bounds calculations\n // and so that animated dashing does not keep perturbing the bounds...\n Toolkit.getToolkit().accumulateStrokeBounds(\n s,\n bbox, type, sw,\n cap, join, miterlimit, tx);\n // Account for \"minimum pen size\" by expanding by 0.5 device\n // pixels all around...\n bbox[0] -= 0.5;\n bbox[1] -= 0.5;\n bbox[2] += 0.5;\n bbox[3] += 0.5;\n } else if (includeShape) {\n com.sun.javafx.geom.Shape.accumulate(bbox, s, tx);\n }\n\n if (bbox[2] < bbox[0] || bbox[3] < bbox[1]) {\n // They are probably +/-INFINITY which would yield NaN if subtracted\n // Let's just return a \"safe\" empty bbox..\n return bounds.makeEmpty();\n }\n bounds = bounds.deriveWithNewBounds(bbox[0], bbox[1], 0.0f,\n bbox[2], bbox[3], 0.0f);\n return bounds;\n }", "public int getPathLength()\r\n\t{\r\n\t\treturn path.size();\r\n\t}", "public Rectangle getBoundingBox() {\n\t\treturn getBounds();\n\t}", "public List<WeightedPoint> getPath()\n {\n return getPath(this.tail);\n }", "public Rectangle getBounds () {\r\n\tcheckWidget();\r\n\tPhArea_t area = new PhArea_t ();\r\n\tOS.PtWidgetArea (handle, area);\r\n\treturn new Rectangle (area.pos_x, area.pos_y, area.size_w, area.size_h);\r\n}", "@Override\n\tpublic BoundaryRectangle getBoundingBox() {\n\t\treturn new BoundaryRectangle(0, 0, drawView.getWidth(), drawView.getHeight());\n\t}", "public Rectangle getBounds() {\n return null;\n }", "public void computeSRectangleBound()\n {\n this.savedSRectangleBound = getSRectangleBound();\n }", "public String getReqCurLocLngTrim() {\n return reqCurLocLngTrim;\n }", "public Rectangle getBoundsBigger() {\n return new Rectangle(x-32,y-32,128,128);\n }", "public double[] get_bounds() {\n System.out.println ( \"section.get_bounds() called\" );\n double[] current_bounds = null;\n if (contours != null) {\n for (int i=0; i<contours.size(); i++) {\n ContourClass contour = contours.get(i);\n double[] cont_bounds = contour.get_bounds();\n if (cont_bounds != null) {\n if (current_bounds == null) {\n current_bounds = new double[4];\n current_bounds[0] = cont_bounds[0];\n current_bounds[1] = cont_bounds[1];\n current_bounds[2] = cont_bounds[2];\n current_bounds[3] = cont_bounds[3];\n } else {\n if (cont_bounds[0] < current_bounds[0]) current_bounds[0] = cont_bounds[0]; // minx\n if (cont_bounds[1] > current_bounds[1]) current_bounds[1] = cont_bounds[1]; // maxx\n if (cont_bounds[2] < current_bounds[2]) current_bounds[2] = cont_bounds[2]; // miny\n if (cont_bounds[3] > current_bounds[3]) current_bounds[3] = cont_bounds[3]; // maxy\n }\n }\n }\n }\n return ( current_bounds );\n }", "public Rect bounds(Window w) {\r\n\t\treturn new Rect(c.bounds(w).width,c.bounds(w).height);\r\n\t}", "public Path getApproxPath() {\n\t\treturn approxPath;\n\t}", "public Rectangle getOffsetBounds()\r\n\t{\r\n\t\treturn new Rectangle(mFrameX, mFrameY, mImageBuffer.getWidth(null), mImageBuffer.getHeight(null));\r\n\t}", "public Rectangle getBoundingBox() {\n return location;\n }", "public Rectangle2D.Double getTextBounds() {\n\t\t\n\t\tdouble txtPinX = _parent.getTxtPinX();\n\t\tdouble txtPinY = _parent.getTxtPinY();\n\t\t\n\t\tdouble txtLocPinX = _parent.getTxtLocPinX();\n\t\tdouble txtLocPinY = _parent.getTxtLocPinY();\n\t\t\n\t\tdouble txtWidth = _parent.getTxtWidth();\n\t\tdouble txtHeight = _parent.getTxtHeight();\n\t\t\n\t\tdouble x = txtPinX - txtLocPinX;\n\t\tdouble y = txtPinY - txtLocPinY;\n\t\t\n\t\treturn new Rectangle2D.Double(x, y, txtWidth, txtHeight);\n\t}", "@Override\n public List<Bound> getBounds() {\n return Collections.unmodifiableList(bounds);\n }", "public BoundsObject getBounds() {\n\t\treturn null;\n\t}", "public IRectangleBound getClipBound();", "public int getBound();", "public Rectangle getBounds() {\n\t\tRectangle Box = new Rectangle(x, y, 48, 48);\n\t\treturn Box;\n\t}", "protected void computeBounds() {\r\n bounds = new Rectangle(layout.location.x - icon.getIconWidth() / 2,\r\n layout.location.y - icon.getIconHeight() / 2, icon.getIconWidth(), icon.getIconHeight()).union(labelBox)\r\n .union(ports[0].getBounds()).union(ports[1].getBounds()).union(ports[2].getBounds())\r\n .union(component.getType() == TemplateComponent.TYPE_CHANNEL\r\n ? ports[3].getBounds().union(supHalo.getBounds())\r\n : ports[3].getBounds());\r\n }", "public Rectangle getBounds() {\n\t\tif (img == null)\n\t\t\treturn new Rectangle();\n\t\treturn new Rectangle(new Dimension(img.getWidth(), img.getHeight()));\n\t}", "public float getWidth()\n {\n return getBounds().width();\n }" ]
[ "0.7510418", "0.7357663", "0.65574795", "0.6181211", "0.6095865", "0.59705377", "0.58021003", "0.5787419", "0.5766289", "0.57540274", "0.57247263", "0.571481", "0.5680273", "0.5678287", "0.56644404", "0.5559884", "0.55524206", "0.5542777", "0.55096906", "0.54977405", "0.54786855", "0.54523134", "0.5413174", "0.5403013", "0.54001385", "0.53839815", "0.5353197", "0.53392434", "0.5338985", "0.53371894", "0.533712", "0.5331969", "0.5320202", "0.53088593", "0.53055453", "0.53019345", "0.53019345", "0.5288396", "0.5259982", "0.5250301", "0.52488285", "0.52417547", "0.52359694", "0.52348", "0.5222351", "0.5194199", "0.5173991", "0.51703715", "0.5169162", "0.51649237", "0.51570606", "0.5146583", "0.51353794", "0.51333916", "0.5124191", "0.51096725", "0.5104311", "0.5082611", "0.5072125", "0.5071817", "0.5051689", "0.5048501", "0.5047336", "0.504169", "0.5020864", "0.5011246", "0.5006373", "0.5003974", "0.49967206", "0.49964395", "0.49964395", "0.49964395", "0.4980206", "0.49721548", "0.49653798", "0.4954373", "0.49536708", "0.49479547", "0.4945128", "0.49441564", "0.49391672", "0.49274635", "0.49256217", "0.49105066", "0.4908179", "0.49033463", "0.49016055", "0.4900918", "0.48956352", "0.48695725", "0.48414344", "0.48388043", "0.4821011", "0.48186913", "0.48139498", "0.48054865", "0.4793476", "0.47824574", "0.47727248", "0.47567028" ]
0.477189
99
Returns the marked bounds of this shape and it's children.
public RMRect getBoundsMarkedDeep() { // Get normal marked bounds RMRect bounds = getBoundsMarked(); // Iterate over (visible) children and union with their BoundsMarkedDeep (converted to this shape coords) for(int i=0, iMax=getChildCount(); i<iMax; i++) { RMShape child = getChild(i); if(!child.isVisible()) continue; RMRect childBounds = child.getBoundsMarkedDeep(); childBounds = child.convertRectToShape(childBounds, this); bounds.unionEvenIfEmpty(childBounds); } // Return marked bounds return bounds; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Rectangle getBounds() {\n\t\tif (bounds == null) {\n\t\t\tsuper.getBounds();\n\t\t\tfor (int i = 0; i < getChildren().size(); i++) {\n\t\t\t\tIFigure child = (IFigure) getChildren().get(i);\n\t\t\t\tbounds.union(child.getBounds());\n\t\t\t}\n\t\t}\n\t\treturn bounds;\n\t}", "public RMRect getBoundsMarked()\n{\n // Declare bounds marked rect\n RMRect boundsMarked = null;\n \n // If stroke, get stroke marked bounds\n if(getStroke()!=null)\n boundsMarked = getStroke().getBounds(this);\n \n // If fill, get fill marked bounds\n if(getFill()!=null) {\n RMRect b = getFill().getBounds(this);\n boundsMarked = boundsMarked==null? b : boundsMarked.unionRect(b);\n }\n \n // If effect, get effect marked bounds\n if(getEffect()!=null) {\n RMRect b = getEffect().getBounds(this);\n boundsMarked = boundsMarked==null? b : boundsMarked.unionRect(b);\n }\n \n // Return marked bounds\n return boundsMarked!=null? boundsMarked : getBoundsInside();\n}", "public PBounds getBoundsReference() {\n\t\tPBounds bds = super.getBoundsReference();\n\t\tgetUnionOfChildrenBounds(bds);\n\n\t\tcachedChildBounds.setRect(bds);\n\t\tdouble scaledIndent = INDENT/renderCamera.getViewScale();\t\t\n\t\tbds.setRect(bds.getX()-scaledIndent,bds.getY()-scaledIndent,bds.getWidth()+2*scaledIndent,bds.getHeight()+2*scaledIndent);\n\t\t\n\t\treturn bds;\n\t}", "public Rectangle2D getBounds() {\n\t\tif (_child == null) {\n\t\t\treturn new Rectangle2D.Double();\n\t\t} else {\n\t\t\treturn _child.getBounds();\n\t\t}\n\t}", "Rectangle getBounds();", "protected Rectangle determineBounds() {\n return getNetTransform().createTransformedShape( _bounds ).getBounds();\n }", "@NonNull\n public Rect getBounds() {\n return new Rect(mBounds);\n }", "public Bounds getBounds() {\n\t\treturn boss.getBoundsInParent();\n\t}", "public float[] getBounds() {\r\n\t\tfloat[] bounds = {x_ - width_/ 2, x_ + width_ / 2, y_ - height_ / 2, y_ + height_ / 2};\r\n\t\treturn bounds;\r\n\t}", "public Rectangle getBounds();", "public Rectangle getBounds();", "public Bounds getLogicalBounds() {\n return getDragContext().getLogicalBounds();\n }", "@Override\n\tpublic GRectangle getBounds() {\n\t\tif (isEmpty()) {\n\t\t\treturn new GRectangle();\n\t\t} else {\n\t\t\tGPoint p0 = points.get(0);\n\t\t\tdouble minX = p0.getX();\n\t\t\tdouble maxX = minX;\n\t\t\tdouble minY = p0.getY();\n\t\t\tdouble maxY = minY;\n\t\t\tfor (int i = 1; i < size(); i++) {\n\t\t\t\tGPoint p1 = points.get(i);\n\t\t\t\tminX = Math.min(minX, p1.getX());\n\t\t\t\tmaxX = Math.max(maxX, p1.getX());\n\t\t\t\tminY = Math.min(minY, p1.getY());\n\t\t\t\tmaxY = Math.max(maxY, p1.getY());\n\t\t\t}\n\t\t\treturn new GRectangle(minX, maxX, minY, maxY);\n\t\t}\n\t}", "public RMRect getBoundsInside() { return new RMRect(0, 0, getWidth(), getHeight()); }", "public final BoundingBox getBounds() {\n\t\tif (bounds==null) {\n\t\t\tint srsID =( (Geometry)this.get(0).getDefaultGeometry()).getSRID();\n\t\t\tBoundingBox re = new BoundingBoxImpl(\"\"+srsID);\n\t\t\tfor (SimpleFeature f : this) {\n\t\t\t\tre.include(f.getBounds());\n\t\t\t}\n\t\t\tbounds = re;\n\t\t}\n\t\treturn bounds;\n\t}", "public Rectangle getBounds() {\r\n return bounds;\r\n }", "public abstract Rectangle getBounds();", "public abstract Rectangle getBounds();", "public abstract Rectangle getBounds();", "public Bounds getBounds () { return (bounds); }", "Collection<? extends Boundary> getIsBoundaryNodeOf();", "public Rect getBound() {\n return new Rect((int) (x - radius), (int) (y - radius), (int) (x + radius), (int) (y + radius));\n }", "public Rectangle getBounds() {\n\t\treturn new Rectangle((int) xPos, (int) yPos, (int) width, (int) height);\n\t}", "public RectF getBounds()\n {\n return bounds;\n }", "public Rectangle getBounds() {\n\t\t\treturn new Rectangle(x_pos, y_pos, getIconWidth(), getIconHeight());\n\t\t}", "public BoundsObject getBounds() {\n\t\treturn null;\n\t}", "public Rectangle getBounds() {\r\n return new Rectangle(x, y, 55, 51);\r\n }", "public Rectangle getBounds() {\n return super.getBounds();\n }", "public Rectangle getBounds() {\n return new Rectangle(x, y, 32, 32);\n }", "@Override\n public List<Bound> getBounds() {\n return Collections.unmodifiableList(bounds);\n }", "public Rectangle getBounds() {\n\treturn new Rectangle((int)x,(int)y,32,32);\n\t}", "public RMRect getBounds() { return new RMRect(getX(), getY(), getWidth(), getHeight()); }", "public Rectangle getBounds() {\n return new Rectangle(getMinX(), getMinY(), getWidth(), getHeight());\n }", "@Override\n public Rectangle getBounds() {\n return new Rectangle(x,y,64,64);\n }", "public Rectangle getBounds()\n {\n return new Rectangle ((int)x,(int)y,32,32);\n }", "RectangleLatLng getBounds();", "public Rectangle getBounds() {\n\t\treturn new Rectangle(getX(),getY(),width, width);\n\t}", "public final Rectangle getBounds() {\n return label.getBounds();\n }", "@Override\n public Rectangle getBounds() {\n return new Rectangle(this.bounds);\n }", "public Rectangle getBounds(){\r\n return new Rectangle(x, y, w, w);\r\n }", "public Rectangle bounds()\n\t{\n\t\treturn (new Rectangle(x, y, 10, 10));\n\t}", "public Rectangle getBounds() {\n return new Rectangle(x, y, DIAMETER, DIAMETER); // returns a rectangle with its dimensions\r\n }", "public Rectangle getBounds() {\n return new Rectangle((int) getX() - 20, (int) getY() - 20, 40, 40);\n }", "public Rectangle2D getBounds() {\n\t\t// FIXME: these bounds REALLY need to be cached. But it's\n\t\t// painful because of the public members.\n\t\tif (stroke == null) {\n\t\t\treturn shape.getBounds2D();\n\t\t} else if (stroke instanceof BasicStroke) {\n\t\t\t// For some reason (antialiasing?) the bounds returned by\n\t\t\t// BasicStroke is off by one. This code works around it.\n\t\t\t// if all we want is the bounds, then we don't need to actually\n\t\t\t// stroke the shape. We've had reports that this is no longer\n\t\t\t// necessary with JDK1.3.\n\t\t\tRectangle2D rect = shape.getBounds2D();\n\t\t\tint width = (int) ((BasicStroke) stroke).getLineWidth() + 2;\n\t\t\treturn new Rectangle2D.Double(rect.getX() - width, rect.getY()\n\t\t\t\t\t- width, rect.getWidth() + width + width, rect.getHeight()\n\t\t\t\t\t+ width + width);\n\t\t} else {\n\t\t\t// For some reason (antialiasing?) the bounds returned by\n\t\t\t// BasicStroke is off by one. This code works around it.\n\t\t\t// We've had reports that this is no longer\n\t\t\t// necessary with JDK1.3.\n\t\t\tRectangle2D rect = stroke.createStrokedShape(shape).getBounds2D();\n\t\t\treturn new Rectangle2D.Double(rect.getX() - 1, rect.getY() - 1,\n\t\t\t\t\trect.getWidth() + 2, rect.getHeight() + 2);\n\t\t}\n\t}", "public Rectangle getBounds() {\n return null;\n }", "public Rectangle get_bounds() {\n return new Rectangle(x,y, width-3, height-3);\n }", "public String getRectangleBounds() {\n checkAvailable();\n return impl.getRectangle();\n }", "Rectangle getBounds() {\n return new Rectangle(getLocation(), getSize());\n }", "public List<Float> getBoundingsOfCell() {\n\n\t\tfloat minXPoint = Float.POSITIVE_INFINITY;\n\t\tfloat maxXPoint = Float.NEGATIVE_INFINITY;\n\t\tfloat minYPoint = Float.POSITIVE_INFINITY;\n\t\tfloat maxYPoint = Float.NEGATIVE_INFINITY;\n\n\t\tfor (int i = 0; i < face.edges().size(); i++) {\n\n\t\t\tDCEL_Edge e = (DCEL_Edge) face.edges().get(i);\n\n\t\t\tArc2_Sweep arc = (Arc2_Sweep) e.reference;\n\n\t\t\t// Looking for most left located point of cell\n\t\t\tif (minXPoint > arc.minX().x) {\n\t\t\t\tminXPoint = arc.minX().x;\n\t\t\t}\n\t\t\t// Looking for most right located point of cell\n\t\t\tif (maxXPoint < arc.maxX().x) {\n\t\t\t\tmaxXPoint = arc.maxX().x;\n\t\t\t}\n\t\t\t// Looking for highest located point of cell\n\t\t\tif (minYPoint > arc.minY().y) {\n\t\t\t\tminYPoint = arc.minY().y;\n\t\t\t}\n\t\t\t// Looking for lowest located point of cell\n\t\t\tif (maxYPoint < arc.maxY().y) {\n\t\t\t\tmaxYPoint = arc.maxY().y;\n\t\t\t}\n\n\t\t}\n\n\t\tList<Float> boundings = new ArrayList<Float>();\n\t\tboundings.add(minXPoint);\n\t\tboundings.add(maxXPoint);\n\t\tboundings.add(minYPoint);\n\t\tboundings.add(maxYPoint);\n\t\treturn boundings;\n\n\t}", "public abstract Regionlike getGridBounds();", "@Override\r\n\tpublic Rectangle getBound() {\n\t\treturn new Rectangle((int)x, (int)y, (int)width, (int)height);\r\n\t}", "public Rectangle getBounds()\r\n\t{\r\n\t\treturn new Rectangle(x, y, w, h);\r\n\t}", "public Rectangle getBoundingBox() {\n\t\treturn getBounds();\n\t}", "public final native LatLngBounds getBounds() /*-{\n return this.getBounds();\n }-*/;", "public Rectangle getClipBounds()\r\n\t{\r\n\t\treturn _g2.getClipBounds();\r\n\t}", "public Rectangle getBounds() {\n\t\tRectangle Box = new Rectangle(x, y, 48, 48);\n\t\treturn Box;\n\t}", "int getBoundsHeight();", "public java.awt.Rectangle getBounds(){\r\n return new java.awt.Rectangle((int)Math.round(x), (int)Math.round(y), (int)Math.round(getWidth()), (int)Math.round(getHeight()));\r\n }", "public Rectangle getBound(){\n \tint x = (int)location.getX();\n \tint y = (int)location.getY();\n \t\n \tif(isExploded == false)\n \t\treturn new Rectangle(x, y, image.getWidth(null), image.getHeight(null));\n \telse\n \t\treturn new Rectangle(x,y, 1,1);\n }", "public int[] getSelectionBounds() {\r\n if(selectionBounds == null){\r\n return new int[]{};\r\n }\r\n return selectionBounds;\r\n }", "public RMRect bounds() { return new RMRect(x(), y(), width(), height()); }", "public MWC.GenericData.WorldArea getBounds()\r\n\t{\n\t\treturn null;\r\n\t}", "public Rectangle getPlotBounds();", "public DeclaredTypeListNode getBounds()throws ClassCastException;", "public Rectangle2D getBounds2D() {\n/* 155 */ if (this.usePrimitivePaint) {\n/* 156 */ Rectangle2D primitiveBounds = this.node.getPrimitiveBounds();\n/* 157 */ if (primitiveBounds == null) {\n/* 158 */ return new Rectangle2D.Double(0.0D, 0.0D, 0.0D, 0.0D);\n/* */ }\n/* 160 */ return (Rectangle2D)primitiveBounds.clone();\n/* */ } \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* 168 */ Rectangle2D bounds = this.node.getBounds();\n/* 169 */ if (bounds == null) {\n/* 170 */ return new Rectangle2D.Double(0.0D, 0.0D, 0.0D, 0.0D);\n/* */ }\n/* */ \n/* 173 */ AffineTransform at = this.node.getTransform();\n/* 174 */ if (at != null) {\n/* 175 */ bounds = at.createTransformedShape(bounds).getBounds2D();\n/* */ }\n/* 177 */ return bounds;\n/* */ }", "int getBoundsX();", "private Bounds getDrawBounds() {\n\t\tfinal float boundsWidth = 2 * OFFSET_X;\n\t\tfinal float boundsHeight = 2 * OFFSET_Y;\n\t\t\n\t\t//Get the center point of the player, then subtract by offset\n\t\tfinal float x = (activePlayer.getX() + activePlayer.getWidth() / 2f) \n\t\t\t\t/ activePlayer.getScaleX() - OFFSET_X;\n\n\t\tfinal float y = (activePlayer.getY() + activePlayer.getHeight() / 2f) \n\t\t\t\t/ activePlayer.getScaleY() - OFFSET_Y + 1;\n\t\t\n\t\treturn new Bounds(x, y, boundsWidth, boundsHeight);\n\t}", "public Rectangle getBoundsBigger() {\n return new Rectangle(x-32,y-32,128,128);\n }", "public Rectangle getBoundingBox() {\n return new Rectangle(this);\r\n }", "@Override\n\tpublic BoundaryRectangle getBoundingBox() {\n\t\treturn new BoundaryRectangle(0, 0, drawView.getWidth(), drawView.getHeight());\n\t}", "public IRectangleBound getClipBound();", "public abstract Node getBoundingNode();", "@Override\n\tpublic Rect getHitbox() \n\t{\n\t\treturn _bounds;\n\t}", "public sRectangle getSRectangleBound()\n {\n return form.getSRectangleBound();\n }", "public ReferencedEnvelope getBounds(){\n if(bounds==null){\n // Create Null envelope\n this.bounds = new ReferencedEnvelope(getCRS());\n // First try to find the BBOX definition in the gisNode directly\n try{\n if(gisNode.hasProperty(INeoConstants.PROPERTY_BBOX_NAME)){\n double[] bbox = (double[])gisNode.getProperty(INeoConstants.PROPERTY_BBOX_NAME);\n this.bounds = new ReferencedEnvelope(bbox[0],bbox[1],bbox[2],bbox[3],crs);\n }else{\n System.err.println(\"No BBox defined in the GeoNeo object\");\n }\n }catch(Exception bbox_e){\n System.err.println(\"Failed to interpret BBOX: \"+bbox_e.getMessage());\n bbox_e.printStackTrace(System.err);\n }\n // Secondly, if bounds is still empty, try find all feature geometries and calculate bounds\n try{\n if(this.bounds.isNull()){\n // Try to create envelope from any data referenced by the gisNode\n for(GeoNode node:getGeoNodes()){\n //TODO: support high dimensions\n this.bounds.expandToInclude(node.getCoords()[0], node.getCoords()[1]);\n }\n }\n }catch(Exception bbox_e){\n System.err.println(\"Failed to interpret BBOX: \"+bbox_e.getMessage());\n bbox_e.printStackTrace(System.err);\n }\n }\n return bounds;\n }", "@Override\n public GRectangle getBounds() {\n return null;\n }", "public Bounds get() {\n\treturn bounds;\n }", "public abstract Rectangle getSnapshotBounds();", "@Override\r\n\tpublic Area getBoundsArea() {\n\t\treturn null;\r\n\t}", "public RMPath getPathInBounds() { return getPath().getPathInRect(getBoundsInside()); }", "public ERectangle getPrimitiveBounds() {\n ERectangle primitiveBounds = this.primitiveBounds;\n if (primitiveBounds != null) return primitiveBounds;\n return this.primitiveBounds = computePrimitiveBounds();\n }", "public Rectangle getBounds() {\r\n\t\treturn new Rectangle((int) (x * scalingX), (int) (y * scalingY), (int) rocketWidth, (int) rocketHeight);\r\n\t}", "int getBoundsWidth();", "public void calculateBoundsAABB() {\n\t\tsuper.minY = 0;\n\t\tradius = 0;\n\t\tmaxY = 0;\n\t\tminX = 999999;\n\t\tmaxX = -999999;\n\t\tmaxZ = -99999;\n\t\tminZ = 99999;\n\t\tfor (int j = 0; j < vertexCount; j++) {\n\t\t\tint x = vertexX[j];\n\t\t\tint y = vertexY[j];\n\t\t\tint z = vertexZ[j];\n\t\t\tif (x < minX) {\n\t\t\t\tminX = x;\n\t\t\t}\n\t\t\tif (x > maxX) {\n\t\t\t\tmaxX = x;\n\t\t\t}\n\t\t\tif (z < minZ) {\n\t\t\t\tminZ = z;\n\t\t\t}\n\t\t\tif (z > maxZ) {\n\t\t\t\tmaxZ = z;\n\t\t\t}\n\t\t\tif (-y > super.minY) {\n\t\t\t\tsuper.minY = -y;\n\t\t\t}\n\t\t\tif (y > maxY) {\n\t\t\t\tmaxY = y;\n\t\t\t}\n\t\t\tint radiusSqr = (x * x) + (z * z);\n\t\t\tif (radiusSqr > radius) {\n\t\t\t\tradius = radiusSqr;\n\t\t\t}\n\t\t}\n\t\tradius = (int) Math.sqrt(radius);\n\t\tminDepth = (int) Math.sqrt((radius * radius) + (super.minY * super.minY));\n\t\tmaxDepth = minDepth + (int) Math.sqrt((radius * radius) + (maxY * maxY));\n\t}", "public GJBox2D boundingBox() {\n\t\tdouble xmin = Double.MAX_VALUE;\n\t\tdouble ymin = Double.MAX_VALUE;\n\t\tdouble xmax = Double.MIN_VALUE;\n\t\tdouble ymax = Double.MIN_VALUE;\n\n\t\t// coordinates of current point\n\t\tdouble x, y;\n\t\t\n\t\t// Iterate on each control point of each segment\n\t\tfor (Segment seg : this.segments) {\n\t\t\tfor (GJPoint2D p : seg.controlPoints()) {\n\t\t\t\t// get current coordinates\n\t\t\t\tx = p.x();\n\t\t\t\ty = p.y();\n\t\t\t\t\n\t\t\t\t// update bounds\n\t\t\t\txmin = Math.min(xmin, x);\n\t\t\t\tymin = Math.min(ymin, y);\n\t\t\t\txmax = Math.max(xmax, x);\n\t\t\t\tymax = Math.max(ymax, y);\n\t\t\t}\n\t\t}\n\t\t\n\t\t// createFromCollection a new GJBox2D with the bounds\n\t\treturn new GJBox2D(xmin, xmax, ymin, ymax);\n\t}", "public void computeStoredBounds()\n {\n computeSRectangleBound();\n computeCircleBound();\n }", "boolean isIncludeBounds();", "public CCAABoundingRectangle boundingRect(){\n\t\treturn _myBoundingRectangle;\n\t}", "public Circle getCircleBound()\n {\n return form.getCircleBound();\n }", "public RMRect getFrame() { return isRSS()? convertRectToShape(getBoundsInside(), _parent) : getBounds(); }", "private float[] getControlBounds() {\n\t\tRectangle r = control instanceof Scrollable ? ((Scrollable) control).getClientArea() : control.getBounds();\n\t\tfloat[] controlBounds = new float[]{r.x, r.y, r.x + r.width, r.y + r.height};\n\t\treturn controlBounds;\n\t}", "@Override\n\tpublic Rectangle getBounds() {\n\t\treturn new Rectangle(screen_x, screen_y, pinWidth, pinWidth);\n\t}", "public double[] get_bounds() {\n System.out.println ( \"section.get_bounds() called\" );\n double[] current_bounds = null;\n if (contours != null) {\n for (int i=0; i<contours.size(); i++) {\n ContourClass contour = contours.get(i);\n double[] cont_bounds = contour.get_bounds();\n if (cont_bounds != null) {\n if (current_bounds == null) {\n current_bounds = new double[4];\n current_bounds[0] = cont_bounds[0];\n current_bounds[1] = cont_bounds[1];\n current_bounds[2] = cont_bounds[2];\n current_bounds[3] = cont_bounds[3];\n } else {\n if (cont_bounds[0] < current_bounds[0]) current_bounds[0] = cont_bounds[0]; // minx\n if (cont_bounds[1] > current_bounds[1]) current_bounds[1] = cont_bounds[1]; // maxx\n if (cont_bounds[2] < current_bounds[2]) current_bounds[2] = cont_bounds[2]; // miny\n if (cont_bounds[3] > current_bounds[3]) current_bounds[3] = cont_bounds[3]; // maxy\n }\n }\n }\n }\n return ( current_bounds );\n }", "public int getBound();", "private Rectangle getParentBounds() {\n final var bounds = mParentBounds;\n\n return bounds == null\n ? mParentBounds = calculateBounds( getParent() )\n : bounds;\n }", "@Override\n\tpublic Rectangle getBound() {\n\t\trectBound.setX(posX+20);\n\t\trectBound.setY(Y_LAND - image.getHeight() +10);\n\t\trectBound.setWidth(image.getWidth()-10);\n\t\trectBound.setHeight(image.getHeight());\n\t\treturn rectBound;\n\t}", "private Bounds getBounds(final Value value, final DebugContext context)\r\n throws ViewerException {\r\n Bounds b = new Bounds();\r\n Method getBoundsMethod = value.getMethod(context,\r\n \"getBounds\", \"java.awt.Rectangle\", null);\r\n Value bounds = value.invokeMethod(context, getBoundsMethod,\r\n null);\r\n String type = value.getType(context).getName(context);\r\n int dot = type.lastIndexOf('.');\r\n if (dot >= 0) {\r\n type = type.substring(dot + 1);\r\n }\r\n b.type = type;\r\n \r\n try {\r\n Method getTextMethod = value.getMethod(context, \"getText\",\r\n \"java.lang.String\", null);\r\n Value result = value.invokeMethod(context, getTextMethod,\r\n null);\r\n if (!result.isNull()) {\r\n String str = result.toString(context);\r\n if (str.length() > 10) {\r\n str = str.substring(0, 7) + \"...\";\r\n }\r\n b.type += \" \\\"\" + str + \"\\\"\";\r\n }\r\n }\r\n catch (ViewerException e) {\r\n }\r\n \r\n b.bounds.x = bounds.getFieldValue(context, \"x\").toInt(context);\r\n b.bounds.y = bounds.getFieldValue(context, \"y\").toInt(context);\r\n b.bounds.width = bounds.getFieldValue(context, \"width\").\r\n toInt(context);\r\n b.bounds.height = bounds.getFieldValue(context, \"height\").\r\n toInt(context);\r\n if (value.isInstanceOf(context, \"java.awt.Container\")) {\r\n Method getComponentsMethod = value.getMethod(context,\r\n \"getComponents\", \"java.awt.Component[]\", null);\r\n Value children;\r\n try {\r\n children = value.invokeMethod(context,\r\n getComponentsMethod, null);\r\n }\r\n catch (ViewerException e) {\r\n b.children = new Bounds[0];\r\n return b;\r\n }\r\n b.children = new Bounds[children.getArrayLength(context)];\r\n for (int c = 0; c < b.children.length; c++) {\r\n b.children[c] = getBounds(children.getArrayElement(context,\r\n c), context);\r\n }\r\n }\r\n return b; \r\n }", "public abstract Rectangle getSnapshotSquareBounds();", "public Rectangle2D getBoundary() {\n return new Rectangle2D(x, y, width, height);\n }", "int getBoundsY();" ]
[ "0.7737443", "0.74436045", "0.72327006", "0.7059348", "0.70549256", "0.69599", "0.69506973", "0.6915641", "0.6880769", "0.68706286", "0.68706286", "0.68397194", "0.6823695", "0.6822446", "0.67953", "0.6739373", "0.67108715", "0.67108715", "0.67108715", "0.670456", "0.669445", "0.66740155", "0.666063", "0.6655254", "0.6649513", "0.6621676", "0.6601345", "0.65944505", "0.65894777", "0.65821606", "0.65614104", "0.65605384", "0.65235424", "0.6491648", "0.6476922", "0.6463021", "0.6452635", "0.6444676", "0.6440552", "0.64276296", "0.6419874", "0.64057547", "0.6403876", "0.6388362", "0.63785696", "0.63720655", "0.6364262", "0.63612974", "0.6353798", "0.63518655", "0.6342236", "0.63240355", "0.6319098", "0.63186973", "0.6315788", "0.63060814", "0.6282201", "0.6267922", "0.62343407", "0.6222336", "0.62198895", "0.61812294", "0.6174807", "0.61607015", "0.6156893", "0.61316395", "0.612966", "0.6093025", "0.60807073", "0.60794085", "0.60615057", "0.6038215", "0.6026637", "0.601207", "0.60087705", "0.5988096", "0.5979205", "0.5972466", "0.59703827", "0.5953953", "0.59502894", "0.5947116", "0.5940694", "0.5935785", "0.5928775", "0.5928552", "0.59065825", "0.59023255", "0.58741796", "0.58729124", "0.587072", "0.5870224", "0.5870086", "0.58677906", "0.5865484", "0.5862074", "0.58494484", "0.58400744", "0.58306533", "0.5828503" ]
0.811111
0
Returns the roll of the shape.
public double getRoll() { return _rss==null? 0 : _rss.roll; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public float getRoll() {\n return roll_;\n }", "public float getRoll() {\n return roll_;\n }", "public float getRoll() {\n return roll_;\n }", "public float getRoll() {\n return roll_;\n }", "float getRoll();", "float getRoll();", "public int roll() {\n this.assuerNN_random();\n //Roll once\n int result = random.nextInt(this.sides)+1;\n //TODO Save the roll somewhere\n\n //Return the roll\n return result;\n }", "public int roll()\n {\n int r = (int)(Math.random() * sides) + 1;\n return r;\n }", "int roll();", "public int roll() {\n Random random = new Random();\n faceValue = random.nextInt(sides)+1;\n return faceValue;\n }", "public String getRoll()\n\t{\n\t\treturn roll.getText();\n\t}", "public String roll() {\n\t\treturn null;\r\n\t}", "@Override\r\n\tpublic double getRollRightHand() {\n\t\treturn rechtRoll;\r\n\t}", "public synchronized double getRoll() {\n\t\tif (isConnected) {\n\t\t\treturn gyro.getRoll();\n\t\t}\n\t\telse {\n\t\t\treturn 0;\n\t\t}\n\t}", "public int roll() {\n\t\treturn 3;\n\t}", "@Override\r\n\tpublic double getRollLeftHand() {\n\t\treturn linkRoll;\r\n\t}", "public int roll() {\n Random r;\n if (hasSeed) {\n r = new Random();\n }\n else {\n r = new Random();\n }\n prevRoll = r.nextInt(range) + 1;\n return prevRoll;\n }", "public int roll() {\n return random.nextInt(6) + 1;\n }", "public final flipsParser.roll_return roll() throws RecognitionException {\n flipsParser.roll_return retval = new flipsParser.roll_return();\n retval.start = input.LT(1);\n\n CommonTree root_0 = null;\n\n Token string_literal163=null;\n Token string_literal164=null;\n Token To165=null;\n Token string_literal167=null;\n Token string_literal168=null;\n Token string_literal170=null;\n Token string_literal171=null;\n flipsParser.angularValueWithRate_return angularValueWithRate166 = null;\n\n flipsParser.angularValueWithRate_return angularValueWithRate169 = null;\n\n\n CommonTree string_literal163_tree=null;\n CommonTree string_literal164_tree=null;\n CommonTree To165_tree=null;\n CommonTree string_literal167_tree=null;\n CommonTree string_literal168_tree=null;\n CommonTree string_literal170_tree=null;\n CommonTree string_literal171_tree=null;\n RewriteRuleTokenStream stream_To=new RewriteRuleTokenStream(adaptor,\"token To\");\n RewriteRuleTokenStream stream_158=new RewriteRuleTokenStream(adaptor,\"token 158\");\n RewriteRuleTokenStream stream_157=new RewriteRuleTokenStream(adaptor,\"token 157\");\n RewriteRuleTokenStream stream_156=new RewriteRuleTokenStream(adaptor,\"token 156\");\n RewriteRuleTokenStream stream_155=new RewriteRuleTokenStream(adaptor,\"token 155\");\n RewriteRuleSubtreeStream stream_angularValueWithRate=new RewriteRuleSubtreeStream(adaptor,\"rule angularValueWithRate\");\n try {\n // flips.g:323:2: ( ( 'rol' | 'roll' ) To angularValueWithRate -> ^( ROLL FIXED angularValueWithRate ) | ( 'rol' | 'roll' ) angularValueWithRate -> ^( ROLL RELATIVE angularValueWithRate ) | ( 'lvl' | 'level' ) -> ^( ROLL LEVEL ) )\n int alt66=3;\n switch ( input.LA(1) ) {\n case 155:\n {\n int LA66_1 = input.LA(2);\n\n if ( (LA66_1==At||(LA66_1>=FloatingPointLiteral && LA66_1<=HexLiteral)||(LA66_1>=340 && LA66_1<=341)) ) {\n alt66=2;\n }\n else if ( (LA66_1==To) ) {\n alt66=1;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 66, 1, input);\n\n throw nvae;\n }\n }\n break;\n case 156:\n {\n int LA66_2 = input.LA(2);\n\n if ( (LA66_2==To) ) {\n alt66=1;\n }\n else if ( (LA66_2==At||(LA66_2>=FloatingPointLiteral && LA66_2<=HexLiteral)||(LA66_2>=340 && LA66_2<=341)) ) {\n alt66=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 66, 2, input);\n\n throw nvae;\n }\n }\n break;\n case 157:\n case 158:\n {\n alt66=3;\n }\n break;\n default:\n NoViableAltException nvae =\n new NoViableAltException(\"\", 66, 0, input);\n\n throw nvae;\n }\n\n switch (alt66) {\n case 1 :\n // flips.g:323:4: ( 'rol' | 'roll' ) To angularValueWithRate\n {\n // flips.g:323:4: ( 'rol' | 'roll' )\n int alt63=2;\n int LA63_0 = input.LA(1);\n\n if ( (LA63_0==155) ) {\n alt63=1;\n }\n else if ( (LA63_0==156) ) {\n alt63=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 63, 0, input);\n\n throw nvae;\n }\n switch (alt63) {\n case 1 :\n // flips.g:323:5: 'rol'\n {\n string_literal163=(Token)match(input,155,FOLLOW_155_in_roll1601); \n stream_155.add(string_literal163);\n\n\n }\n break;\n case 2 :\n // flips.g:323:11: 'roll'\n {\n string_literal164=(Token)match(input,156,FOLLOW_156_in_roll1603); \n stream_156.add(string_literal164);\n\n\n }\n break;\n\n }\n\n To165=(Token)match(input,To,FOLLOW_To_in_roll1606); \n stream_To.add(To165);\n\n pushFollow(FOLLOW_angularValueWithRate_in_roll1608);\n angularValueWithRate166=angularValueWithRate();\n\n state._fsp--;\n\n stream_angularValueWithRate.add(angularValueWithRate166.getTree());\n\n\n // AST REWRITE\n // elements: angularValueWithRate\n // token labels: \n // rule labels: retval\n // token list labels: \n // rule list labels: \n // wildcard labels: \n retval.tree = root_0;\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\n\n root_0 = (CommonTree)adaptor.nil();\n // 324:2: -> ^( ROLL FIXED angularValueWithRate )\n {\n // flips.g:324:5: ^( ROLL FIXED angularValueWithRate )\n {\n CommonTree root_1 = (CommonTree)adaptor.nil();\n root_1 = (CommonTree)adaptor.becomeRoot((CommonTree)adaptor.create(ROLL, \"ROLL\"), root_1);\n\n adaptor.addChild(root_1, (CommonTree)adaptor.create(FIXED, \"FIXED\"));\n adaptor.addChild(root_1, stream_angularValueWithRate.nextTree());\n\n adaptor.addChild(root_0, root_1);\n }\n\n }\n\n retval.tree = root_0;\n }\n break;\n case 2 :\n // flips.g:325:4: ( 'rol' | 'roll' ) angularValueWithRate\n {\n // flips.g:325:4: ( 'rol' | 'roll' )\n int alt64=2;\n int LA64_0 = input.LA(1);\n\n if ( (LA64_0==155) ) {\n alt64=1;\n }\n else if ( (LA64_0==156) ) {\n alt64=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 64, 0, input);\n\n throw nvae;\n }\n switch (alt64) {\n case 1 :\n // flips.g:325:5: 'rol'\n {\n string_literal167=(Token)match(input,155,FOLLOW_155_in_roll1625); \n stream_155.add(string_literal167);\n\n\n }\n break;\n case 2 :\n // flips.g:325:11: 'roll'\n {\n string_literal168=(Token)match(input,156,FOLLOW_156_in_roll1627); \n stream_156.add(string_literal168);\n\n\n }\n break;\n\n }\n\n pushFollow(FOLLOW_angularValueWithRate_in_roll1630);\n angularValueWithRate169=angularValueWithRate();\n\n state._fsp--;\n\n stream_angularValueWithRate.add(angularValueWithRate169.getTree());\n\n\n // AST REWRITE\n // elements: angularValueWithRate\n // token labels: \n // rule labels: retval\n // token list labels: \n // rule list labels: \n // wildcard labels: \n retval.tree = root_0;\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\n\n root_0 = (CommonTree)adaptor.nil();\n // 326:2: -> ^( ROLL RELATIVE angularValueWithRate )\n {\n // flips.g:326:5: ^( ROLL RELATIVE angularValueWithRate )\n {\n CommonTree root_1 = (CommonTree)adaptor.nil();\n root_1 = (CommonTree)adaptor.becomeRoot((CommonTree)adaptor.create(ROLL, \"ROLL\"), root_1);\n\n adaptor.addChild(root_1, (CommonTree)adaptor.create(RELATIVE, \"RELATIVE\"));\n adaptor.addChild(root_1, stream_angularValueWithRate.nextTree());\n\n adaptor.addChild(root_0, root_1);\n }\n\n }\n\n retval.tree = root_0;\n }\n break;\n case 3 :\n // flips.g:327:4: ( 'lvl' | 'level' )\n {\n // flips.g:327:4: ( 'lvl' | 'level' )\n int alt65=2;\n int LA65_0 = input.LA(1);\n\n if ( (LA65_0==157) ) {\n alt65=1;\n }\n else if ( (LA65_0==158) ) {\n alt65=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 65, 0, input);\n\n throw nvae;\n }\n switch (alt65) {\n case 1 :\n // flips.g:327:5: 'lvl'\n {\n string_literal170=(Token)match(input,157,FOLLOW_157_in_roll1647); \n stream_157.add(string_literal170);\n\n\n }\n break;\n case 2 :\n // flips.g:327:11: 'level'\n {\n string_literal171=(Token)match(input,158,FOLLOW_158_in_roll1649); \n stream_158.add(string_literal171);\n\n\n }\n break;\n\n }\n\n\n\n // AST REWRITE\n // elements: \n // token labels: \n // rule labels: retval\n // token list labels: \n // rule list labels: \n // wildcard labels: \n retval.tree = root_0;\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\n\n root_0 = (CommonTree)adaptor.nil();\n // 328:2: -> ^( ROLL LEVEL )\n {\n // flips.g:328:5: ^( ROLL LEVEL )\n {\n CommonTree root_1 = (CommonTree)adaptor.nil();\n root_1 = (CommonTree)adaptor.becomeRoot((CommonTree)adaptor.create(ROLL, \"ROLL\"), root_1);\n\n adaptor.addChild(root_1, (CommonTree)adaptor.create(LEVEL, \"LEVEL\"));\n\n adaptor.addChild(root_0, root_1);\n }\n\n }\n\n retval.tree = root_0;\n }\n break;\n\n }\n retval.stop = input.LT(-1);\n\n retval.tree = (CommonTree)adaptor.rulePostProcessing(root_0);\n adaptor.setTokenBoundaries(retval.tree, retval.start, retval.stop);\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n \tretval.tree = (CommonTree)adaptor.errorNode(input, retval.start, input.LT(-1), re);\n\n }\n finally {\n }\n return retval;\n }", "public double getRolledHeading() {\n double heading = 360.0 - getRawHeading();\n if (lastHeading < 100 && heading > 300) {\n rotationAmt--;\n } else if (heading < 100 && lastHeading > 300) {\n rotationAmt++;\n }\n lastHeading = heading;\n return heading + rotationAmt * 360.0;\n }", "@Override\n default void appendRollRotation(double roll)\n {\n AxisAngleTools.appendRollRotation(this, roll, this);\n }", "public void roll(){\n Random rand = new Random();\n this.rollVal = rand.nextInt(this.faces) + 1;\n }", "public int roll(){\r\n myFaceValue = (int)(Math.random() * myNumSides) + 1;\r\n return myFaceValue;\r\n }", "public void roll()\r\n\t{\r\n\t\tRandom rand = new Random();\r\n\r\n\t\trollNumber = rand.nextInt(numOfSides) + 1;\r\n\t}", "public int getRollNo() {\n\t\treturn this.roll_no;\n\t}", "public int generateRoll() {\n\t\tint something = (int) (Math.random() * 100) + 1;\n\t\tif (something <= 80) {\n\t\t\tint allNumRoll = (int) (Math.random() * getNumSides()) + 1;\n\t\t\tint roll = allNumRoll * 2 - 1;\n\t\t\treturn roll;\n\t\t} else {\n\t\t\tint allNumRoll = (int) (Math.random() * getNumSides()) + 1;\n\t\t\tint roll = allNumRoll * 2;\t\t\n\t\t\treturn roll;\n\t\t}\n\t}", "public int roll()\r\n\t{\r\n\t return die1.roll() + die2.roll();\r\n \t}", "private RollType rollType(Roll roll) {\n return lastRoll(roll) ? RollType.LAST_ROLL :\n roll.isSpare() ? SPARE :\n roll.isStrike() ? STRIKE :\n RollType.get(roll.getThrowForFrame());\n }", "public String roll() {\n int randomIndex = new Random().nextInt(faceList.size());\n activeFace = faceList.get(randomIndex);\n return activeFace;\n }", "public int getRollVal(){\n return this.rollVal;\n }", "public float getRoll(float[] quat) {\n float[] newquat = normalizeQuat(quat);\n float degreeReturn = (float) Math.toDegrees((double) getRollRad(newquat)); // +180 to return between 0 and 360\n\n //-90 to 180\n if (-90f <= degreeReturn && degreeReturn <= 180f) {\n return degreeReturn + 90f;\n } else {\n //-180 to -90\n return degreeReturn + 180 + 270;\n }\n }", "public int roll(int roll) {\n \t\tappendAction(R.string.player_roll, Integer.toString(roll));\n \t\tboard.roll(roll);\n \n \t\treturn roll;\n \t}", "public final int getRollNo() {\n\t\t// this.rollNo = 10 ;\n\t\treturn this.rollNo;\n\t}", "public int roll() \r\n {\r\n \r\n die1FaceValue = die1.roll();\r\n die2FaceValue = die2.roll();\r\n \r\n diceTotal = die1FaceValue + die2FaceValue;\r\n \r\n return diceTotal;\r\n }", "public void roll() {\n\t\tthis.currentValue = ThreadLocalRandom.current().nextInt(1, this.numSides + 1);\n\t}", "public Shape rotateLeft() \n\t{\n\t\tif (detailShape == Tetromino.SQUARE)\n\t\t{\n\t\t\treturn this;\n\t\t}\n\t\t\n\t\tvar result = new Shape();\n\t\tresult.detailShape = detailShape;\n\t\t\n\t\tfor (int i=0; i<4; i++)\n\t\t{\n\t\t\tresult.setX(i, y(i));\n\t\t\tresult.setY(i, -x(i));\n\t\t}\n\t\t\n\t\treturn result;\n\t}", "public int prevRoll() {\n return prevRoll;\n }", "RollingResult roll(Player player);", "public float getRollRad(float[] quat) {\n float x = quat[0];\n float y = quat[1];\n float z = quat[2];\n float w = quat[3];\n final int pole = getGimbalPole(quat);\n return (float) (pole == 0 ? Math.atan2((double) (2f * (w * z + y * x)), (double) (1f - 2f * (x * x + z * z))) : (float) pole * 2f\n * Math.atan2(y, w));\n }", "public int rollMult(){\r\n\t\treturn dieClass.rollMultiplier();\r\n\t}", "public int rollResult(){\r\n return rand.nextInt(6) + 1;\r\n }", "public void roll() { \n this.value = (int)(Math.random() * this.faces()) + 1; \n }", "public int getRoll1()\r\n {\r\n return roll1;\r\n }", "@Override\n default void prependRollRotation(double roll)\n {\n AxisAngleTools.prependRollRotation(roll, this, this);\n }", "static int roll() {\n\t\tRandom rand = new Random();\t\t\t\t//get large random number\n\t\tint num2 = rand.nextInt();\t\t\t\t//convert from long to int\n\t\treturn Math.abs(num2%6)+1;\t\t\t\t//num between 1 and 6\n\t}", "public Shape rotateRight()\n\t{\n\t\tif (detailShape == Tetromino.SQUARE)\n\t\t{\n\t\t\treturn this;\n\t\t}\n\t\t\n\t\tvar result = new Shape();\n\t\tresult.detailShape = detailShape;\n\t\t\n\t\tfor (int i=0; i<4; i++)\n\t\t{\n\t\t\tresult.setX(i, -y(i));\n\t\t\tresult.setY(i, x(i));\n\t\t}\n\t\t\n\t\treturn result;\n\t}", "public void roll ()\n {\n //sets faceValue to an int between 1 - numFaces (both inclusive)\n faceValue = (int)(Math.random() * numFaces + 1);\n }", "public int RollCount() {\n\t\treturn 0;\r\n\t}", "public String roll() {\n String roll = courseName;\n for (Student student : studentList) {\n roll += \"\\n\\n\" + student.toString();\n }\n return roll;\n }", "public void roll()\r\n\t{\r\n\t\tthis.value = rnd.nextInt(6) + 1;\r\n\t}", "void roll(int noOfPins);", "void roll(int pins);", "public Integer rollAndSum() {\n return null;\n }", "public final void mROLL() throws RecognitionException\n\t{\n\t\ttry\n\t\t{\n\t\t\tfinal int _type = AshvmLexer.ROLL;\n\t\t\tfinal int _channel = BaseRecognizer.DEFAULT_TOKEN_CHANNEL;\n\t\t\t// D:\\\\Programmieren\\\\projects\\\\ashvm\\\\Ashvm.g:741:6: ( 'roll' )\n\t\t\t// D:\\\\Programmieren\\\\projects\\\\ashvm\\\\Ashvm.g:741:8: 'roll'\n\t\t\t{\n\t\t\t\tthis.match(\"roll\");\n\n\t\t\t}\n\n\t\t\tthis.state.type = _type;\n\t\t\tthis.state.channel = _channel;\n\t\t}\n\t\tfinally\n\t\t{\n\t\t}\n\t}", "public int rollDice() {\n\t\td1 = r.nextInt(6) + 1;\n\t\td2 = r.nextInt(6) + 1;\n\t\trepaint();\n\t\treturn d1 + d2;\n\t}", "public int getRoll2()\r\n {\r\n return roll2;\r\n }", "public int roll3D6()\n {\n Random random1 = new Random();\n int r = random1.nextInt(6) +1;\n r += random1.nextInt(6) +1;\n r += random1.nextInt(6) +1;\n return r;\n }", "public int getThirdRoll() {return roll3;}", "public void roll(){\n roll(new boolean[]{true,true,true,true,true});\n }", "public void roll(){\n currentValue = rand.nextInt(6)+1;\n }", "public void roll() {\n int number = new Random().nextInt(MAXIMUM_FACE_NUMBER);\n FaceValue faceValue = FaceValue.values()[number];\n setFaceValue(faceValue);\n }", "public int rollNumber() throws ClientException{\n\t\t//if(canRollNumber()){\n\t\t\thasRolled = true;\n\t\t\tRandom rand = new Random();\n\t\t\tint roll = rand.nextInt(6)+1;\n\t\t\troll += rand.nextInt(6)+1;\n\t\t\treturn roll == 7 ? 6:roll;\n\n\t}", "public void roll() {\n if(!frozen) {\n this.value = ((int)(Math.random() * numSides + 1));\n }\n }", "public void roll() {\n\t\tthis.faceValue = (int)(NUM_SIDES*Math.random()) + 1;\n\t}", "void rollNumber(int d1, int d2);", "public int rollDice();", "public String getRollNumber(){\n return rollNumber;\n }", "@Generated\n public Rol getRol() {\n Long __key = this.usu_rol_id;\n if (rol__resolvedKey == null || !rol__resolvedKey.equals(__key)) {\n __throwIfDetached();\n RolDao targetDao = daoSession.getRolDao();\n Rol rolNew = targetDao.load(__key);\n synchronized (this) {\n rol = rolNew;\n \trol__resolvedKey = __key;\n }\n }\n return rol;\n }", "public Deposit roll() {\n return new Deposit(amount, date.plusDays(1), payee);\n }", "int getAttackRoll();", "public String rollResult() {\n\t\treturn String.format(\"Your rolled a %s and a %s, giving a sum of %s\", die1.getFaceValue(), die2.getFaceValue(),\n\t\t\t\tsumOfDies());\n\t}", "public void roll(double angle) {\n left = rotateVectorAroundAxis(left, heading, angle);\r\n up = rotateVectorAroundAxis(up, heading, angle);\r\n\r\n }", "int RollDice ()\n {\n\tint roll = (int) (Math.random () * 6) + 1;\n\treturn roll;\n }", "@Override\r\n\tpublic int rollDice() {\n\t\treturn 0;\r\n\t}", "public Number getTotalRolls() {\n return (Number)getAttributeInternal(TOTALROLLS);\n }", "@BinderThread\n public void setRoll(float roll) {\n this.roll = -roll;\n }", "public abstract int rollDice();", "public static int rollDice(){\n return (int)(Math.random()*6) + 1;\n // Math.random returns a double number >=0.0 and <1.0\n }", "public int getRent(int rollSum){\n if(owner != null) {\n if (groupName == 002) {// railroad\n\n return (int) (Math.pow(2, (numberOfAGroupOwned(002) - 1))) * 25;\n\n } else if (groupName == 005) {// utilities\n\n if (numberOfAGroupOwned(005)==2) {// if they own both utilities\n\n return rollSum * 10;\n\n } else {// if they own 1 utility\n\n return rollSum * 4;\n\n }\n\n } else {//normal properties\n\n if (playerHasMonopoly() && this.numberHouses == 0) {// if they have a monopoly but no houses\n\n return this.rent[numberHouses] * 2;\n\n\n }else if(playerHasMonopoly() && this.numberHouses != 0) {// if they have a monopoly and any amount of houses\n\n return this.rent[numberHouses];\n\n } else{// if they don't have a monopoly\n\n return this.rent[numberHouses];\n\n }\n\n }\n } else{\n\n return 0;\n\n }\n\n }", "public String getRol() \n {\n \t return rol;\n }", "public static int rollDice()\n\t{\n\t\tint roll = (int)(Math.random()*6)+1;\n\t\t\n\t\treturn roll;\n\n\t}", "public Builder setRoll(float value) {\n bitField0_ |= 0x00000080;\n roll_ = value;\n onChanged();\n return this;\n }", "public double getAngle() {\n\t\treturn 180 * (this.N - 2) / this.N;\n\t}", "public double getRightJoystickHorizontal() {\n\t\treturn getRawAxis(RIGHT_STICK_HORIZONTAL);\n\t}", "boolean hasRoll();", "boolean hasRoll();", "public Builder setRoll(float value) {\n bitField0_ |= 0x00000020;\n roll_ = value;\n onChanged();\n return this;\n }", "@Override\n public Shape getCelkoveHranice() {\n return new Rectangle2D.Double(super.getX() + 22, super.getY() + 45, 45, 45);\n }", "private void roll() {\n value = (int) (Math.random() * MAXVALUE) + 1;\n }", "@Override\n public int rollNumber() throws ModelException {\n // the range is 10 (2 - 12)\n final int ROLL_NUMBERS_RANGE = 10;\n final int MINIMUM_ROLL = 2;\n final Random randomNumberGenerator = new Random();\n\n int rolledNumber = randomNumberGenerator.nextInt(ROLL_NUMBERS_RANGE) + MINIMUM_ROLL;\n assert rolledNumber >= 2 && rolledNumber <= 12;\n\n IPlayer p = GameModelFacade.instance().getLocalPlayer();\n if (GameModelFacade.instance().getGame().getGameState() != GameState.Rolling || !p.equals(GameModelFacade.instance().getGame().getCurrentPlayer())) {\n throw new ModelException(\"Preconditions for action not met.\");\n }\n\n try {\n String clientModel = m_theProxy.rollNumber(p.getIndex(), rolledNumber);\n new ModelInitializer().initializeClientModel(clientModel, m_theProxy.getPlayerId());\n }\n catch (NetworkException e) {\n throw new ModelException(e);\n }\n\n return rolledNumber;\n }", "public int roll() {\n int result = ThreadLocalRandom.current().nextInt(SIDES+1) + 1;// standard 1-7\n if(result == 7){ //LoadedDie 6 occurs twice as often\n return 6;\n } else{\n return result;\n }\n }", "void rollDice();", "public int rollDice() {\n\t\td1 = (int)rand.nextInt(6)+1;\n\t\td2 = (int)rand.nextInt(6)+1;\n\t\treturn d1+d2;\n\t}", "public int diceValue()\r\n\t{\r\n\t\treturn rollNumber;\r\n\t}", "public int getNumberOfRolls()\n {\n return this.numberOfRolls;\n }", "public Rotation2d getHeading() {\n return Rotation2d.fromDegrees(Math.IEEEremainder(gyro.getAngle(), 360) * (Const.kGyroReversed ? -1.0 : 1.0));\n }", "@Generated\n @Selector(\"rollingPeriod\")\n public native int rollingPeriod();", "public void rollAtk() {\n rollAtk = roll();\n }", "public double getLeftJoystickHorizontal() {\n\t\treturn getRawAxis(LEFT_STICK_HORIZONTAL);\n\t}", "public Number getBlncRolls() {\n return (Number)getAttributeInternal(BLNCROLLS);\n }" ]
[ "0.7359066", "0.7359066", "0.7348886", "0.7348886", "0.7312059", "0.7312059", "0.7007488", "0.6988133", "0.6811697", "0.68030775", "0.6746419", "0.6745642", "0.672791", "0.6727078", "0.6682917", "0.667811", "0.66186994", "0.64945567", "0.6431407", "0.6405635", "0.6395384", "0.6393818", "0.63832825", "0.63443303", "0.62405306", "0.6231658", "0.6219392", "0.61801004", "0.61307204", "0.6112626", "0.6074133", "0.6053066", "0.59968835", "0.5992375", "0.5937387", "0.590796", "0.5880904", "0.5868734", "0.5844588", "0.5842416", "0.58148086", "0.57892334", "0.5774127", "0.5770014", "0.5746381", "0.573869", "0.57365125", "0.5706792", "0.56979847", "0.5688666", "0.56879896", "0.56751233", "0.56579095", "0.5637064", "0.5627196", "0.56133294", "0.5605763", "0.5602734", "0.55880094", "0.55862975", "0.5573717", "0.55527735", "0.5517605", "0.551538", "0.550591", "0.5502287", "0.55010927", "0.5492101", "0.5469721", "0.54597694", "0.54476", "0.54446596", "0.54428077", "0.54024446", "0.53864807", "0.5373068", "0.5370143", "0.5368428", "0.53472733", "0.5317367", "0.53111607", "0.53018725", "0.53013855", "0.5299733", "0.5278479", "0.5278479", "0.52671766", "0.5247307", "0.5246859", "0.52431166", "0.5235484", "0.5220233", "0.5219816", "0.5172668", "0.51710606", "0.515734", "0.5154703", "0.51181436", "0.51164526", "0.50968087" ]
0.60522586
32
Sets the roll of the shape.
public void setRoll(double aValue) { if(aValue==getRoll()) return; repaint(); firePropertyChange("Roll", getRSS().roll, getRSS().roll = aValue, -1); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@BinderThread\n public void setRoll(float roll) {\n this.roll = -roll;\n }", "public Builder setRoll(float value) {\n bitField0_ |= 0x00000080;\n roll_ = value;\n onChanged();\n return this;\n }", "public Builder setRoll(float value) {\n bitField0_ |= 0x00000020;\n roll_ = value;\n onChanged();\n return this;\n }", "public void setRolled(boolean rolled) {\n\t\tthis.rolled = rolled;\n\t\trepaint();\n\t}", "@Override\n default void appendRollRotation(double roll)\n {\n AxisAngleTools.appendRollRotation(this, roll, this);\n }", "public void roll() {\n int number = new Random().nextInt(MAXIMUM_FACE_NUMBER);\n FaceValue faceValue = FaceValue.values()[number];\n setFaceValue(faceValue);\n }", "public void roll(){\n Random rand = new Random();\n this.rollVal = rand.nextInt(this.faces) + 1;\n }", "public void roll() {\n\t\tthis.currentValue = ThreadLocalRandom.current().nextInt(1, this.numSides + 1);\n\t}", "public void roll ()\n {\n //sets faceValue to an int between 1 - numFaces (both inclusive)\n faceValue = (int)(Math.random() * numFaces + 1);\n }", "public float getRoll() {\n return roll_;\n }", "public float getRoll() {\n return roll_;\n }", "@Override\n default void prependRollRotation(double roll)\n {\n AxisAngleTools.prependRollRotation(roll, this, this);\n }", "public Builder clearRoll() {\n bitField0_ = (bitField0_ & ~0x00000020);\n roll_ = 0F;\n onChanged();\n return this;\n }", "public Builder clearRoll() {\n bitField0_ = (bitField0_ & ~0x00000080);\n roll_ = 0F;\n onChanged();\n return this;\n }", "public void setPosition(int roll){\n\t\tif(roll == 4 || roll == 6){\n\t\t\tthis.cell -= roll;\n\t\t}else{\n\t\t\tthis.cell += roll;\n\t\t}\n\t\t//if they have to move backwards past the start, set their position to the start instead of a negative position\n\t\tif(this.cell < 0 ){\n\t\t\tthis.cell = 0;\n\t\t}\n\t}", "public float getRoll() {\n return roll_;\n }", "public float getRoll() {\n return roll_;\n }", "public void roll()\r\n\t{\r\n\t\tRandom rand = new Random();\r\n\r\n\t\trollNumber = rand.nextInt(numOfSides) + 1;\r\n\t}", "public void roll() {\n if(!frozen) {\n this.value = ((int)(Math.random() * numSides + 1));\n }\n }", "public void roll(){\n roll(new boolean[]{true,true,true,true,true});\n }", "public void setShape(Shape shape) {\n validateShape(shape);\n\n this.shape = shape;\n this.shape.calculate();\n initializeScroller();\n resetScroll();\n }", "public void roll()\r\n\t{\r\n\t\tthis.value = rnd.nextInt(6) + 1;\r\n\t}", "public void roll() { \n this.value = (int)(Math.random() * this.faces()) + 1; \n }", "private void setRoller(Roller w) {\n if (currentRoller == null) {\n currentRoller = w;\n world.addStepListener(currentRoller);\n }\n }", "public void roll() {\n\t\tthis.faceValue = (int)(NUM_SIDES*Math.random()) + 1;\n\t}", "public void setRollNumber() {\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// setter method initialized\r\n System.out.println(\"Roll Number : \"+rollNumber);}", "public void setRollNo ( int rollno ) {\n\t\tthis.rollno = rollno;\t\n\t}", "public void roll(double angle) {\n left = rotateVectorAroundAxis(left, heading, angle);\r\n up = rotateVectorAroundAxis(up, heading, angle);\r\n\r\n }", "float getRoll();", "float getRoll();", "public void setFrame(float[] p, float[] v, float roll) {\r\n\r\n\t// any movement of origin since we last updated the co-ords\r\n\tif (p[0] == _p[0] && p[1] == _p[1] && p[2] == _p[2]) {\r\n\t // local origin has not moved\r\n\t // so lets look at rotation\r\n\t} else {\r\n\t this.p[0] = p[0];\r\n\t this.p[1] = p[1];\r\n\t this.p[2] = p[2];\r\n\t dirtyT = true;\r\n\t}\r\n\r\n\t// any rotation of axes ?\r\n\tif (roll == _roll && j[0] == v[0] && \r\n\t j[1] == v[1] && j[2] == v[2]) {\r\n\t // no rotation - job done !\r\n\t return;\r\n\t}\r\n\r\n\tj[0] = v[0];\r\n\tj[1] = v[1];\r\n\tj[2] = v[2];\r\n\tthis.roll = roll;\r\n\r\n\tTools3d.cross(v,UP,i_);\r\n\tTools3d.cross(i_, j, k_);\r\n\r\n\t// now apply roll\r\n\tif (roll != 0) {\r\n\t //Tools3d.linearSum(Tools3d.quickSin(roll), i_, Tools3d.quickCos(roll), k_, k);\r\n\t //Tools3d.linearSum(Tools3d.quickCos(roll), i_, - Tools3d.quickSin(roll), k_, i);\r\n\t Tools3d.linearSum((float) Math.sin(roll), i_, (float) Math.cos(roll), k_, k);\r\n\t Tools3d.linearSum((float) Math.cos(roll), i_, (float) - Math.sin(roll), k_, i);\r\n\t} else {\r\n\t k[0] = k_[0]; \r\n\t k[1] = k_[1]; \r\n\t k[2] = k_[2];\r\n\t i[0] = i_[0];\r\n\t i[1] = i_[1];\r\n\t i[2] = i_[2];\r\n\t}\r\n\tdirtyR = true;\r\n }", "@Override\r\n public void setShape (Shape shape)\r\n {\r\n setShape(shape, Evaluation.ALGORITHM);\r\n }", "private void roll() {\n value = (int) (Math.random() * MAXVALUE) + 1;\n }", "public void resetAngle() {\n\t\t//this.angle = (this.orientation % 4 + 4) * (90);\n\t\tthis.angle = this.orientation * 90*-1;\n\t\tthis.tweenAngle.setCurrentValue(this.angle);\n\t\tthis.tweenAngle.setTargetValue(this.angle);\n\t}", "public int roll()\n {\n int r = (int)(Math.random() * sides) + 1;\n return r;\n }", "public final void mROLL() throws RecognitionException\n\t{\n\t\ttry\n\t\t{\n\t\t\tfinal int _type = AshvmLexer.ROLL;\n\t\t\tfinal int _channel = BaseRecognizer.DEFAULT_TOKEN_CHANNEL;\n\t\t\t// D:\\\\Programmieren\\\\projects\\\\ashvm\\\\Ashvm.g:741:6: ( 'roll' )\n\t\t\t// D:\\\\Programmieren\\\\projects\\\\ashvm\\\\Ashvm.g:741:8: 'roll'\n\t\t\t{\n\t\t\t\tthis.match(\"roll\");\n\n\t\t\t}\n\n\t\t\tthis.state.type = _type;\n\t\t\tthis.state.channel = _channel;\n\t\t}\n\t\tfinally\n\t\t{\n\t\t}\n\t}", "void roll(int pins);", "public int roll() {\n\t\treturn 3;\n\t}", "public void setShape( final FireShapes shape ) {\r\n\t\tthis.shape = shape;\r\n\t}", "public int roll() {\n this.assuerNN_random();\n //Roll once\n int result = random.nextInt(this.sides)+1;\n //TODO Save the roll somewhere\n\n //Return the roll\n return result;\n }", "public void rollAtk() {\n rollAtk = roll();\n }", "public int roll(){\r\n myFaceValue = (int)(Math.random() * myNumSides) + 1;\r\n return myFaceValue;\r\n }", "void roll(int noOfPins);", "public int roll() {\n Random random = new Random();\n faceValue = random.nextInt(sides)+1;\n return faceValue;\n }", "public void roll(){\n currentValue = rand.nextInt(6)+1;\n }", "public int roll() {\n Random r;\n if (hasSeed) {\n r = new Random();\n }\n else {\n r = new Random();\n }\n prevRoll = r.nextInt(range) + 1;\n return prevRoll;\n }", "public void reRoll() {\n this.result = this.roll();\n this.isSix = this.result == 6;\n }", "public final flipsParser.roll_return roll() throws RecognitionException {\n flipsParser.roll_return retval = new flipsParser.roll_return();\n retval.start = input.LT(1);\n\n CommonTree root_0 = null;\n\n Token string_literal163=null;\n Token string_literal164=null;\n Token To165=null;\n Token string_literal167=null;\n Token string_literal168=null;\n Token string_literal170=null;\n Token string_literal171=null;\n flipsParser.angularValueWithRate_return angularValueWithRate166 = null;\n\n flipsParser.angularValueWithRate_return angularValueWithRate169 = null;\n\n\n CommonTree string_literal163_tree=null;\n CommonTree string_literal164_tree=null;\n CommonTree To165_tree=null;\n CommonTree string_literal167_tree=null;\n CommonTree string_literal168_tree=null;\n CommonTree string_literal170_tree=null;\n CommonTree string_literal171_tree=null;\n RewriteRuleTokenStream stream_To=new RewriteRuleTokenStream(adaptor,\"token To\");\n RewriteRuleTokenStream stream_158=new RewriteRuleTokenStream(adaptor,\"token 158\");\n RewriteRuleTokenStream stream_157=new RewriteRuleTokenStream(adaptor,\"token 157\");\n RewriteRuleTokenStream stream_156=new RewriteRuleTokenStream(adaptor,\"token 156\");\n RewriteRuleTokenStream stream_155=new RewriteRuleTokenStream(adaptor,\"token 155\");\n RewriteRuleSubtreeStream stream_angularValueWithRate=new RewriteRuleSubtreeStream(adaptor,\"rule angularValueWithRate\");\n try {\n // flips.g:323:2: ( ( 'rol' | 'roll' ) To angularValueWithRate -> ^( ROLL FIXED angularValueWithRate ) | ( 'rol' | 'roll' ) angularValueWithRate -> ^( ROLL RELATIVE angularValueWithRate ) | ( 'lvl' | 'level' ) -> ^( ROLL LEVEL ) )\n int alt66=3;\n switch ( input.LA(1) ) {\n case 155:\n {\n int LA66_1 = input.LA(2);\n\n if ( (LA66_1==At||(LA66_1>=FloatingPointLiteral && LA66_1<=HexLiteral)||(LA66_1>=340 && LA66_1<=341)) ) {\n alt66=2;\n }\n else if ( (LA66_1==To) ) {\n alt66=1;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 66, 1, input);\n\n throw nvae;\n }\n }\n break;\n case 156:\n {\n int LA66_2 = input.LA(2);\n\n if ( (LA66_2==To) ) {\n alt66=1;\n }\n else if ( (LA66_2==At||(LA66_2>=FloatingPointLiteral && LA66_2<=HexLiteral)||(LA66_2>=340 && LA66_2<=341)) ) {\n alt66=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 66, 2, input);\n\n throw nvae;\n }\n }\n break;\n case 157:\n case 158:\n {\n alt66=3;\n }\n break;\n default:\n NoViableAltException nvae =\n new NoViableAltException(\"\", 66, 0, input);\n\n throw nvae;\n }\n\n switch (alt66) {\n case 1 :\n // flips.g:323:4: ( 'rol' | 'roll' ) To angularValueWithRate\n {\n // flips.g:323:4: ( 'rol' | 'roll' )\n int alt63=2;\n int LA63_0 = input.LA(1);\n\n if ( (LA63_0==155) ) {\n alt63=1;\n }\n else if ( (LA63_0==156) ) {\n alt63=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 63, 0, input);\n\n throw nvae;\n }\n switch (alt63) {\n case 1 :\n // flips.g:323:5: 'rol'\n {\n string_literal163=(Token)match(input,155,FOLLOW_155_in_roll1601); \n stream_155.add(string_literal163);\n\n\n }\n break;\n case 2 :\n // flips.g:323:11: 'roll'\n {\n string_literal164=(Token)match(input,156,FOLLOW_156_in_roll1603); \n stream_156.add(string_literal164);\n\n\n }\n break;\n\n }\n\n To165=(Token)match(input,To,FOLLOW_To_in_roll1606); \n stream_To.add(To165);\n\n pushFollow(FOLLOW_angularValueWithRate_in_roll1608);\n angularValueWithRate166=angularValueWithRate();\n\n state._fsp--;\n\n stream_angularValueWithRate.add(angularValueWithRate166.getTree());\n\n\n // AST REWRITE\n // elements: angularValueWithRate\n // token labels: \n // rule labels: retval\n // token list labels: \n // rule list labels: \n // wildcard labels: \n retval.tree = root_0;\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\n\n root_0 = (CommonTree)adaptor.nil();\n // 324:2: -> ^( ROLL FIXED angularValueWithRate )\n {\n // flips.g:324:5: ^( ROLL FIXED angularValueWithRate )\n {\n CommonTree root_1 = (CommonTree)adaptor.nil();\n root_1 = (CommonTree)adaptor.becomeRoot((CommonTree)adaptor.create(ROLL, \"ROLL\"), root_1);\n\n adaptor.addChild(root_1, (CommonTree)adaptor.create(FIXED, \"FIXED\"));\n adaptor.addChild(root_1, stream_angularValueWithRate.nextTree());\n\n adaptor.addChild(root_0, root_1);\n }\n\n }\n\n retval.tree = root_0;\n }\n break;\n case 2 :\n // flips.g:325:4: ( 'rol' | 'roll' ) angularValueWithRate\n {\n // flips.g:325:4: ( 'rol' | 'roll' )\n int alt64=2;\n int LA64_0 = input.LA(1);\n\n if ( (LA64_0==155) ) {\n alt64=1;\n }\n else if ( (LA64_0==156) ) {\n alt64=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 64, 0, input);\n\n throw nvae;\n }\n switch (alt64) {\n case 1 :\n // flips.g:325:5: 'rol'\n {\n string_literal167=(Token)match(input,155,FOLLOW_155_in_roll1625); \n stream_155.add(string_literal167);\n\n\n }\n break;\n case 2 :\n // flips.g:325:11: 'roll'\n {\n string_literal168=(Token)match(input,156,FOLLOW_156_in_roll1627); \n stream_156.add(string_literal168);\n\n\n }\n break;\n\n }\n\n pushFollow(FOLLOW_angularValueWithRate_in_roll1630);\n angularValueWithRate169=angularValueWithRate();\n\n state._fsp--;\n\n stream_angularValueWithRate.add(angularValueWithRate169.getTree());\n\n\n // AST REWRITE\n // elements: angularValueWithRate\n // token labels: \n // rule labels: retval\n // token list labels: \n // rule list labels: \n // wildcard labels: \n retval.tree = root_0;\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\n\n root_0 = (CommonTree)adaptor.nil();\n // 326:2: -> ^( ROLL RELATIVE angularValueWithRate )\n {\n // flips.g:326:5: ^( ROLL RELATIVE angularValueWithRate )\n {\n CommonTree root_1 = (CommonTree)adaptor.nil();\n root_1 = (CommonTree)adaptor.becomeRoot((CommonTree)adaptor.create(ROLL, \"ROLL\"), root_1);\n\n adaptor.addChild(root_1, (CommonTree)adaptor.create(RELATIVE, \"RELATIVE\"));\n adaptor.addChild(root_1, stream_angularValueWithRate.nextTree());\n\n adaptor.addChild(root_0, root_1);\n }\n\n }\n\n retval.tree = root_0;\n }\n break;\n case 3 :\n // flips.g:327:4: ( 'lvl' | 'level' )\n {\n // flips.g:327:4: ( 'lvl' | 'level' )\n int alt65=2;\n int LA65_0 = input.LA(1);\n\n if ( (LA65_0==157) ) {\n alt65=1;\n }\n else if ( (LA65_0==158) ) {\n alt65=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 65, 0, input);\n\n throw nvae;\n }\n switch (alt65) {\n case 1 :\n // flips.g:327:5: 'lvl'\n {\n string_literal170=(Token)match(input,157,FOLLOW_157_in_roll1647); \n stream_157.add(string_literal170);\n\n\n }\n break;\n case 2 :\n // flips.g:327:11: 'level'\n {\n string_literal171=(Token)match(input,158,FOLLOW_158_in_roll1649); \n stream_158.add(string_literal171);\n\n\n }\n break;\n\n }\n\n\n\n // AST REWRITE\n // elements: \n // token labels: \n // rule labels: retval\n // token list labels: \n // rule list labels: \n // wildcard labels: \n retval.tree = root_0;\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\n\n root_0 = (CommonTree)adaptor.nil();\n // 328:2: -> ^( ROLL LEVEL )\n {\n // flips.g:328:5: ^( ROLL LEVEL )\n {\n CommonTree root_1 = (CommonTree)adaptor.nil();\n root_1 = (CommonTree)adaptor.becomeRoot((CommonTree)adaptor.create(ROLL, \"ROLL\"), root_1);\n\n adaptor.addChild(root_1, (CommonTree)adaptor.create(LEVEL, \"LEVEL\"));\n\n adaptor.addChild(root_0, root_1);\n }\n\n }\n\n retval.tree = root_0;\n }\n break;\n\n }\n retval.stop = input.LT(-1);\n\n retval.tree = (CommonTree)adaptor.rulePostProcessing(root_0);\n adaptor.setTokenBoundaries(retval.tree, retval.start, retval.stop);\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n \tretval.tree = (CommonTree)adaptor.errorNode(input, retval.start, input.LT(-1), re);\n\n }\n finally {\n }\n return retval;\n }", "public void setPlayerRoll10()\r\n {\r\n \r\n roll1 = ((int)(Math.random() * 100) % HIGHEST_DIE_VALUE10 + LOWEST_DIE_VALUE10);\r\n }", "DiceRoll modifyRoll(DiceRoll roll, Die die);", "@Generated\n @Selector(\"setRollingStartNumber:\")\n public native void setRollingStartNumber(int value);", "public void setRotate() {\r\n\t\tint npoints = xpoints.length;\r\n\t\tdouble[] tempxpoints = new double[xpoints.length];\r\n\t\tdouble[] tempypoints = new double[xpoints.length];\r\n\t\tdouble radians = Math.toRadians(angle%360);\r\n\t\tdouble y = pivotY;\r\n\t\tdouble x = pivotX;\r\n\t\tfor(int i = 0; i<xpoints.length; i++) {\r\n\t\t\ttempxpoints[i] = (Math.cos(radians)*(xpoints[i]-x)-Math.sin(radians)*(ypoints[i]-y)+x);\r\n\t\t\ttempypoints[i] = (Math.sin(radians)*(xpoints[i]-x)+Math.cos(radians)*(ypoints[i]-y)+y);\r\n\t\t}\r\n\t\txpoints = tempxpoints;\r\n\t\typoints = tempypoints;\r\n\t\tangle = 0;\r\n\t}", "public int roll(int roll) {\n \t\tappendAction(R.string.player_roll, Integer.toString(roll));\n \t\tboard.roll(roll);\n \n \t\treturn roll;\n \t}", "public void setRotation(){\n\t\t\tfb5.accStop();\n\t\t\twt.turning = true;\n\t\t\tif(state == BotMove.RIGHT_15){\n\t\t\t\tfb5.turnRightBy(6);\n\t\t\t\tangle = (angle+360-20)%360;\n\t\t\t}\n\t\t\telse if(state == BotMove.RIGHT_10){\n\t\t\t\tfb5.turnRightBy(3);\n\t\t\t\tangle = (angle+360-10)%360;\n\t\t\t}\n\t\t\telse if(state == BotMove.LEFT_5){\n\t\t\t\tfb5.turnLeftBy(2);\n\t\t\t\tangle = (angle+360+5)%360;\n\t\t\t}\n\t\t}", "public void Roll() // Roll() method\n {\n // Roll the dice by setting each of the dice to be\n // \ta random number between 1 and 6.\n die1Rand = (int)(Math.random()*6) + 1;\n die2Rand = (int)(Math.random()*6) + 1;\n }", "@Override\n public void setRectangle() {\n switch (direction){\n case 0:\n rectangle.setLocation((int)x+5,(int)y+8);\n break;\n case 2:\n rectangle.setLocation((int)x+5,(int)y+8);\n break;\n case 1:\n rectangle.setLocation((int)x+13,(int)y+8);\n break;\n case 3:\n rectangle.setLocation((int)x+2,(int)y+8);\n break;\n }\n\n }", "private void setShape(ChamberShape theShape) {\n mySize = theShape;\n createDoorsFromExits();\n }", "@BinderThread\n public synchronized void setDeviceOrientation(float[] matrix, float deviceRoll) {\n System.arraycopy(matrix, 0, deviceOrientationMatrix, 0, deviceOrientationMatrix.length);\n this.deviceRoll = -deviceRoll;\n updatePitchMatrix();\n }", "@Generated\n @Selector(\"setRollingPeriod:\")\n public native void setRollingPeriod(int value);", "public void resetColor(){\n myRectangle.setFill(PADDLE_COLOR);\n }", "public int roll() {\n return random.nextInt(6) + 1;\n }", "@Override\r\n\tpublic double getRollRightHand() {\n\t\treturn rechtRoll;\r\n\t}", "@Override\r\n\tpublic double getRollLeftHand() {\n\t\treturn linkRoll;\r\n\t}", "public void setOrient(int face) {\n if (abs(face) == BLUE && onSide(face)) {\n orient *= -1;\n }\n }", "public void refreshRoll(String _roll) {\r\n dailyRollInventory.replace(_roll, 30);\r\n System.out.println(\"Refreshed \" + _roll);\r\n }", "public void rollRandom() {\n\t\tthis.strength = randomWithRange();\r\n\t\tthis.wisdom = randomWithRange();\r\n\t\tthis.dexterity = randomWithRange();\r\n\t\tthis.constitution = randomWithRange();\r\n\t\tthis.intelligence = randomWithRange();\r\n\t\tthis.charisma = randomWithRange();\r\n\t}", "public void setAngle(double angle) {\n if (!isReset) {\n System.out.println(\"ARM NOT RESETTED. ROBOT WILL NOT MOVE ARM AS PID WILL DESTROY IT.\");\n armMotor.set(ControlMode.PercentOutput, 0);\n return;\n }\n double targetPositionRotations = angle * Const.kArmDeg2Talon4096Unit * Const.kArmGearRatioArm2Encoder;\n System.out.println(\"setting PID setpoint \" + targetPositionRotations);\n armMotor.set(ControlMode.Position, targetPositionRotations);\n }", "@Override\r\n public void setEvaluation (Evaluation evaluation)\r\n {\r\n setShape(evaluation.shape, evaluation.grade);\r\n }", "public int getRollVal(){\n return this.rollVal;\n }", "public void setPlayerRoll20()\r\n {\r\n \r\n roll2 = ((int)(Math.random() * 100) % HIGHEST_DIE_VALUE20 + LOWEST_DIE_VALUE20);\r\n \r\n }", "public void roll(boolean [] which){\n for(int i = 0; i < HAND_SIZE; ++i){\n if(which[i]){\n dice[i].roll();\n }\n }\n }", "int roll();", "private RollType rollType(Roll roll) {\n return lastRoll(roll) ? RollType.LAST_ROLL :\n roll.isSpare() ? SPARE :\n roll.isStrike() ? STRIKE :\n RollType.get(roll.getThrowForFrame());\n }", "public void onRollClick() {\n game.TakeTurn(player1);\n game.TakeTurn(computer);\n undoButton.setDisable(false);\n resetButton.setDisable(false);\n updateFields(\"player\");\n updateFields(\"computer\");\n setLeadPlayerImage();\n checkGame();\n }", "public void setRol(String rol) {\r\n\t\tthis.rol = rol;\r\n\t}", "void setAngle(double angle);", "private void setArmCount(int armCount) {\n\n\t}", "@Override\n public void reset() {\n this.posx = 0;\n this.posy = 0;\n this.rad = 0;\n this.property = new Property();\n this.property.setColor(new Color(Color.BLUE));\n }", "public void setShape(ChamberShape theShape) {\n mySize = theShape;\n setExits();\n }", "public void setDirection() {\n\t\tdouble randomDirection = randGen.nextDouble();\n\t\tif (randomDirection < .25) {\n\t\t\tthis.xDirection = 1;\n\t\t\tthis.yDirection = -1;\n\t\t} else if (randomDirection < .5) {\n\t\t\tthis.xDirection = -1;\n\t\t\tthis.yDirection = -1;\n\t\t} else if (randomDirection < .75) {\n\t\t\tthis.xDirection = -1;\n\t\t\tthis.yDirection = 1;\n\t\t} else {\n\t\t\tthis.xDirection = 1;\n\t\t\tthis.yDirection = 1;\n\t\t}\n\t}", "public void setAngle(double angleRad) {\n synchronized (this.angleLock) {\n this.movementComposer.setOrientationAngle(angleRad);\n }\n }", "@Override\n public void initialize() {\n setPoint = (((targetAngle + driveSubsystem.getHeading() + 180) % 360) - 180);\n }", "protected void setShape(Shape shape) {\n\t\tif (shape != null) {\n\t\t\t_shape = shape;\n\t\t\tthis.setLocation(shape.getLocation());\n\t\t\tthis.setDimensions(shape.getDimensions());\n\t\t}\n\t}", "private void updateRoll(float dt) {\n\n\t\trollRate = (speed / turnRadius) * rollMax;\n\n\t\t// special case if speed is zero - glider landed but still has\n\t\t// to roll level !\n\t\tif (speed == 0) {\n\t\t\trollRate = 1 / 1 * rollMax;\n\t\t}\n\n\t\tif (nextTurn != 0) {\n\n\t\t\t// turning\n\t\t\troll += nextTurn * rollRate * dt;\n\n\t\t\tif (roll > rollMax)\n\t\t\t\troll = rollMax;\n\t\t\tif (roll < -rollMax)\n\t\t\t\troll = -rollMax;\n\n\t\t} else if (roll != 0) {\n\n\t\t\t// roll back towards level\n\t\t\tfloat droll = rollRate * dt;\n\n\t\t\tif (roll > droll) {\n\t\t\t\troll -= droll;\n\t\t\t} else if (roll < -droll) {\n\t\t\t\troll += droll;\n\t\t\t} else {\n\t\t\t\troll = 0;\n\t\t\t}\n\t\t}\n\t}", "private void setArmorPoint (int arm)\r\n {\r\n if (arm < 1 || arm >25)\r\n {\r\n armorPoint = 1;\r\n }\r\n else\r\n {\r\n armorPoint = arm;\r\n }\r\n }", "public final void setOrientation(Orientation value) {\n\n this.getWrappedControl().setOrientation(value);\n }", "public RollingBoulder(int x, int y, int type){\n\t\tsuper(x, y, type);\n\t\t\n\t\trotation = 0;\n\t\tvelocityX = rollSpeed;\n\t\t\n\t\tterrain = false;\n\t\tsetMoveable(true);\n\t\t\n\t\tvelocityY = 0;\n\t\taccelerationY = 0;\n\t\t\n\t\tif(type == 1){\n\t\t\trotationSpeed = 180;\n\t\t\thitbox = new HitBox((int)getX(), (int)getY(), (int)getWidth() - 20, (int)getHeight() - 20, this);\n\t\t\t\n\t\t} else if (type == 2){\n\t\t\trotationSpeed = 180 * 4;\n\t\t\thitbox = new HitBox((int)getX(), (int)getY(), (int)getWidth() - 10, (int)getHeight() - 15, this);\n\t\t}\n\t\t\n\t}", "public void setShape(ShapeType shape) {\n\t\tthis.shape = shape;\n\t}", "public void setR(Double r);", "private void setPenRadius() {\n\t}", "public int getRollNo() {\n\t\treturn this.roll_no;\n\t}", "public void assignShape() {\n\t\t\n\t}", "public void setHeading() {\n super.setHeading(getPrevious().getHeadingTo(this)); //The absolute angle position that robot needs to face to reach this position\n }", "public void setRolling(boolean tOrF)\r\n\t{\r\n\t\t//continueRolling = !continueRolling;\r\n\t\tcontinueRolling = tOrF;\r\n\t}", "public final void setAngle(int angle) {\r\n\t\tgetState().setAngle(angle);\r\n\t}", "public String roll() {\n\t\treturn null;\r\n\t}", "void increaseAngle() {\n this.strokeAngle += 3;\n this.updateAcc();\n this.updateStick();\n }", "@Override\n public void setSetpoint(double setpoint) {\n if (getController() != null) {\n getController().setSetpoint(Utilities.clip(setpoint, Constants.Hood.MIN_ANGLE, Constants.Hood.MAX_ANGLE));\n }\n super.setSetpoint(Utilities.clip(setpoint, Constants.Hood.MIN_ANGLE, Constants.Hood.MAX_ANGLE));\n }", "void resetAngle();", "@Override\r\n\tpublic void setRotationAngles(Entity entity, float limbSwing, float limbSwingAmount, float ageInTicks,\r\n\t\t\tfloat netHeadYaw, float headPitch) {\n\t}" ]
[ "0.7296075", "0.713235", "0.70825124", "0.658788", "0.6409992", "0.63675165", "0.63644797", "0.62933683", "0.61994565", "0.6108025", "0.6108025", "0.6092503", "0.6092067", "0.6073703", "0.6053579", "0.6049156", "0.6049156", "0.60463166", "0.6024688", "0.5977204", "0.5960771", "0.59603906", "0.5956368", "0.5932962", "0.5879207", "0.5820241", "0.5727205", "0.5613098", "0.5590309", "0.5590309", "0.5505678", "0.5478833", "0.5472549", "0.54394215", "0.5435381", "0.5429113", "0.54244506", "0.5420193", "0.54169774", "0.54012257", "0.5390675", "0.53607315", "0.53356713", "0.532863", "0.5312614", "0.5308456", "0.53084034", "0.53044164", "0.52979684", "0.5295217", "0.52757823", "0.52706534", "0.5259734", "0.5255467", "0.5232376", "0.5228165", "0.52255994", "0.52161556", "0.51955694", "0.5192789", "0.51851505", "0.5179689", "0.5169593", "0.5143434", "0.5142493", "0.5136244", "0.51136005", "0.5110432", "0.51071966", "0.5105166", "0.5079032", "0.5074822", "0.5056382", "0.5054359", "0.5050423", "0.5043697", "0.50365967", "0.50315356", "0.5025721", "0.502436", "0.50164", "0.5012833", "0.5000767", "0.49887285", "0.49780396", "0.49548078", "0.49468353", "0.49420294", "0.49359685", "0.49337193", "0.49319148", "0.49310434", "0.49235117", "0.4909183", "0.4908119", "0.4904109", "0.48955077", "0.48891506", "0.4886407", "0.48795784" ]
0.62665206
8
Returns the scale of the X axis of the shape.
public double getScaleX() { return _rss==null? 1 : _rss.scaleX; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public double getScaleX() {\n return 1.0;\n }", "public int xPos() {\n\t\treturn Engine.scaleX(x);\n\t}", "public double getScaleX(double x) {\r\n return scalingFactorX*x;\r\n }", "public double getScale() {\n\t\treturn disp.getScale();\n\t}", "public double getMinScale() {\n return minScale;\n }", "public double getScale() {\n return this.scale;\n }", "public double getScale() {\r\n\t\treturn scale;\r\n\t}", "public double getScale() {\n return scale;\n }", "public double getScale(\n )\n {return scale;}", "public double getScale() {\r\n return scale;\r\n }", "public int getScale() {\r\n return scale;\r\n }", "public Integer getScale() {\n return _scale;\n }", "public Integer getScale() {\n return _scale;\n }", "public float getScale() {\n\t\treturn scale;\n\t}", "public double getScale(){\n\t\treturn scale;\n\t}", "protected double getShapeScale(Plot plot,int series,int item, double x, double y) {\n return scale;\n }", "public float getScale()\n\t{\n\t\treturn scale;\n\t}", "public float getScale() {\n return this.scale;\n }", "public double getScaleStart() {\n\t\treturn m_dScaleStart;\n\t}", "public float getScale() {\n \t\treturn scale;\n \t}", "public int getScale() {\n return scale_;\n }", "public float getScale();", "private void setXscale() {\n\t}", "public int getSizeX() {\r\n\t\treturn sizeX;\r\n\t}", "public double getScale() {\n\t\treturn 0;\n\t}", "private double scalex(double x) {\n return x/scalingFactor;\n }", "int getScale();", "public float getScale() {\n\t\treturn getLifeStageHelper().getScale();\n\t}", "public SVGLength getX() {\n return x;\n }", "public double getScale() {\n return scale;\n }", "public final float getScale() {\n\treturn svd(null);\n }", "public int getDimX() {\r\n return dimX;\r\n }", "@Override\n public float getScale() {\n return scale;\n }", "public double getMinimumScale() {\n\t\treturn 0;\n\t}", "public int getDimX ()\n {\n return m_dim_x;\n }", "public int getScaleValue() {\r\n return ScaleValue;\r\n }", "public Integer getScaleTo()\n {\n return (Integer) getStateHelper().eval(PropertyKeys.scaleTo, null);\n }", "public int getScalePosition() throws RemoteException {\n return io.getScalePosition(number);\n }", "public int xPixScale( double x ) { return (int)(width / xRange * x); }", "float getScale(Matrix matrix) {\r\n return getValue(matrix, Matrix.MSCALE_X);\r\n }", "public double getXFactor() {\r\n\t\treturn x_factor;\r\n\t}", "public float getCropRectScaleX() {\n if (SAMSUNG_A3_2017.equals(Build.DEVICE.toUpperCase())) {\n // For Samsung A3 2017, the symptom seems to be that the preview's FOV is always 1/3\n // wider than it's supposed to be. For example, if the preview Surface is 800x600, it's\n // actually has a FOV of 1066x600, but stretched to fit the 800x600 buffer. To correct\n // the preview, we need to crop out the extra 25% FOV.\n return 0.75f;\n }\n // No scale.\n return 1;\n }", "public final int getMaxX() {\n return getMinX() + getWidth();\n }", "public float getGlobalScale() {\n // per convenzione se la scala deve essere su tutti e tre gli assi\n // allora si considera scale.x() per tutti gli assi\n return (float) scale.x();\n }", "public Scale getScale() {\n return this.scale;\n }", "public float getSizeX(){return sx;}", "public double getMaxX() {\n\t\treturn mx;\n\t}", "public TempScale getInputScale() {\n\t\treturn inputPanel.getScale();\n\t}", "public float getPenX() {\n return pm.pen.getLevelValue(PLevel.Type.X);\n }", "public int getXMax(){\n\t\treturn xDim;\n\t}", "public double getMinX() {\n\t\treturn nx;\n\t}", "public final int getWidth() {\r\n return (int) size.x();\r\n }", "public double getMaxX() { return getX() + getWidth(); }", "public int getScale(){\n return scale;\n }", "private int getScale(){\n Display display = ((WindowManager) Objects.requireNonNull(getContext())\n .getSystemService(Context.WINDOW_SERVICE)).getDefaultDisplay();\n\n int width = display.getWidth();\n Double val = (double) width / 360d;\n val = val * 100d;\n return val.intValue();\n }", "public double getXRatio(){\n\t\treturn this.xratio;\n\t}", "public double getX() {\n\t\tRectangle2D bounds = _parentFigure.getBounds();\n\t\tdouble x = bounds.getX() + (_xt * bounds.getWidth());\n\t\treturn x;\n\t}", "public double getMaximumX () {\n return minimumX + width;\n }", "public int getX()\n {\n return xaxis;\n }", "public int getSizeX(){\r\n\t\treturn size[0];\r\n\t}", "public float getScale(int xform) {\n\t\treturn m_xforms[xform].m_scale * m_xforms[xform].m_dscale;\n\t}", "public double getX() {\n\t\treturn sens.getXPos();\n\t}", "public float getWidth() {\n return xRadius;\n }", "protected double getReferenceX() {\n if (isXAxisBoundsManual() && !mGraphView.getGridLabelRenderer().isHumanRoundingX()) {\n if (Double.isNaN(referenceX)) {\n referenceX = getMinX(false);\n }\n return referenceX;\n } else {\n // starting from 0 so that the steps have nice numbers\n return 0;\n }\n }", "public int getxMin() {\n\t\treturn xMin;\n\t}", "public int getXLength() {\n return xLength;\n }", "ScaleType getScale();", "public int wxToSx (double wx) { return (int) (getMyWidth() * (wx - extents.getMinX()) / extents.getWidth()); }", "Double getXLength();", "public void setScaleX(double xscale)\r\n\t{\txScale = xscale;\t}", "public double getMaxX() {\n\treturn maxX;\n }", "public int getMaxX() {\n\t\treturn maxX;\n\t}", "public float getProperty(View view) {\n return view.getScaleX();\n }", "public double getWidth() {\n\t\treturn mx-nx;\n\t}", "public float getMaxX() {\n return maxX;\n }", "public double getX_AxisMagnitudeDifference() {\n return 0;\n }", "public float getDscale() {\r\n\t\treturn dscale;\r\n\t}", "public double getCenterX() {\n\t\treturn centerX;\n\t}", "public static double getOrigX() {\n return 0.13199996948242188;\n }", "private int scaleX(double d) {\n\t\treturn (int) Math.round(d * panelWidth * 0.5 / MAX_CIRCLE_VAL_X);\n\t}", "public static double getOrigX() {\n return 2.926776647567749;\n }", "public double getScaleY() {\n return 1.0;\n }", "int getDimX(){\n\t\treturn dimx;\n\t}", "public DoubleProperty centerXProperty() { \n\t\t\treturn centerX; \t\n\t\t}", "@Override\n\tpublic Point getMinSize() {\n\t\treturn Parameter.SPRITE_MIN_SIZE;\n\t}", "public float getMinX(){\n return points.get(0).getX();\n }", "public double getxCoord() {\n\t\treturn xCoord;\n\t}", "public double getX() {\n return mX;\n }", "public static NumberAxis calcAxisX() {\n double minX = 0;\n double maxX = Collections.max(GlobalVariables.systemCorridor.getDistances())\n / GlobalVariables.systemCorridor.getSpeed()\n + GlobalVariables.cycleLen.get();\n maxX = 3 * GlobalVariables.cycleLen.get() > maxX ? 3 * GlobalVariables.cycleLen.get() : maxX;\n maxX = Math.round(maxX / 10) * 10;\n double scaleX = 0.1 * (maxX - minX);\n scaleX = Math.round(scaleX / 10) * 10;\n NumberAxis axis = new NumberAxis(\"Time (sec)\", minX, maxX, scaleX);\n axis.setTickLabelFont(Font.font(18));\n return axis;\n }", "public static double getOrigX() {\n return 0.08838501572608948;\n }", "public int getX(){\n\t\tif(!resetCoordinates()) return 10000;\n\t\treturn Math.round(robot.translation.get(0)/ AvesAblazeHardware.mmPerInch);\n\t}", "public static double getOrigX() {\n return 0.12999999523162842;\n }", "public static double getOrigX() {\n return 0.12999999523162842;\n }", "public static double getOrigX() {\n return 0.12999999523162842;\n }", "public static double getOrigX() {\n return 0.12799999117851257;\n }", "public int getXCenter() {\n return getXOrigin() + panelWidth/2;\n }", "public void setScaleX(int scaleX) {\n\t\tthis.scaleX = scaleX;\n\t}", "public double getX() {\n\t\t\treturn x;\n\t\t}", "public int getWidth() {\n return (int) (this.width * ViewHandlerImpl.getScaleModifier());\n }", "public double getX() {\n\t\t\t\treturn x;\n\t\t\t}" ]
[ "0.7784862", "0.72150624", "0.69911426", "0.6871209", "0.68608385", "0.67558837", "0.6729861", "0.67083555", "0.66961896", "0.66936535", "0.6688375", "0.6682781", "0.6682781", "0.6636341", "0.6620425", "0.66108495", "0.66078043", "0.65990514", "0.6583645", "0.657741", "0.6554065", "0.655372", "0.65509206", "0.6548792", "0.65366536", "0.65228546", "0.65214664", "0.6502055", "0.6490883", "0.64620686", "0.6457007", "0.6452707", "0.64442796", "0.6428433", "0.6423245", "0.6419883", "0.64108765", "0.6383964", "0.63781846", "0.6349248", "0.63478005", "0.63402545", "0.63334876", "0.632002", "0.630678", "0.629221", "0.6282259", "0.62740123", "0.62652653", "0.6265201", "0.6242797", "0.6238913", "0.62206775", "0.62171453", "0.62098145", "0.618072", "0.61784095", "0.61734045", "0.6154496", "0.61519194", "0.61435217", "0.61136335", "0.609554", "0.6075299", "0.60573035", "0.6056511", "0.6052267", "0.60495865", "0.6046313", "0.60208386", "0.60103023", "0.5976074", "0.59747946", "0.5965959", "0.5965227", "0.59627086", "0.59424454", "0.59364223", "0.5934117", "0.5933356", "0.5931511", "0.5926095", "0.59189075", "0.5918652", "0.59172976", "0.59157085", "0.5908739", "0.59066266", "0.5887603", "0.58764505", "0.5874678", "0.58744293", "0.58744293", "0.58744293", "0.5869573", "0.5866751", "0.5866701", "0.5866414", "0.58636147", "0.58624595" ]
0.68116814
5
Sets the scale of the X axis of the shape.
public void setScaleX(double aValue) { if(aValue==getScaleX()) return; repaint(); firePropertyChange("ScaleX", getRSS().scaleX, getRSS().scaleX = aValue, -1); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void setXscale() {\n\t}", "public void setScaleX(double xscale)\r\n\t{\txScale = xscale;\t}", "public void setScaleX(int scaleX) {\n\t\tthis.scaleX = scaleX;\n\t}", "default void setX(double x)\n {\n getAxis().setX(x);\n }", "@Override\n\tpublic void setScaleX(final float pScaleX) {\n\t\tsuper.setScaleX(1f); //scale not allowed on Layout Object\n\t}", "public void setXSize(int xSize) {\n\t\tif (xSize < 1) {\n\t\t\tSystem.out.println(\"xSize should be positive! It is set to \" + X_SIZE + \".\");\n\t\t\txSize = X_SIZE;\n\t\t}\n\t\tthis.xSize = xSize;\n\n\t\t// To update the panel with new values if necessary\n\t\tthis.setNumRabbits(this.getNumRabbits());\n\n\t\tupdatePanel();\n\t}", "public void setCenterX(double x) { centerX.set(clamp(x, X_MIN, X_MAX)); }", "public void setX(double value) {\n origin.setX(value);\n }", "public void setX( int x ) {\n\t\t//not checking if x is valid because that depends on the coordinate system\n\t\tthis.x = x;\n\t}", "public PlotPosition setX( double x )\n {\n return setX( x, 1 );\n }", "private void setXAxis() {\n XAxis xAxis = mChart.getXAxis();\n xAxis.setGranularity(1f);\n xAxis.setGranularityEnabled(true);\n xAxis.setCenterAxisLabels(false);\n xAxis.setDrawGridLines(false);\n xAxis.setPosition(XAxis.XAxisPosition.BOTTOM);\n xAxis.setValueFormatter(new IndexAxisValueFormatter(getXAxisValues()));\n xAxis.setLabelCount(30);\n }", "public void setX(double x)\r\n\t{\t\r\n\t\tvirtualDxfPoint.setTransformationX(x);\r\n\t\tAnchor.setX(x);\r\n\t}", "public void setScaleX(double d) {\n\t\tpointTransform.translate(pivotPoint.getX(),pivotPoint.getY());\n\t\tpointTransform.scale(1.0/this.scaleX, 1.0);\n\t\tthis.scaleX = d;\n\t\tpointTransform.scale(d, 1.0);\n\t\tpointTransform.translate(-pivotPoint.getX(),-pivotPoint.getY());\n\t}", "@Override\r\n\tpublic void setX(float x) {\n\t\t\r\n\t}", "public void setScale(double scale) {\n double oldScale = scale;\n this.scale = scale;\n if (actor != null) {\n actor.SetScale(normalActorSize * scale);\n double[] x = new double[3];\n for (int i=0; i<3; i++) {\n axeTitleActor[i].SetScale(normalTitleSize * scale);\n for (int k=0; k<3; k++) x[k] = axeTitlePosition[i][k]*scale*normalActorSize;\n axeTitleActor[i].SetPosition(x);\n }\n }\n firePropertyChange(\"scale\", new Double(oldScale), new Double(scale));\n }", "public void setX(double val) {\r\n\t\t this.xCoord = val;\r\n\t }", "@Override\n\tpublic void setX(float x) {\n\n\t}", "public void setScaleXY(double sx, double sy) { setScaleX(sx); setScaleY(sy); }", "public void setScale(float scale, int xform) {\n\t\tm_xforms[xform].m_scale = scale;\n\t}", "@Override\n\tpublic void setX(float x) \n\t{\n\t\t_x = x;\n\t}", "public void setX(float x) {\r\n\t\tthis.x = x;\r\n\t}", "public void setX(double value) {\n this.x = value;\n }", "public void setX(double value) {\n\t\t\t\tthis.x = value;\n\t\t\t}", "public void setX(int x)\n\t{\n\t\tthis.x = x;\t\t\t\t\t\t\t\t\t\t\t\t\t// Update point's x-coordinate\n\t}", "public void setScale(float x) {\n worldMatrix = math3d.mul(math3d.scaling(new vec3(x,x,x)), worldMatrix);\n }", "public void setX(float x) {\n this.x = x;\n }", "public void setDimX (int value)\n {\n m_dim_x = value;\n }", "public void setX(float x)\n {\n getBounds().offsetTo(x - positionAnchor.x, getBounds().top);\n notifyParentOfPositionChange();\n conditionallyRelayout();\n }", "public void beginScaling() {\n xScale = 1.0f;\n yScale = 1.0f;\n }", "public void setX(double value) {\n\t\tthis.x = value;\n\t}", "public void setX(int x) {\n\tbaseXCoord = x;\n}", "public double getScaleX() {\n return 1.0;\n }", "public void setScale(float scaleXY) {\n internalGroup.setScale(scaleXY);\n dataTrait.scaleX = scaleXY;\n dataTrait.scaleY = scaleXY;\n resetSprite();\n }", "@Override\n\tpublic void setX(int x) {\n\t\txPos = x;\n\t}", "public void setX(double x) {\n this.x = x;\n }", "public void setX(double x) {\n this.x = x;\n }", "public void setX(double x) {\n this.x = x;\n }", "public void setX(double x) {\n\t\tthis.x = x;\n\t}", "public void setScale(float scale);", "public void setX(double x) {\n this.x = x;\r\n }", "public void setX(double x)\n\t{\n\t\tthis.x = x;\n\t}", "public void setX(double pX) {\n mX = pX;\n }", "public PlotPosition setX( double x, int xAxisNumber )\n {\n assert xAxisNumber > 0 : \"xAxisNumber starts at 1\";\n put( X + xAxisNumber, x );\n return this;\n }", "protected void setX(final Number x) {\n this.xCoordinate = x;\n }", "public void setX(float x) {\r\n\t\tleft = x - width / 2;\r\n\t}", "public void setX(Float x) {\n\t\tthis.x = x;\n\t}", "public void setX(double x)\n {\n this.x = x;\n }", "public void setX(double x){\n this.x = x;\n }", "public void setX(double x){\n this.x = x;\n }", "public void setX(double x) throws IllegalArgumentException {\n\t\tif (!isValidX(x)) {\n\t\t\tthrow new IllegalArgumentException();\n\t\t}\n\t\tthis.x = x;\n\t}", "@Override\n public void setScale(float scale) {\n this.scale = scale;\n }", "public void setxBegin(Float xBegin) {\r\n this.xBegin = xBegin;\r\n }", "public void setX(int xCoord) {\n this.xCoord = xCoord;\n }", "public void setXmultiplier(double setx)\n {\n xmultiplier = setx;\n }", "public DynamicCuboid setSizeX(float x) {\n this.sizeX = x;\n return this;\n }", "public void setMajorX(double majorX) {\r\n if (majorX <= 0.0) {\r\n throw new IllegalArgumentException(\"majorX must be > 0.0\");\r\n }\r\n \r\n double old = getMajorX();\r\n this.majorX = majorX;\r\n this.defaultMajorX = majorX;\r\n repaint();\r\n firePropertyChange(\"majorX\", old, getMajorX());\r\n }", "public void setX(int x)\n\t{\n\t\tgetWorldPosition().setX(x);\n\t}", "public native void setXResolution(double xRes) throws MagickException;", "public void setXLoc(int xLoc){\n myRectangle.setX(xLoc);\n }", "public void setarXmin(double xmin) {\n\t\tthis.xmin = xmin;\n\t}", "public void setX(double point) {\n this.x = point;\n }", "public void setX(int xcoord) {\n\t\tx = xcoord;\n\t}", "public void setX(int x) {\n\t\tthis.X = x;\n\t}", "public void setXPosition(double x)\n\t{\n\t\tthis.xPosition = x;\n\t}", "public void setStartX(double x)\n {\n startxcoord=x; \n }", "public void setX(int x) {\n synchronized (this.xLock) {\n this.movementComposer.setXPosition(x);\n }\n }", "public void setScale(float scale) {\n \t\tthis.scale = scale;\n \t\tupdateTransform();\n \t\tfireEvent(new ScalingEvent(scale));\n \t}", "public void setScale() {\n Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();\n scaleAffine();\n Scalebar.putZoomLevelDistances();\n\n //Set up the JFrame using the monitors resolution.\n setSize(screenSize); //screenSize\n setPreferredSize(new Dimension(800, 600)); //screenSize\n setExtendedState(Frame.NORMAL); //Frame.MAXIMIZED_BOTH\n }", "public void setX(int newX)\n\t{\n\t\tx += newX;\n\t\tboundingBox = new Rectangle(x,y,width,height);\n\t}", "public Builder setX(float value) {\n \n x_ = value;\n onChanged();\n return this;\n }", "public Builder setX(float value) {\n \n x_ = value;\n onChanged();\n return this;\n }", "public Builder setX(float value) {\n \n x_ = value;\n onChanged();\n return this;\n }", "public void setX(int x) {\r\n\t\tthis.x = x;\r\n\t}", "public void setX(int x) {\r\n\t\tthis.x = x;\r\n\t}", "public void setX(int x) {\r\n\t\tthis.x = x;\r\n\t}", "public void setX(int x) {\r\n\t\tthis.x = x;\r\n\t}", "public void setXPos(int x) {\n // from MoveEventHandler\n // convert to real x coord\n // x = xP * (xmaxr - xminR) / (xmaxP - xminP)\n double tmp = config.getMaximumRealX() + (x - config.getMaximumPixelX())*(config.getMaximumRealX() - config.getMinimumRealX())/(config.getMaximumPixelX() - config.getMinimumPixelX());\n xpos.setText(formatter.format(tmp));\n }", "void setX(int x) {\n position = position.setX(x);\n }", "public void setDrawScale(float x, float y) {\n \tdrawScale.set(x,y);\n }", "public void setX(int xpos) {\r\n this.xpos = xpos;\r\n }", "public void setLogScaleX(boolean scale);", "void setX(double x){\r\n\t\tthis.x=x;\r\n\t}", "public void setX(double x)\n\t\t{\n\t\t this.x[0] = x;\n\t\t}", "@Override\n public void scale(double x, double y) {\n graphicsEnvironmentImpl.scale(canvas, x, y);\n }", "public void setX(int x) {\n\t\tthis.x = x;\n\t}", "public void setX(int x) {\n\t\tthis.x = x;\n\t}", "public void setX(int x) {\n\t\tthis.x = x;\n\t}", "public void setX(int x) {\n\t\tthis.x = x;\n\t}", "public void setX(int x) {\n\t\tthis.x = x;\n\t}", "public void setMaxX(int value) {\n this.maxX = value;\n }", "public void setX(int newX)\r\n {\r\n xCoord = newX;\r\n }", "public void setScale(double scale) {\n\t\tdouble tx = this.transform.getTranslateX();\n\t\tdouble ty = this.transform.getTranslateY();\n\t\tthis.transform.setToScale(scale, scale);\n\t\tthis.transform.translate(tx, ty);\n\t}", "public void setMinSize(Point size) {\n if (size == null) {\n setMinSize(0, 0);\n } else {\n setMinSize(size.x, size.y);\n }\n }", "public void setStartX(double val) {\r\n startx = val;\r\n }", "void setX(float x) {\n _x = x;\n }", "public Builder setPositionX(double value) {\n bitField0_ |= 0x00000040;\n positionX_ = value;\n onChanged();\n return this;\n }", "public Builder setPositionX(double value) {\n bitField0_ |= 0x00000008;\n positionX_ = value;\n onChanged();\n return this;\n }", "public void setX(int x){\r\n\t\tthis.x = x;\r\n\t}", "public final MotionUpdateEvent setX(double x) {\n pos.setX(x);\n return this;\n }", "public void setXLength(int length) {\n this.xLength = length;\n }" ]
[ "0.79601276", "0.7466331", "0.7324175", "0.71632457", "0.7110671", "0.69065535", "0.66471106", "0.6619044", "0.66183513", "0.65471727", "0.65447634", "0.6528414", "0.65264124", "0.6516685", "0.6422715", "0.6421632", "0.64162666", "0.63857174", "0.6335293", "0.6321138", "0.6308558", "0.6304579", "0.6301474", "0.6301274", "0.62953246", "0.62948877", "0.62947214", "0.6288697", "0.62796354", "0.6268712", "0.626786", "0.6241211", "0.6225827", "0.62256885", "0.62252283", "0.62252283", "0.62252283", "0.6219281", "0.620315", "0.6202726", "0.61706454", "0.6159589", "0.61494666", "0.6133934", "0.613214", "0.61277163", "0.6109107", "0.6082781", "0.6082781", "0.607468", "0.6065232", "0.6064501", "0.6064306", "0.60621953", "0.6053078", "0.6049692", "0.6047946", "0.60445887", "0.6043855", "0.6040678", "0.6024113", "0.6001128", "0.60011005", "0.5993599", "0.5984381", "0.59830165", "0.5981569", "0.5976394", "0.5971152", "0.59694296", "0.59694296", "0.59694296", "0.5964369", "0.5964369", "0.5964369", "0.5964369", "0.5958482", "0.5956691", "0.5931636", "0.59269184", "0.5925019", "0.5917068", "0.5914082", "0.59103125", "0.5908443", "0.5908443", "0.5908443", "0.5908443", "0.5908443", "0.59038484", "0.5892904", "0.588368", "0.58788043", "0.58758837", "0.5874236", "0.5871304", "0.5870645", "0.58648354", "0.5862795", "0.58591485" ]
0.6535637
11
Returns the scale of the Y axis of the shape.
public double getScaleY() { return _rss==null? 1 : _rss.scaleY; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public double getScaleY() {\n return 1.0;\n }", "public double getScaleY(double y) {\r\n return scalingFactorY*y;\r\n }", "public float getCropRectScaleY() {\n // No scale.\n return 1;\n }", "public int yPos() {\n\t\treturn Engine.scaleY(y);\n\t}", "public int getYSize()\n\t{\n\t\treturn this.ySize;\n\t}", "public double getRightYAxis() {\n\t\treturn getRawAxis(Axis_RightY);\n\t}", "public SVGLength getY() {\n return y;\n }", "private double scaley(double y) {\n return y/scalingFactor;\n }", "public ChartYAxis getYAxis() { return _yaxis; }", "public int getSizeY() {\r\n\t\treturn sizeY;\r\n\t}", "public double getMaximumY () {\n return minimumY + height;\n }", "public float getPenY() {\n return pm.pen.getLevelValue(PLevel.Type.Y);\n }", "public int yPixScale( double y ) { return (int)(height / yRange * y); }", "Double getYLength();", "public int getY()\n {\n return yaxis;\n }", "private float getYAxisLabelHeight() {\n return ViewUtils.getTextHeight(mYAxisTextPaint, PERCENTAGE_PERFECT);\n }", "public int getSizeY(){\r\n\t\treturn size[1];\r\n\t}", "public double getMaxY() { return getY() + getHeight(); }", "public int getYMax(){\n\t\treturn yDim;\n\t}", "public final int getMaxY() {\n return getMinY() + getHeight();\n }", "public double getMaxY() {\n\t\treturn my;\n\t}", "public double getScaleEnd() {\n\t\treturn m_dScaleEnd;\n\t}", "public double getYRatio(){\n\t\treturn this.yratio;\n\t}", "public static NumberAxis calcAxisY() {\n double minY = Math.round(\n Collections.min(GlobalVariables.systemCorridor.getDistances()) / 100) * 100 - 100;\n double maxY = Math.round(\n Collections.max(GlobalVariables.systemCorridor.getDistances()) / 100) * 100 + 100;\n double scaleY = Math.round(0.1 * (maxY - minY) / 100) * 100;\n NumberAxis axis = new NumberAxis(\"Distance (ft)\", minY, maxY, scaleY);\n axis.setTickLabelFont(Font.font(16));\n axis.setMinorTickCount(4);\n return axis;\n }", "public int getDimY ()\n {\n return m_dim_y;\n }", "double getYLength();", "public final int getMinorAxis() {\n return isXMajorAxis() ? View.Y_AXIS : View.X_AXIS;\n }", "public double getYValue(){\r\n\t\treturn ((Double)(super.yValue) ).doubleValue(); \r\n\t}", "public double getMaxScale() {\n return maxScale;\n }", "public int getDimY() {\r\n return dimY;\r\n }", "public abstract float getYdpi();", "private float getYAxisLabelWidth() {\n return ViewUtils.getTextWidth(mYAxisTextPaint, PERCENTAGE_PERFECT);\n }", "public double getScale() {\n\t\treturn disp.getScale();\n\t}", "public double getY() {\n\t\treturn bassY;\n\t}", "public int getyMax() {\n\t\treturn yMax;\n\t}", "public float max2DY() {\n return Math.max(stop2D.y, start2D.y);\n }", "protected double getPixelsPerY() {\n\t\treturn m_pixelsPerY;\n\t}", "public double getY() {\n return mY;\n }", "public double getFrameMaxY() { return isRSS()? getFrame().getMaxY() : getMaxY(); }", "public void setScaleY(double yscale)\r\n\t{\tyScale = yscale;\t}", "public double getY();", "public double getyCoord() {\n\t\treturn yCoord;\n\t}", "public double getY() {\n\t\tRectangle2D bounds = _parentFigure.getBounds();\n\t\tdouble y = bounds.getY() + (_yt * bounds.getHeight());\n\t\treturn y;\n\t}", "public float getSizeY(){return sy;}", "public double getY() {\r\n\t\t return this.yCoord;\r\n\t }", "public double getY() {\r\n return this.dy;\r\n }", "public native double getYResolution() throws MagickException;", "public double getYValue(){\n return(yValue);\n }", "public float getYChartMax() {\n return 0.0F;\n }", "public double getScale(\n )\n {return scale;}", "float yMax();", "protected double getShapeScale(Plot plot,int series,int item, double x, double y) {\n return scale;\n }", "public TextureBorder getBorderY() {\n return mBorderY;\n }", "public double getScale() {\r\n\t\treturn scale;\r\n\t}", "public short getHeight() {\n\n\t\treturn getShort(ADACDictionary.Y_DIMENSIONS);\n\t}", "public double Y_r() {\r\n \t\treturn getY();\r\n \t}", "protected double getReferenceY() {\n if (isYAxisBoundsManual() && !mGraphView.getGridLabelRenderer().isHumanRoundingY()) {\n if (Double.isNaN(referenceY)) {\n referenceY = getMinY(false);\n }\n return referenceY;\n } else {\n // starting from 0 so that the steps have nice numbers\n return 0;\n }\n }", "public double getScale() {\n return scale;\n }", "public double getScale() {\n return this.scale;\n }", "public double getScale() {\r\n return scale;\r\n }", "public float getHeight() {\n return 2f * yRadius;\n }", "public double getEndY() {\n\treturn v2.getY();\n }", "public final double getY() {\n return y;\n }", "public float getYHeight() {\n\t\treturn this.yHeight;\n\t}", "public final double getY() {\n return y;\n }", "public double getY() {\n return this.y;\n }", "public double getY() {\n return this.y;\n }", "public double getY() {\n return this.y;\n }", "public double getY() {\r\n return this.y;\r\n }", "public float getUpperRightY()\n {\n return ((COSNumber)rectArray.get(3)).floatValue();\n }", "public double getY() {\n return position.getY();\n }", "public int getY(){\n\t\tif(!resetCoordinates()) return 10000;\n\t\treturn Math.round(robot.translation.get(1)/ AvesAblazeHardware.mmPerInch);\n\t}", "public int getYD2 ()\n\t{\n\t\treturn yDimension2;\n\t}", "public double getY()\n\t\t{\n\t\t\treturn this.y[0];\n\t\t}", "public double getYPos() {\n\t\treturn this.position[1];\n\t}", "public double getYRangeMax() {\n return yRangeMax;\n }", "public double getScale(){\n\t\treturn scale;\n\t}", "double getY();", "double getY();", "double getY();", "double getY();", "double getY();", "double getY();", "double getY();", "double getY();", "double getY();", "public final int getHeight() {\r\n return (int) size.y();\r\n }", "public double GetY(){\n return this._Y;\n }", "public double getY() {\n return origin.getY();\n }", "public static Double LargeY() {\n return LargeY;\n }", "public double getY() {\n\t\treturn y;\n\t}", "public double getY() {\n\t\treturn y;\n\t}", "public double getY() {\n\t\treturn y;\n\t}", "public double getY() {\n\t\treturn y;\n\t}", "public Double getY() {\n\t\treturn y;\n\t}", "protected Number getY() {\n return this.yCoordinate;\n }", "public double getY() {\r\n\t\t//throw new UnsupportedOperationException(\"TODO - implement\");\r\n\t\treturn pY;\r\n\t}", "public double getY()\n\t{\n\t\treturn y;\n\t}", "public final int getTilesYSize() {\n\t\treturn ySize;\n\t}", "public double getY2()\n\t{\n\t\treturn this.y[2];\n\t}" ]
[ "0.7708793", "0.7563505", "0.7086198", "0.6971417", "0.6930223", "0.6914602", "0.6844935", "0.6827876", "0.6811568", "0.6785885", "0.67732584", "0.6742504", "0.67372733", "0.6712015", "0.67100143", "0.67035216", "0.66907513", "0.667956", "0.66434544", "0.66280144", "0.6615167", "0.6593563", "0.6593448", "0.6590834", "0.6552451", "0.6535837", "0.6534614", "0.651595", "0.65074265", "0.6507267", "0.6501203", "0.6466845", "0.6454542", "0.64369756", "0.64283144", "0.64211386", "0.6409076", "0.6408935", "0.64028156", "0.63999933", "0.63944274", "0.6393156", "0.6392254", "0.63906103", "0.6374599", "0.6372447", "0.6370239", "0.63578653", "0.63433033", "0.63409615", "0.6336357", "0.6333286", "0.6322706", "0.6313114", "0.63128245", "0.6307634", "0.6305774", "0.63033706", "0.630077", "0.6293474", "0.62890875", "0.6280633", "0.62775385", "0.627069", "0.62659323", "0.62618107", "0.62618107", "0.62618107", "0.6257704", "0.6255331", "0.6249427", "0.624453", "0.62439656", "0.6242788", "0.6229295", "0.6225987", "0.62216663", "0.6219539", "0.6219539", "0.6219539", "0.6219539", "0.6219539", "0.6219539", "0.6219539", "0.6219539", "0.6219539", "0.6216298", "0.62053186", "0.6200053", "0.61971575", "0.61942214", "0.61942214", "0.61942214", "0.61942214", "0.6188188", "0.61877996", "0.6181697", "0.61782664", "0.61781555", "0.61771023" ]
0.73354405
2
Sets the scale of the Y axis of the shape.
public void setScaleY(double aValue) { if(aValue==getScaleY()) return; repaint(); firePropertyChange("ScaleY", getRSS().scaleY, getRSS().scaleY = aValue, -1); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setScaleY(double yscale)\r\n\t{\tyScale = yscale;\t}", "public void setScaleY(int scaleY) {\n\t\tthis.scaleY = scaleY;\n\t}", "default void setY(double y)\n {\n getAxis().setY(y);\n }", "public void setY(double value) {\n origin.setY(value);\n }", "public void setY(double value) {\n this.y = value;\n }", "public void setYSize(int ySize) {\n\t\tif (ySize < 0) {\n\t\t\tSystem.out.println(\"ySize should be positive! It is set to \" + Y_SIZE + \".\");\n\t\t\tySize = Y_SIZE;\n\t\t}\n\t\tthis.ySize = ySize;\n\n\t\t// To update the panel with new values if necessary\n\t\tthis.setNumRabbits(this.getNumRabbits());\n\n\t\tupdatePanel();\n\t}", "public void setScaleY(double scaleY) {\n\t\tpointTransform.translate(pivotPoint.getX(),pivotPoint.getY());\n\t\tpointTransform.scale(1.0, 1.0/this.scaleY);\n\t\tthis.scaleY = scaleY;\n\t\tpointTransform.scale(1.0, scaleY);\n\t\tpointTransform.translate(-pivotPoint.getX(),-pivotPoint.getY());\n\t}", "public void setY(double val) {\r\n\t\t this.yCoord = val;\r\n\t }", "public native void setYResolution(double yRes) throws MagickException;", "public void setYValue( double value ){\r\n\t\tsuper.setYValue( new Double( value ) );\r\n\t}", "public Builder setY(double value) {\n bitField0_ |= 0x00000010;\n y_ = value;\n onChanged();\n return this;\n }", "public Builder setY(double value) {\n bitField0_ |= 0x00000010;\n y_ = value;\n onChanged();\n return this;\n }", "public Builder setY(double value) {\n bitField0_ |= 0x00000020;\n y_ = value;\n onChanged();\n return this;\n }", "public Builder setY(double value) {\n bitField0_ |= 0x00000020;\n y_ = value;\n onChanged();\n return this;\n }", "public Builder setY(double value) {\n bitField0_ |= 0x00000020;\n y_ = value;\n onChanged();\n return this;\n }", "public Builder setY(double value) {\n bitField0_ |= 0x00000008;\n y_ = value;\n onChanged();\n return this;\n }", "public double getScaleY() {\n return 1.0;\n }", "public Builder setY(double value) {\n bitField0_ |= 0x00001000;\n y_ = value;\n onChanged();\n return this;\n }", "public void setY(double pY) {\n mY = pY;\n }", "public void setY(double y)\r\n\t{\t\r\n\t\tvirtualDxfPoint.setTransformationY(y);\r\n\t\tAnchor.setY(y);\r\n\t}", "public Builder setY(double value) {\n bitField0_ |= 0x00000004;\n y_ = value;\n onChanged();\n return this;\n }", "public void setDimY (int value)\n {\n m_dim_y = value;\n }", "public void setY(int value) {\n this.y = value;\n }", "public void setY(Double y);", "public Builder setY(float value) {\n bitField0_ |= 0x00000002;\n y_ = value;\n onChanged();\n return this;\n }", "public Builder setY(float value) {\n bitField0_ |= 0x00000002;\n y_ = value;\n onChanged();\n return this;\n }", "public void SetY2()\n\t{\n\t\tdouble h;\n\t\th = Math.pow(this.length, 2) - Math.pow((this.length/2), 2);\n\t\th = Math.sqrt(h);\n\t\tthis.y[2] = this.y[0] - h;\n\t}", "public void setY(double point) {\n this.y = point;\n }", "public void setY(double y) {\n this.y = y;\n }", "public void setY(double y) {\n this.y = y;\n }", "public void setY(double y) {\n this.y = y;\n }", "private void setY(long value) {\n bitField0_ |= 0x00000002;\n y_ = value;\n }", "public void setY(double y) {\n this.y = y;\r\n }", "public void setYCoordinates(double newY) { this.yCoordinates = newY; }", "public void setY(double y)\n {\n this.y = y;\n }", "public Builder setPositionY(double value) {\n bitField0_ |= 0x00000008;\n positionY_ = value;\n onChanged();\n return this;\n }", "public void setY(double newY) {\r\n y = newY;\r\n }", "public void setY(double y){\n this.y = y;\n }", "public void setY(double y){\n this.y = y;\n }", "public void setY(int y) {\n\tbaseYCoord = y;\n}", "public Builder setPositionY(double value) {\n bitField0_ |= 0x00000010;\n positionY_ = value;\n onChanged();\n return this;\n }", "public Builder setPositionY(double value) {\n bitField0_ |= 0x00000080;\n positionY_ = value;\n onChanged();\n return this;\n }", "public void setLogScaleY(boolean scale);", "public void setY(double y) {\n\t\tthis.y = y;\n\t}", "public void setY(double y)\n\t{\n\t\tthis.y = y;\n\t}", "public double getScaleY(double y) {\r\n return scalingFactorY*y;\r\n }", "public void setY(double y) throws IllegalArgumentException {\n\t\tif (!isValidY(y)) {\n\t\t\tthrow new IllegalArgumentException();\n\t\t}\n\t\tthis.y = y;\n\t}", "public Builder setY(int value) {\n bitField0_ |= 0x00000002;\n y_ = value;\n onChanged();\n return this;\n }", "void setY(int newY) {\n this.yPos = newY;\n }", "public Builder setY(float value) {\n \n y_ = value;\n onChanged();\n return this;\n }", "public Builder setY(float value) {\n \n y_ = value;\n onChanged();\n return this;\n }", "public Builder setY(float value) {\n \n y_ = value;\n onChanged();\n return this;\n }", "public PlotPosition setY( double y )\n {\n return setY( y, 1 );\n }", "public void setY(int newY)\n\t{\n\t\ty+=newY;\n\t\tboundingBox = new Rectangle(x,y,width,height);\n\t}", "public double getScaleY() { return _rss==null? 1 : _rss.scaleY; }", "public DynamicModelPart setSizeY(int[] sizeY) {\n this.sizeY = sizeY;\n return this;\n }", "public void setY(Double y) {\n\t\tthis.y = y;\n\t}", "public void setY( double Y)\r\n {\r\n curY = Y;\r\n }", "public ChartYAxis getYAxis() { return _yaxis; }", "public void setUpperRightY(float value)\n {\n rectArray.set(3, new COSFloat( value ) );\n }", "public void setY(int y)\n\t{\n\t\tthis.y = y;\t\t\t\t\t\t\t\t\t\t\t\t\t// Update point's y-coordinate \n\t}", "public void setEndY(double y)\n {\n endycoord=y; \n }", "public PlotPosition setY( double y, int yAxisNumber )\n {\n assert yAxisNumber > 0 : \"yAxisNumber starts at 1\";\n put( Y + yAxisNumber, y );\n return this;\n }", "void setY(double y){\r\n\t\tthis.y=y;\r\n\t}", "public FractalTrace setY2(double value) throws ParameterOutOfRangeException\n {\n\t\tif(value > 50.00 || value < -50.00)\n\t {\n\t throw new ParameterOutOfRangeException(value, -50.00, 50.00);\n\t }\n\n m_Y2 = value;\n setProperty(\"Y2\", value);\n return this;\n }", "public Builder setY(int value) {\n bitField0_ |= 0x00000008;\n y_ = value;\n onChanged();\n return this;\n }", "public void setY(int yPos){\t\t\n\t\ty = new Integer(yPos);\n\t}", "public void setY(int yCoord) {\n this.yCoord = yCoord;\n }", "void setY(final Number y) {\n this.yCoordinate = y;\n }", "public void setY(int newY)\r\n {\r\n yCoord = newY;\r\n }", "public void setYmultiplier(double sety)\n {\n ymultiplier = sety;\n }", "public void setScaleXY(double sx, double sy) { setScaleX(sx); setScaleY(sy); }", "public void setY(int ys)\r\n\t{\r\n\t\ty = ys;\r\n\t}", "private double scaley(double y) {\n return y/scalingFactor;\n }", "public void setY(int value)\n\t{\n\t\tgetWorldPosition().setY(value);\n\t}", "public void setyPos(int yPos) {\r\n this.yPos = yPos;\r\n }", "public void setY( int y ) {\n\t\t//not checking if y is valid because that depends on the coordinate system\n\t\tthis.y = y;\n\t}", "void setY(int y) {\n position = position.setY(y);\n }", "public void setY(byte[] value) {\n this.y = ((byte[]) value);\n }", "public Builder setY(int value) {\n bitField0_ |= 0x00000004;\n y_ = value;\n onChanged();\n return this;\n }", "public Builder setY(int value) {\n bitField0_ |= 0x00000004;\n y_ = value;\n onChanged();\n return this;\n }", "public Builder setY(int value) {\n bitField0_ |= 0x00000004;\n y_ = value;\n onChanged();\n return this;\n }", "@Override\r\n\tpublic void setY(float y) {\n\t\t\r\n\t}", "@Override\n\tpublic void setY(int y) {\n\t\tyPos = y;\n\t}", "public void setY(int ycoord) {\n\t\ty = ycoord;\n\t}", "public void setY(double y)\n\t\t{\n\t\t this.y[0] = y;\n\t\t}", "public void setLimit_lin_y_upper(float limit_lin_y_upper) throws IOException\n\t{\n\t\tif ((__io__pointersize == 8)) {\n\t\t\t__io__block.writeFloat(__io__address + 44, limit_lin_y_upper);\n\t\t} else {\n\t\t\t__io__block.writeFloat(__io__address + 36, limit_lin_y_upper);\n\t\t}\n\t}", "public void setY(float y) {\r\n\t\tthis.y = y;\r\n\t}", "public void setScaleEnd(double scaleEnd) {\n\t\tm_dScaleEnd = scaleEnd;\n\t}", "public void setY(float y) {\n this.y = y;\n }", "public void setCartogramGridSizeInY (int gridSizeY)\n\t{\n\t\tmCartogramGridSizeY = gridSizeY;\n\t}", "@Override\n\tpublic void setY(float y) {\n\n\t}", "public void setY(float y){\n this.y = y;\n }", "public void setY(double d) {\n\t\tthis.y = d;\n\t}", "public float setYMax(){\n\t\tif (game.getDifficulty() == 0)\n\t\t\treturn 72;\n\t\telse if (game.getDifficulty() == 1)\n\t\t\treturn 108;\n\t\telse\n\t\t\treturn 144;\n\t}", "public void setY(Float y) {\n\t\tthis.y = y;\n\t}", "public void setYPos(int yPos) {\r\n\t\tthis.yPos = yPos;\r\n\t}", "void setY(float y) {\n _y = y;\n }", "final void setY(double d) {\n y = d;\n }", "public void setYPosition(double y)\n\t{\n\t\tthis.yPosition = y;\n\t}" ]
[ "0.77919126", "0.7173327", "0.71651137", "0.7049071", "0.69869775", "0.69441086", "0.6791766", "0.6781901", "0.67787254", "0.6723922", "0.6685936", "0.6685043", "0.66774744", "0.66774744", "0.66759664", "0.6665007", "0.66503835", "0.6645366", "0.66442007", "0.6611353", "0.6608851", "0.655426", "0.65537536", "0.65274304", "0.6522501", "0.6522501", "0.651256", "0.64678186", "0.6452375", "0.6452375", "0.6452375", "0.6448878", "0.6425913", "0.64215744", "0.6421292", "0.6406728", "0.64047396", "0.6398886", "0.6398886", "0.6393663", "0.6381435", "0.63772196", "0.6376255", "0.63675016", "0.63568306", "0.6332733", "0.63098717", "0.63078356", "0.6307395", "0.6305351", "0.6305351", "0.6305351", "0.63040817", "0.6300602", "0.62845355", "0.62808216", "0.62626034", "0.6259925", "0.62580097", "0.6253027", "0.6241139", "0.62351775", "0.6224526", "0.6213747", "0.62130433", "0.6211024", "0.6203675", "0.62011844", "0.6199753", "0.61952573", "0.6190807", "0.61899805", "0.61854357", "0.617858", "0.61765486", "0.61716473", "0.6160086", "0.6158301", "0.61578125", "0.6157238", "0.6157238", "0.6157238", "0.61390793", "0.6134451", "0.612757", "0.61227006", "0.61185527", "0.61139566", "0.6105334", "0.6104825", "0.6103814", "0.6100544", "0.6095608", "0.60855174", "0.6076064", "0.60750735", "0.60718846", "0.6063839", "0.6063747", "0.6062073" ]
0.67148185
10
Sets the scale of the X and Y axis.
public void setScaleXY(double sx, double sy) { setScaleX(sx); setScaleY(sy); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setScale(float xScale, float yScale) {\n\t\tthis.xScale = xScale;\n\t\tthis.yScale = yScale;\n\t}", "private void setXscale() {\n\t}", "@Override\n public void scale(double x, double y) {\n graphicsEnvironmentImpl.scale(canvas, x, y);\n }", "public void setDrawScale(float x, float y) {\n \tdrawScale.set(x,y);\n }", "public void setScale(float scaleXY) {\n internalGroup.setScale(scaleXY);\n dataTrait.scaleX = scaleXY;\n dataTrait.scaleY = scaleXY;\n resetSprite();\n }", "public void setScale(double scale) {\n\t\tdouble tx = this.transform.getTranslateX();\n\t\tdouble ty = this.transform.getTranslateY();\n\t\tthis.transform.setToScale(scale, scale);\n\t\tthis.transform.translate(tx, ty);\n\t}", "public void setScale(float scale);", "public void setScaleX(double xscale)\r\n\t{\txScale = xscale;\t}", "public void scale(float x, float y);", "public void setScale(float scale) {\n \t\tthis.scale = scale;\n \t\tupdateTransform();\n \t\tfireEvent(new ScalingEvent(scale));\n \t}", "public void setScale() {\n Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();\n scaleAffine();\n Scalebar.putZoomLevelDistances();\n\n //Set up the JFrame using the monitors resolution.\n setSize(screenSize); //screenSize\n setPreferredSize(new Dimension(800, 600)); //screenSize\n setExtendedState(Frame.NORMAL); //Frame.MAXIMIZED_BOTH\n }", "public void setRescale(double x, double y) {\n scaleX = x;\n scaleY = y;\n System.out.println(\"Rescale \" + x + \" \" + y);\n }", "@Override\n public void setScale(float scale) {\n this.scale = scale;\n }", "void setBounds(double x, double y, double scale) {\n double drawAspect = (double)width / (double)height;\n\n double halfPlotWidth = scale / 2.0;\n double halfPlotHeight = scale / 2.0;\n if (drawAspect > 1.0) {\n halfPlotWidth *= drawAspect;\n } else {\n halfPlotHeight /= drawAspect;\n }\n\n setBounds(x - halfPlotWidth, y - halfPlotHeight, x + halfPlotWidth, y + halfPlotHeight);\n }", "private void updateScale() {\n target.setScaleX(scaleValue);\n target.setScaleY(scaleValue);\n }", "public void setScale(double scale, double xscale, double yscale) {\n\t\tif (this.scale != scale || this.xscale != xscale || this.yscale != yscale) {\n\t\t\tthis.scale = scale;\n\t\t\tthis.xscale = xscale;\n\t\t\tthis.yscale = yscale;\n\n\t\t\t// calculate the absolute coordinates and dimensions on the base\n\t\t\t// of the given scale parameters\n\t\t\tint x = (int) (xRel * xscale);\n\t\t\tint y = (int) (yRel * yscale);\n\t\t\tint width = (int) (widthRel * scale);\n\t\t\tint height = (int) (heightRel * scale);\n\n\t\t\t// the border rope holders must always be at the border\n\t\t\t// small rounding failures are eliminated here\n\t\t\tif (this instanceof Seilaufhaenger) {\n\t\t\t\tSeilaufhaenger aufhaenger = (Seilaufhaenger) this;\n\t\t\t\tif (!aufhaenger.isUnderTreibscheibe()) {\n\t\t\t\t\tif (aufhaenger.getHimmel() == Seilaufhaenger.NORD) {\n\t\t\t\t\t\tif (x > aufzugschacht.getWidth() - width - 1)\n\t\t\t\t\t\t\tx = aufzugschacht.getWidth() - width - 1;\n\t\t\t\t\t\tif (x < 1)\n\t\t\t\t\t\t\tx = 1;\n\t\t\t\t\t\ty = 1;\n\t\t\t\t\t} else if (aufhaenger.getHimmel() == Seilaufhaenger.SUED) {\n\t\t\t\t\t\tif (x > aufzugschacht.getWidth() - width - 1)\n\t\t\t\t\t\t\tx = aufzugschacht.getWidth() - width - 1;\n\t\t\t\t\t\tif (x < 1)\n\t\t\t\t\t\t\tx = 1;\n\t\t\t\t\t\ty = aufzugschacht.getHeight() - height - 1;\n\t\t\t\t\t} else if (aufhaenger.getHimmel() == Seilaufhaenger.WEST) {\n\t\t\t\t\t\tif (y > aufzugschacht.getHeight() - width - 1)\n\t\t\t\t\t\t\ty = aufzugschacht.getHeight() - height - 1;\n\t\t\t\t\t\tif (y < 1)\n\t\t\t\t\t\t\ty = 1;\n\t\t\t\t\t\tx = 1;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (y > aufzugschacht.getHeight() - width - 1)\n\t\t\t\t\t\t\ty = aufzugschacht.getHeight() - height - 1;\n\t\t\t\t\t\tif (y < 1)\n\t\t\t\t\t\t\ty = 1;\n\t\t\t\t\t\tx = aufzugschacht.getWidth() - width - 1;\n\t\t\t\t\t}\n\t\t\t\t\t// moves and resizes the element\n\t\t\t\t\tsetSize(width, height);\n\t\t\t\t\tsetLocation(x, y);\n\t\t\t\t} else {\n\t\t\t\t\tif (x > aufzugschacht.getWidth() - width - 1)\n\t\t\t\t\t\tx = aufzugschacht.getWidth() - width - 1;\n\t\t\t\t\tif (x < 1)\n\t\t\t\t\t\tx = 1;\n\t\t\t\t\t// moves and resizes the element\n\t\t\t\t\tsetSize(width, height);\n\t\t\t\t\t// setLocation(x, y);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (x > aufzugschacht.getWidth() - width - 1)\n\t\t\t\t\tx = aufzugschacht.getWidth() - width - 1;\n\t\t\t\tif (y > aufzugschacht.getHeight() - width - 1)\n\t\t\t\t\ty = aufzugschacht.getHeight() - height - 1;\n\t\t\t\tif (x < 1)\n\t\t\t\t\tx = 1;\n\t\t\t\tif (y < 1)\n\t\t\t\t\ty = 1;\n\t\t\t\t// moves and resizes the element\n\t\t\t\tsetSize(width, height);\n\t\t\t\tsetLocation(x, y);\n\t\t\t}\n\t\t}\n\t}", "public void setScale(Scale scale) {\n this.scale = scale;\n }", "@Override\n\tfinal public void scale(double x, double y)\n\t{\n\t\twidth *= x;\n\t\theight *= y;\n\t}", "public void setScale(float scale) {\n setLocalScale(scale);\n }", "public void setScale(float scale) {\n this.scale = scale;\n }", "public void setScale(double value) {\n this.scale = value;\n }", "public void setScale(double scale) {\n double oldScale = scale;\n this.scale = scale;\n if (actor != null) {\n actor.SetScale(normalActorSize * scale);\n double[] x = new double[3];\n for (int i=0; i<3; i++) {\n axeTitleActor[i].SetScale(normalTitleSize * scale);\n for (int k=0; k<3; k++) x[k] = axeTitlePosition[i][k]*scale*normalActorSize;\n axeTitleActor[i].SetPosition(x);\n }\n }\n firePropertyChange(\"scale\", new Double(oldScale), new Double(scale));\n }", "public void setScale(double scale) {\r\n if (scale >= 0.1) {\r\n this.scale = scale;\r\n }\r\n }", "public void beginScaling() {\n xScale = 1.0f;\n yScale = 1.0f;\n }", "public TiledView setScales(AxisScale scale) {\n return setScales(scale,scale);\n }", "public void setScale(final double scale) {\r\n\t\tthis.scale = scale;\r\n\t}", "public void setScale(float scale, int xform) {\n\t\tm_xforms[xform].m_scale = scale;\n\t}", "public void setScale( float scale ) {\n\t\tthis.scale = scale;\n\t}", "public final void setScale(float scalarX, float scalarY) {\n\t\tfinal Vector2 oldScale = this.scale();\n\t\tthis.scale(scalarX/oldScale.x, scalarY/oldScale.y);\n\t}", "public final void set(float scale) {\n\tm00 = scale; m01 = 0.0f; m02 = 0.0f;\n\tm10 = 0.0f; m11 = scale; m12 = 0.0f;\n\tm20 = 0.0f; m21 = 0.0f; m22 = scale;\n }", "public void setScaleY(double yscale)\r\n\t{\tyScale = yscale;\t}", "public final void setScale(float scale) {\n\t\n \tthis.svd(this);\n \tthis.mul(scale);\n }", "public void scale( float x, float y )\n\t{\n\t\tMatrix4f opMat = new Matrix4f();\n\t\topMat.setScale( x );\n\t\tmat.mul( opMat );\n\t}", "public void scale(float x, float y) {\n multiply(\n x, 0F, 0F, 0F,\n 0F, y, 0F, 0F,\n 0F, 0F, 1F, 0F,\n 0F, 0F, 0F, 1F\n );\n }", "public void scale(float scale, float x, float y) {\n\t\tcompose(new TransformMatrix(scale,scale, x - scale * x,y - scale * y));\n\t}", "public void scale(float scale) {\n if (scale != 1.0f) {\n left = (int) (left * scale + 0.5f);\n top = (int) (top * scale + 0.5f);\n right = (int) (right * scale + 0.5f);\n bottom = (int) (bottom * scale + 0.5f);\n }\n }", "public void setScaleFactor(float scale){\n scaleFactor = scale;\n }", "private void setScale() {\n this.particleScale = (1 - ((float) slowTime / 50)) * (1.5f * (float) offset);\n }", "@Override\n\tpublic void setScaleX(final float pScaleX) {\n\t\tsuper.setScaleX(1f); //scale not allowed on Layout Object\n\t}", "public PointDetails setScaling(double scale){\n\t\t\treturn setScaling(()->scale);\n\t\t}", "public void setScale(int scale) {\n\t\tif ((numberType == NumericFieldType.DOUBLE) && (scale <= 0)) {\n\t\t\tnumberType = NumericFieldType.INTEGER;\n\t\t}\n\t\tthis.scale = scale;\n\t\trequestRepaint();\n\t}", "public void setScale(float scaleX, float scaleY) {\n internalGroup.setScale(scaleX, scaleY);\n dataTrait.scaleX = scaleX;\n dataTrait.scaleY = scaleY;\n resetSprite();\n }", "public void setScaleX(double aValue)\n{\n if(aValue==getScaleX()) return;\n repaint();\n firePropertyChange(\"ScaleX\", getRSS().scaleX, getRSS().scaleX = aValue, -1);\n}", "public void setScale(float x) {\n worldMatrix = math3d.mul(math3d.scaling(new vec3(x,x,x)), worldMatrix);\n }", "public void setScaleX(int scaleX) {\n\t\tthis.scaleX = scaleX;\n\t}", "public void setDrawScale(Vector2 value) {\n \tsetDrawScale(value.x,value.y); \n\t}", "public void setScale(final float scale) {\n if (equal(mScale, scale) != true) {\n Log.d(TAG, \"setScale(): old: %.2f, new: %.2f\", mScale, scale);\n mScale = scale;\n setScale(mSceneRootObject, scale);\n setScale(mMainCameraRootObject, scale);\n setScale(mLeftCameraRootObject, scale);\n setScale(mRightCameraRootObject, scale);\n for (OnScaledListener listener : mOnScaledListeners) {\n try {\n listener.onScaled(scale);\n } catch (Exception e) {\n e.printStackTrace();\n Log.e(TAG, e, \"setScale()\");\n }\n }\n }\n }", "public PointDetails setScaling(DoubleSupplier scale){\n\t\t\tthis.scale = scale;\n\t\t\treturn this;\n\t\t}", "public void setXY(double anX, double aY) { setX(anX); setY(aY); }", "public TiledView setVScale(AxisScale scale) {\n return setScales(_bhp.getScale(),scale);\n }", "public void scale(double sx, double sy)\r\n\t{\r\n\t\t// System.out.println(\"scale\");\r\n\t}", "public void setScaleTo(Integer scaleTo)\n {\n getStateHelper().put(PropertyKeys.scaleTo, scaleTo);\n }", "@Override\n\tpublic void setScale(Vector3d scale) {\n\t\t\n\t}", "public void setCanvas(GameCanvas canvas) {\n\t\tthis.canvas = canvas;\n\t\tthis.scale.x = canvas.getWidth()/bounds.getWidth();\n\t\tthis.scale.y = canvas.getHeight()/bounds.getHeight();\n\t}", "public void setScaleY(double aValue)\n{\n if(aValue==getScaleY()) return;\n repaint();\n firePropertyChange(\"ScaleY\", getRSS().scaleY, getRSS().scaleY = aValue, -1);\n}", "public void setScale(double s){\n\t\tsetParameters(location, s);\n\t}", "private void setScaleToBoardViewPanes(double scale) {\n boardController.getDrawedBoard().setScaleX(scale);\n boardController.getDrawedBoard().setScaleY(scale);\n boardController.getCanvas().setScaleX(scale);\n boardController.getCanvas().setScaleY(scale);\n boardController.getDartBoard().setScaleX(scale);\n boardController.getDartBoard().setScaleY(scale);\n boardController.getPointsAreaPane().setScaleX(scale);\n boardController.getPointsAreaPane().setScaleY(scale);\n }", "void setScale(ScaleSelector sensor, int scaleNo);", "public void setToScale(double Sx, double Sy, double Sz) {\r\n\t\tthis.M11 = Sx;\r\n\t\tthis.M22 = Sy;\r\n\t\tthis.M33 = Sz;\r\n\t\tthis.M44 = 1;\r\n\t\tthis.M12 = 0;\r\n\t\tthis.M13 = 0;\r\n\t\tthis.M14 = 0;\r\n\t\tthis.M21 = 0;\r\n\t\tthis.M23 = 0;\r\n\t\tthis.M24 = 0;\r\n\t\tthis.M31 = 0;\r\n\t\tthis.M32 = 0;\r\n\t\tthis.M34 = 0;\r\n\t\tthis.M41 = 0;\r\n\t\tthis.M42 = 0;\r\n\t\tthis.M43 = 0;\r\n\t}", "public void setRenderFlipScale(float x, float y) {\n if(mNativeAddress != 0)\n nativeSetRenderFlipScale(mNativeAddress, x, y);\n }", "public void setAxisRange(double xMin,double xMax, double yMin, double yMax) {\n minXValue=xMin;\n maxXValue=xMax;\n minYValue=yMin;\n maxYValue=yMax;\n this.customAxis=true;\n addGraphPanel();\n\n }", "public void scale(float scalarX, float scalarY) {\n\t\ttile.scale(scalarX, scalarY);\n\t\tarrow.scale(scalarX, scalarY);\n\t}", "public void scale(Point P, int scaleFactor) {\n\n\n }", "protected void updateScales() {\n hscale = 1f;\n vscale = 1f;\n viewData.setHscale(hscale);\n viewData.setVscale(vscale);\n }", "public void setScalePublic(float scale) {\n\t\tdouble posXTmp = posX;\n\t\tdouble posYTmp = posY;\n\t\tdouble posZTmp = posZ;\n\t\tboolean onGroundTmp = onGround;\n\n\t\tsetScale(scale);\n\n\t\t// workaround for a vanilla bug; the position is apparently not set correcty\n\t\t// after changing the entity size, causing asynchronous server/client positioning\n\t\tsetPosition(posXTmp, posYTmp, posZTmp);\n\n\t\t// otherwise, setScale stops the dragon from landing while it is growing\n\t\tonGround = onGroundTmp;\n\t}", "public void updateScale()\n {\n // get scale from world presenter\n s2 = (cam.getScale());\n //Convert to English Miles if appropriate\n if( !SettingsScreen.getUnits() ) s2 *= 0.60934;\n s1 = s2/2;\n repaint();\n }", "public void setScale(double d) {\n\t\tdisp.setScale(d);\n\t\texactZoom.setText(disp.getScale() + \"\");\n\t\tresize();\n\t\trepaint();\n\t}", "public void scaleBy(float scale) {\n internalGroup.scaleBy(scale);\n dataTrait.scaleX = internalGroup.getScaleX();\n dataTrait.scaleY = internalGroup.getScaleY();\n resetSprite();\n\n }", "public TiledView setHScale(AxisScale scale) {\n return setScales(scale,_bvp.getScale());\n }", "public void setScale(ExpressionData md, int col)\n\t{\n\t\tswitch(SCALE_MODE)\n\t\t\t{\n\t\t\tcase SCALE_MATRIX:\n\t\t\t//\tSystem.out.println(\"Changing scale to mode MATRIX\");\n\t\t\t\tminExp=md.min;\n\t\t\t\tmaxExp=md.max;\n\t\t\t\tavgExp=md.average;\n\t\t\t\tmedianExp=md.median;\n\t\t\t\tbreak;\n\t\t\tcase SCALE_CONDITION:\n\t\t\t//\tSystem.out.println(\"Changing scale to mode CONDITION\");\n\t\t\t\tminExp=md.minCols[col];\n\t\t\t\tmaxExp=md.maxCols[col];\n\t\t\t\tavgExp=md.averageCols[col];\n\t\t\t\tmedianExp=md.medianCols[col];\n\t\t\t\tbreak;\n\t\t\tcase SCALE_ONTOLOGY:\n\t\t\t\t//System.out.println(\"Changing scale to mode ONTOLOGY\");\n\t\t\t\tminExp=1000000000;\n\t\t\t\tmaxExp=-1000000000;\n\t\t\t\tavgExp=0;\n\t\t\t\tcontAvgExp=0;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t//System.out.println(\"Mapping expression for \"+md.getColumnLabel(col)+\" in scale mode \"+SCALE_MODE);\n\t\t\n\t\t\n\t\tif(SCALE_MODE==SCALE_ONTOLOGY)\n\t\t\tavgExp/=contAvgExp;\n\t\t}", "@Override\n public void scale(double x, double y, double z) {\n GL11.glScaled(x, y, z);\n }", "public void setScaleX(double d) {\n\t\tpointTransform.translate(pivotPoint.getX(),pivotPoint.getY());\n\t\tpointTransform.scale(1.0/this.scaleX, 1.0);\n\t\tthis.scaleX = d;\n\t\tpointTransform.scale(d, 1.0);\n\t\tpointTransform.translate(-pivotPoint.getX(),-pivotPoint.getY());\n\t}", "public void setDecimalScale(int scale) {\n this.mScale = scale;\n }", "public void setScaled(long _scaled) {\n\t\tscaled = _scaled;\n\t}", "public void setSrcFlipScale(float x, float y) {\n if(mNativeAddress != 0)\n nativeSetSrcFlipScale(mNativeAddress, x, y);\n }", "public void setScaleStart(double scaleStart) {\n\t\tm_dScaleStart = scaleStart;\n\t}", "protected void zoomToScale(float scale) {\n \t\tif (tweening) {\n \t\t\tscaleIntegrator.target(scale);\n \t\t} else {\n \t\t\tmapDisplay.sc = scale;\n \t\t\t// Also update Integrator to support correct tweening after switch\n \t\t\tscaleIntegrator.target(scale);\n \t\t\tscaleIntegrator.set(scale);\n \t\t}\n \t}", "public void setScale(Vector3d scale) {\r\n transform3D.setScale(scale);\r\n transformGroup.setTransform(transform3D);\r\n }", "public void scale(Point3 scale) {\r\n\t\tx *= scale.x;\r\n\t\ty *= scale.y;\r\n\t\tz *= scale.z;\r\n\t}", "void onScaleChange(float scaleFactor, float focusX, float focusY);", "public void set(double x, double y) {\n \n _x = x;\n _y = y;\n \n }", "public TiledView setScales(AxisScale hscale, AxisScale vscale) {\n return null;\n }", "MapScale(int x, int y, int width, int height, Camera cam)\n {\n super();\n this.cam = cam;\n s2 = (cam.getScale());\n setOpaque(false);\n\n setLocation(x, y);\n setSize(width, height);\n }", "void setXandY(double x, double y){\r\n\t\tthis.x=x;\r\n\t\tthis.y=y;\r\n\t}", "default void setX(double x)\n {\n getAxis().setX(x);\n }", "void setQuantizerScale(int value)\n {\n quantizerScale = value;\n }", "void scale(double factor);", "public DimensionTypeBuilder coordScale(float coordinateScale) {\n this.coordinateScale = coordinateScale;\n return this;\n }", "public double getScale(){\n\t\treturn scale;\n\t}", "public void scale(double s);", "protected void setScaleDenominator(double scaleDenominator) {\n this.scaleDenominator = scaleDenominator;\n }", "public void setScale(double n) {\n\n\t}", "public void scaleBy(float scaleX, float scaleY) {\n internalGroup.scaleBy(scaleX, scaleY);\n dataTrait.scaleX = internalGroup.getScaleX();\n dataTrait.scaleY = internalGroup.getScaleY();\n resetSprite();\n }", "public void scale(Vector2 scale)\n\t{\n\t\tthis.scaleBasis(scale);\n\t\tthis.matrix[2] = this.matrix[2].multiply(scale);\n\t}", "void setMaxScale(int value);", "public void setZoom(int ps) {\n P_SCALE = ps;\n //EMBOSS = P_SCALE*8;\n }", "public void setWidthHeight(double x, double y) {\n\t\twidth = x;\n\t\theight = y;\n\t}", "public void setX(double value) {\n origin.setX(value);\n }", "public void setXY(int x, int y)\n\t{\n\t\tthis.x = x;\t\t\t\t\t\t\t\t\t\t\t\t\t// Update point's x-coordinate \n\t\tthis.y = y;\t\t\t\t\t\t\t\t\t\t\t\t\t// Update point's y-coordinate \n\t}", "public void scale(float scale, float scale2) {\n\t\t\n\t}" ]
[ "0.7614518", "0.7584808", "0.7580638", "0.751687", "0.7305102", "0.72963375", "0.7218134", "0.7200108", "0.7190336", "0.7152296", "0.70793504", "0.70713466", "0.70609695", "0.70306426", "0.6990048", "0.69888926", "0.6987452", "0.6972376", "0.6950221", "0.6939082", "0.69198406", "0.69186103", "0.6904276", "0.68999475", "0.6899514", "0.68905044", "0.68885845", "0.6828614", "0.6787026", "0.6780837", "0.6747711", "0.67366374", "0.66891354", "0.66602707", "0.6650282", "0.66179734", "0.6607111", "0.65873677", "0.6569542", "0.6537949", "0.6502943", "0.64846957", "0.64791214", "0.6465403", "0.64623195", "0.6446677", "0.6420943", "0.64000714", "0.63862336", "0.6377875", "0.6348844", "0.6313874", "0.63090026", "0.630751", "0.63029826", "0.628938", "0.62783766", "0.62392557", "0.6238936", "0.62213796", "0.6198427", "0.6196475", "0.6186173", "0.618214", "0.61660933", "0.61638856", "0.6155857", "0.61547804", "0.6146495", "0.61079216", "0.6095117", "0.6093516", "0.6090596", "0.6088277", "0.60802263", "0.606915", "0.60489815", "0.60306674", "0.60266596", "0.60162073", "0.6006694", "0.60058326", "0.5990623", "0.596936", "0.59643453", "0.5960222", "0.5946043", "0.5938443", "0.59341925", "0.59334177", "0.5931934", "0.59258944", "0.5924524", "0.59234643", "0.591019", "0.5892068", "0.5885011", "0.5884604", "0.58780897", "0.5869824" ]
0.8055567
0
Returns the skew of the X axis of the shape.
public double getSkewX() { return _rss==null? 0 : _rss.skewX; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public double getSkew() {\n if (isReal) {\n return get(\"ts\");\n } else {\n return simTs.getDouble(0.0);\n }\n }", "public String getXKey(){\n return getAxisKey(Axis.X);\n }", "public double getLeftXAxis() {\n\t\treturn getRawAxis(Axis_LeftX);\n\t}", "public float get_skew_cmp() {\n return (float)getFloatElement(offsetBits_skew_cmp(), 32);\n }", "public double getXRotate() {\n\t\tif (Math.abs(getRawAxis(Axis_XRotate)) > stickDeadband) {\n\t\t\treturn getRawAxis(Axis_XRotate);\n\t\t} else {\n\t\t\treturn 0;\n\t\t}\n\t}", "public float getLowerLeftX()\n {\n return ((COSNumber)rectArray.get(0)).floatValue();\n }", "public SVGLength getX() {\n return x;\n }", "public double getSkewY() { return _rss==null? 0 : _rss.skewY; }", "public double getLeftJoystickHorizontal() {\n\t\treturn getRawAxis(LEFT_STICK_HORIZONTAL);\n\t}", "public String getXwShb() {\n return xwShb;\n }", "public double getX() {\n\t\treturn sens.getXPos();\n\t}", "public float getPenX() {\n return pm.pen.getLevelValue(PLevel.Type.X);\n }", "public double getSkew_Rotation() {\n NetworkTableEntry ts = m_table.getEntry(\"ts\");\n double s = ts.getDouble(0.0);\n return s;\n }", "public void setSkewX(double aValue)\n{\n if(aValue==getSkewX()) return;\n repaint();\n firePropertyChange(\"SkewX\", getRSS().skewX, getRSS().skewX = aValue, -1);\n}", "public int getX()\n {\n return xaxis;\n }", "public Shape rotateLeft() \n\t{\n\t\tif (detailShape == Tetromino.SQUARE)\n\t\t{\n\t\t\treturn this;\n\t\t}\n\t\t\n\t\tvar result = new Shape();\n\t\tresult.detailShape = detailShape;\n\t\t\n\t\tfor (int i=0; i<4; i++)\n\t\t{\n\t\t\tresult.setX(i, y(i));\n\t\t\tresult.setY(i, -x(i));\n\t\t}\n\t\t\n\t\treturn result;\n\t}", "public double getX() {\n\t\tif (v == 0) {\n\t\t\treturn 0.0;\n\t\t} else {\n\t\t\treturn x;\n\t\t}\n\t}", "public int getHorSTX() {\r\n return horSTX;\r\n }", "public ChartXAxis getXAxis() { return _xaxis; }", "private Point3D getXAxis(Point3D eye, Point3D view, Point3D viewUp) {\n\t\t\t\tPoint3D OG = view.sub(eye).normalize();\n\t\t\t\treturn OG.vectorProduct(getYAxis(eye, view, viewUp)).normalize();\n\t\t\t}", "public static int offset_skew_cmp() {\n return (136 / 8);\n }", "public TextureBorder getBorderX() {\n return mBorderX;\n }", "@Override\n\tpublic double GetX() {\n\t\treturn 0f;\n\t}", "public void setSkewXY(double skx, double sky) { setSkewX(skx); setSkewY(sky); }", "public SkewXModifier(final float pDuration, final float pFromSkewX, final float pToSkewX) {\r\n\t\tthis(pDuration, pFromSkewX, pToSkewX, null, EaseLinear.getInstance());\r\n\t}", "public int xPos() {\n\t\treturn Engine.scaleX(x);\n\t}", "public static double getOrigX() {\n return 0.08838501572608948;\n }", "public int getLeftX() {\n\t\treturn 0;\r\n\t}", "public double getX() {\n return x_;\n }", "public double getX() {\n return x_;\n }", "public double getX() {\n return x_;\n }", "public double getX() {\n return x_;\n }", "public double getX() {\n return x_;\n }", "public double getX() {\n return x_;\n }", "public double getX() {\n return x_;\n }", "public double getX() {\n return x_;\n }", "protected double getWindowLeftX() {\n\t\treturn this.m_windowLeftX;\n\t}", "public double getX() {\n\t\t\t\treturn x;\n\t\t\t}", "public double skalowaneX1() {\r\n\t\treturn x * scalingX;\r\n\t}", "public double getX() {\n\t\treturn bassX;\n\t}", "@Override\r\n\tprotected void onSetInitialValue(final IEntity pEntity, final float pSkewX) {\r\n\t\tpEntity.setSkewX(pSkewX);\r\n\t}", "public float getLeftX() {\n\t\treturn leftX;\n\t}", "public String getXaxisTitle() {\r\n if (xaxisTitle != null) {\r\n return xaxisTitle;\r\n }\r\n ValueBinding vb = getValueBinding(\"xaxisTitle\");\r\n return vb != null ? (String) vb.getValue(getFacesContext()) :\r\n DEFAULT_XAXIS_TITLE;\r\n }", "public int getXwid() {\n return xwid;\n }", "@Override\r\n\tpublic long getSurpriseBoxX(SurpriseBox surpriseBox) throws IllegalStateException\r\n\t{\r\n\t\tif (surpriseBox.getBoard() != null)\r\n\t\t{\r\n\t\t\treturn surpriseBox.getPosition().getCoordX();\r\n\t\t}\r\n\t\telse throw new IllegalStateException();\r\n\t}", "public double getX() {\n return x_;\n }", "public double getX() {\n return x_;\n }", "public double getX() {\n return x_;\n }", "public double getX() {\n return x_;\n }", "public double getX() {\n return x_;\n }", "public double getX() {\n return x_;\n }", "public double getX() {\n return x_;\n }", "public double getX() {\n return x_;\n }", "public double getX() {\n\t\t\treturn x;\n\t\t}", "public int getHorX() {\r\n return horX;\r\n }", "public String getXAxisTitle() {\n return xAxisTitle;\n }", "int getMouseX(int scWidth) {\n return Mouse.getX() * (scWidth + ZanMinimap.heightOffset) / game.d;\n }", "public double getLeftX(){\r\n\t\treturn adjustInput(driverLeft.getX());\r\n\t}", "public static double getOrigX() {\n return 2.926776647567749;\n }", "public double getX() {\n\t\tRectangle2D bounds = _parentFigure.getBounds();\n\t\tdouble x = bounds.getX() + (_xt * bounds.getWidth());\n\t\treturn x;\n\t}", "@Override\n public int getXOffset(float xpos) {\n return -(getWidth() / 2);\n }", "public double getXFactor() {\r\n\t\treturn x_factor;\r\n\t}", "public int getXLeftUpper() {\n return xLeftUpper;\n }", "public static boolean isSigned_skew_cmp() {\n return true;\n }", "@Override\n\tpublic float getCenterOfRotationX() {\n\t\treturn 0.25f;\n\t}", "public int getX() {\n\t\treturn this.x_indice * DIM_CASE;\n\t}", "public double getPlaneX()\n {\n return planeX;\n }", "public int getDimX() {\r\n return dimX;\r\n }", "public static int getOrigX() {\n return 1;\n }", "public static Component horizontal() {\n return Box.createRigidArea(new Dimension(gap, 0));\n }", "Double getXLength();", "public double getLeftTrigger() {\n\t\treturn getRawAxis(LEFT_TRIGGER);\n\t}", "public double getX() {\n\t\treturn x;\n\t}", "public double getX() {\n\t\treturn x;\n\t}", "public double getX() {\n\t\treturn x;\n\t}", "public double getX() {\n\t\treturn x;\n\t}", "public double getX() {\n\t\treturn x;\n\t}", "public double getX() {\n\t\treturn x;\n\t}", "public double getX() {\n\t\treturn x;\n\t}", "public double getPositionX() {\n return positionX_;\n }", "public double getPositionX() {\n return positionX_;\n }", "public double getPositionX() {\n return positionX_;\n }", "@Override\n\tpublic int getX() {\n\t\treturn 0;\n\t}", "@Override\n\tpublic int getX() {\n\t\treturn 0;\n\t}", "public static double getOrigX() {\n return 0.12999999523162842;\n }", "public static double getOrigX() {\n return 0.12999999523162842;\n }", "public static double getOrigX() {\n return 0.12999999523162842;\n }", "public double getPositionX() {\n return positionX_;\n }", "public double getPositionX() {\n return positionX_;\n }", "public double getPositionX() {\n return positionX_;\n }", "public int setObjXCoord() {\n\t\tint objX = ThreadLocalRandom.current().nextInt(1, getRoomWidth() - 1);\r\n\t\treturn objX;\r\n\t}", "public double getScaleX() {\n return 1.0;\n }", "private double centerX() {\n return (piece.boundingBox().getWidth() % 2) / 2.0;\n }", "public float getRotationX() {\n return mRotationX;\n }", "public final double getX() {\n return x;\n }", "public static int size_skew_cmp() {\n return (32 / 8);\n }", "public double getX() { return _width<0? _x + _width : _x; }", "public int getX() {\n return PADDING;\n //return columnToX(this.getCols());\n //throw new UnsupportedOperationException();\n }", "public static double getOrigX() {\n return 0.13199996948242188;\n }", "public double getLeft() {\r\n\t\treturn -left.getRawAxis(1);\r\n\t}" ]
[ "0.56131923", "0.5487481", "0.5379629", "0.5223761", "0.52075577", "0.52035075", "0.51581514", "0.50941366", "0.5075738", "0.50728875", "0.5045662", "0.5039388", "0.5038407", "0.49894395", "0.49741122", "0.49454272", "0.49330583", "0.49133766", "0.48963353", "0.4894691", "0.4857822", "0.48567402", "0.48510665", "0.48417512", "0.48360598", "0.48347196", "0.4815896", "0.47888294", "0.47870186", "0.47870186", "0.47870186", "0.47870186", "0.47870186", "0.47870186", "0.47870186", "0.47868812", "0.47631663", "0.47507668", "0.47448388", "0.47431645", "0.47417527", "0.4737662", "0.4735766", "0.47357345", "0.4731478", "0.47225678", "0.47225678", "0.47225678", "0.47225678", "0.47225678", "0.47225678", "0.47225678", "0.47225678", "0.47207645", "0.47155905", "0.4704376", "0.47040948", "0.469121", "0.46896273", "0.46845013", "0.4683611", "0.4674504", "0.4668549", "0.4646838", "0.46414143", "0.46392766", "0.46293494", "0.46253788", "0.46194765", "0.46158278", "0.4611779", "0.46037638", "0.4600782", "0.4600782", "0.4600782", "0.4600782", "0.4600782", "0.4600782", "0.4600782", "0.45953208", "0.45953208", "0.45939115", "0.45929322", "0.45929322", "0.45906952", "0.45906952", "0.45906952", "0.45852062", "0.45847073", "0.45847073", "0.45812854", "0.45764732", "0.45755932", "0.45754462", "0.45673534", "0.45667443", "0.45665544", "0.45651302", "0.4562731", "0.45601913" ]
0.7175281
0
Sets the skew of the X axis of the shape.
public void setSkewX(double aValue) { if(aValue==getSkewX()) return; repaint(); firePropertyChange("SkewX", getRSS().skewX, getRSS().skewX = aValue, -1); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tprotected void onSetInitialValue(final IEntity pEntity, final float pSkewX) {\r\n\t\tpEntity.setSkewX(pSkewX);\r\n\t}", "public void setSkewXY(double skx, double sky) { setSkewX(skx); setSkewY(sky); }", "default void setX(double x)\n {\n getAxis().setX(x);\n }", "public double getSkewX() { return _rss==null? 0 : _rss.skewX; }", "public void setX() {\n m_frontLeft.setDesiredState(new SwerveModuleState(0, Rotation2d.fromDegrees(45)));\n m_frontRight.setDesiredState(new SwerveModuleState(0, Rotation2d.fromDegrees(-45)));\n m_rearLeft.setDesiredState(new SwerveModuleState(0, Rotation2d.fromDegrees(-45)));\n m_rearRight.setDesiredState(new SwerveModuleState(0, Rotation2d.fromDegrees(45)));\n }", "public void setX(double x)\r\n\t{\t\r\n\t\tvirtualDxfPoint.setTransformationX(x);\r\n\t\tAnchor.setX(x);\r\n\t}", "public void setX(double value) {\n origin.setX(value);\n }", "private void setXAxis() {\n XAxis xAxis = mChart.getXAxis();\n xAxis.setGranularity(1f);\n xAxis.setGranularityEnabled(true);\n xAxis.setCenterAxisLabels(false);\n xAxis.setDrawGridLines(false);\n xAxis.setPosition(XAxis.XAxisPosition.BOTTOM);\n xAxis.setValueFormatter(new IndexAxisValueFormatter(getXAxisValues()));\n xAxis.setLabelCount(30);\n }", "public void setX( int x ) {\n\t\t//not checking if x is valid because that depends on the coordinate system\n\t\tthis.x = x;\n\t}", "public void setX(int x)\n\t{\n\t\tgetWorldPosition().setX(x);\n\t}", "@Override\n\tpublic void setX(int x) {\n\t\txPos = x;\n\t}", "private void setXscale() {\n\t}", "public void setLeft(int x) {\r\n leftSide = x;\r\n }", "public void setX(int xpos) {\r\n this.xpos = xpos;\r\n }", "public void setX(double val) {\r\n\t\t this.xCoord = val;\r\n\t }", "public SkewXModifier(final float pDuration, final float pFromSkewX, final float pToSkewX) {\r\n\t\tthis(pDuration, pFromSkewX, pToSkewX, null, EaseLinear.getInstance());\r\n\t}", "public final Point3D setX(double x)\n {\n m_jso.setX(x);\n\n return this;\n }", "public void setX(double point) {\n this.x = point;\n }", "public void setLowerLeftX(float value)\n {\n rectArray.set(0, new COSFloat( value ) );\n }", "public void setScaleX(int scaleX) {\n\t\tthis.scaleX = scaleX;\n\t}", "public void setX(float x) {\r\n\t\tleft = x - width / 2;\r\n\t}", "public void setX(int position) {\r\n\t\tif(position<5 && position>=0) {\r\n\t\t\tthis.xcoord = position;\r\n\t\t}\r\n\t\telse {\r\n\t\t\trandomX();\r\n\t\t}\r\n\t}", "public void setX(double value) {\n\t\t\t\tthis.x = value;\n\t\t\t}", "public void setX(int x) {\n\t\tthis.X = x;\n\t}", "public void setX(double value) {\n this.x = value;\n }", "void setX(int x) {\n position = position.setX(x);\n }", "public Vector4d setX(double x) {\n\t\tthis.x = x;\n\t\treturn this;\n\t}", "public PlotPosition setX( double x )\n {\n return setX( x, 1 );\n }", "public void setX(int x) {\n\tbaseXCoord = x;\n}", "public void setX(int x) {\n synchronized (this.xLock) {\n this.movementComposer.setXPosition(x);\n }\n }", "public void setX(double x) {\n this.x = x;\r\n }", "public void setHorX(int horX) {\r\n this.horX = horX;\r\n }", "public void setX(int newX)\n\t{\n\t\tx += newX;\n\t\tboundingBox = new Rectangle(x,y,width,height);\n\t}", "public void setX(double value) {\n\t\tthis.x = value;\n\t}", "public void setX(double x) {\n this.x = x;\n }", "public void setX(double x) {\n this.x = x;\n }", "public void setX(double x) {\n this.x = x;\n }", "public void setX(int x)\n\t{\n\t\tthis.x = x;\t\t\t\t\t\t\t\t\t\t\t\t\t// Update point's x-coordinate\n\t}", "public void setFrameSize(double aWidth, double aHeight)\n{\n // If shape not rotated, scaled or skewed, just set and return\n if(!isRSS()) {\n if(_width<0) { setX(_x + (aWidth+_width)); aWidth = -aWidth; }\n if(_height<0) { setY(_y + (aHeight+_height)); aHeight = -aHeight; }\n setSize(aWidth, aHeight); return;\n }\n \n // Convert X & Y axis to parent coords\n RMSize x_axis = convertVectorToShape(new RMSize(_width, 0), _parent);\n RMSize y_axis = convertVectorToShape(new RMSize(0, _height), _parent);\n\n // Scale widths of X & Y axes in parent coords by ratio of NewWidth/OldWidth\n double sizeByRatio1 = Math.abs(aWidth)/(Math.abs(x_axis.width) + Math.abs(y_axis.width));\n x_axis.width *= sizeByRatio1; y_axis.width *= sizeByRatio1;\n \n // Scale heights of X & Y axes in parent coords by ratio of NewHeight/OldHeight\n double sizeByRatio2 = Math.abs(aHeight)/(Math.abs(x_axis.height) + Math.abs(y_axis.height));\n x_axis.height *= sizeByRatio2; y_axis.height *= sizeByRatio2;\n\n // Cache current bounds origin (this shouldn't change)\n RMPoint origin = getFrameXY();\n \n // Reset current Skew and convert X & Y axis from parent coords\n setSkewXY(0, 0);\n convertVectorFromShape(x_axis, _parent);\n convertVectorFromShape(y_axis, _parent);\n\n // Set the size to compensate for the skew\n setSize(x_axis.width, y_axis.height);\n\n // Calculate new skew angles (or roll, if width or height is zero)\n if(width()==0)\n setRoll(getRoll() - Math.toDegrees(Math.atan(y_axis.width/y_axis.height)));\n else if(height()==0)\n setRoll(getRoll() - Math.toDegrees(Math.atan(x_axis.height/x_axis.width)));\n else {\n setSkewX(Math.toDegrees(Math.atan(x_axis.height/x_axis.width)));\n setSkewY(Math.toDegrees(Math.atan(y_axis.width/y_axis.height)));\n }\n\n // Reset original bounds origin (it may have been effected by skew changes)\n setFrameXY(origin);\n}", "public void setPosX(double posX) {\n\t\tthis.PosX = posX;\r\n\t}", "@Override\r\n\tpublic void setX(float x) {\n\t\t\r\n\t}", "public Builder setX(float value) {\n \n x_ = value;\n onChanged();\n return this;\n }", "public Builder setX(float value) {\n \n x_ = value;\n onChanged();\n return this;\n }", "public Builder setX(float value) {\n \n x_ = value;\n onChanged();\n return this;\n }", "public void setX(int xCoord) {\n this.xCoord = xCoord;\n }", "void setX(int newX) {\n this.xPos = newX;\n }", "public void setX(double x){\n this.x = x;\n }", "public void setX(double x){\n this.x = x;\n }", "public void setX(int x) {\r\n\t\tthis.x = x;\r\n\t}", "public void setX(int x) {\r\n\t\tthis.x = x;\r\n\t}", "public void setX(int x) {\r\n\t\tthis.x = x;\r\n\t}", "public void setX(int x) {\r\n\t\tthis.x = x;\r\n\t}", "protected void setX(final Number x) {\n this.xCoordinate = x;\n }", "public void setXLeft(int left) {\n this.xLeft = left;\n }", "public void setX(double x) {\n\t\tthis.x = x;\n\t}", "public void setX(float x){\n hitBox.offsetTo(x,hitBox.top);\n //this.x=x;\n }", "public void setX(double x)\n {\n this.x = x;\n }", "public void setX(int x){\r\n\t\tthis.x = x;\r\n\t}", "public void setXLoc(int xLoc){\n myRectangle.setX(xLoc);\n }", "public void setX(int xcoord) {\n\t\tx = xcoord;\n\t}", "public void resetX() {this.startX = 0f;}", "public void setX(int x) {\n\t\tthis.x = x;\n\t}", "public void setX(int x) {\n\t\tthis.x = x;\n\t}", "public void setX(int x) {\n\t\tthis.x = x;\n\t}", "public void setX(int x) {\n\t\tthis.x = x;\n\t}", "public void setX(int x) {\n\t\tthis.x = x;\n\t}", "public Builder setX(int value) {\n bitField0_ |= 0x00000004;\n x_ = value;\n onChanged();\n return this;\n }", "@Test\r\n public void testSetXAxis() {\r\n System.out.println(\"SetXAxis\");\r\n String xAxis = \"\";\r\n Graph instance = new Graph();\r\n instance.SetXAxis(xAxis);\r\n // TODO review the generated test code and remove the default call to fail.\r\n fail(\"The test case is a prototype.\");\r\n }", "public void setX(int x) {\n this.x = x;\r\n }", "public void setPosX(int posX) {\n this.posX = posX;\n }", "public Builder setX(int value) {\n \n x_ = value;\n onChanged();\n return this;\n }", "@SuppressLint(\"NewApi\")\n\tpublic S<T> X(int x){\n\t\t((View)t).setX(x);\n\t\treturn this;\n\t}", "public void setX(int newX)\r\n {\r\n xCoord = newX;\r\n }", "public void setX(double pX) {\n mX = pX;\n }", "public void setX(double x)\n\t{\n\t\tthis.x = x;\n\t}", "public void setX(int x) {\n this.x = x;\n }", "public void setX(int x) {\n this.x = x;\n }", "@Override\n\tpublic void setX(float x) {\n\n\t}", "public void setxPos(int xPos) {\r\n \tthis.xPos = xPos;\r\n }", "public void randomX() {\r\n\t\tdouble randomDub = Math.random();\r\n\t\tint randomIntX = (int)randomDub*4;\r\n\t\tthis.xcoord = randomIntX;\r\n\t}", "public void setStartX(double x)\n {\n startxcoord=x; \n }", "public void setPosX(float posX) {\n this.posX = posX;\n }", "public Builder setPositionX(double value) {\n bitField0_ |= 0x00000008;\n positionX_ = value;\n onChanged();\n return this;\n }", "public void setX(float x) {\n this.x = x;\n }", "public Builder setPositionX(double value) {\n bitField0_ |= 0x00000004;\n positionX_ = value;\n onChanged();\n return this;\n }", "void setX(double x){\r\n\t\tthis.x=x;\r\n\t}", "public void setSkewY(double aValue)\n{\n if(aValue==getSkewY()) return;\n repaint();\n firePropertyChange(\"SkewY\", getRSS().skewY, getRSS().skewY = aValue, -1);\n}", "public Builder setX(double value) {\n bitField0_ |= 0x00000800;\n x_ = value;\n onChanged();\n return this;\n }", "public Builder setX(double value) {\n bitField0_ |= 0x00000004;\n x_ = value;\n onChanged();\n return this;\n }", "public void setX(float x) {\r\n\t\tthis.x = x;\r\n\t}", "@Override\n\tpublic void setX(float x) \n\t{\n\t\t_x = x;\n\t}", "public void setXSize(int xSize) {\n\t\tif (xSize < 1) {\n\t\t\tSystem.out.println(\"xSize should be positive! It is set to \" + X_SIZE + \".\");\n\t\t\txSize = X_SIZE;\n\t\t}\n\t\tthis.xSize = xSize;\n\n\t\t// To update the panel with new values if necessary\n\t\tthis.setNumRabbits(this.getNumRabbits());\n\n\t\tupdatePanel();\n\t}", "public int setObjXCoord() {\n\t\tint objX = ThreadLocalRandom.current().nextInt(1, getRoomWidth() - 1);\r\n\t\treturn objX;\r\n\t}", "public Builder setPositionX(double value) {\n bitField0_ |= 0x00000040;\n positionX_ = value;\n onChanged();\n return this;\n }", "public void setXPos(int xPos) {\r\n\t\tthis.xPos = xPos;\r\n\t}", "@Override\n\tpublic void setX(int x) {\n\t\t\n\t}", "public void setPosX(int posX) {\n\t\tthis.posX = posX;\n\t}", "public void setX(float x)\n {\n getBounds().offsetTo(x - positionAnchor.x, getBounds().top);\n notifyParentOfPositionChange();\n conditionallyRelayout();\n }", "@Override\n\tpublic void setX(int x) {\n\n\t}", "public void setXPosition(double x)\n\t{\n\t\tthis.xPosition = x;\n\t}" ]
[ "0.63523144", "0.60319424", "0.5790609", "0.5711701", "0.5649008", "0.54443693", "0.5422786", "0.53778195", "0.53002715", "0.5245444", "0.52084434", "0.5154871", "0.51495594", "0.51389676", "0.50919455", "0.5091052", "0.50762457", "0.5063461", "0.5046358", "0.50410974", "0.5030326", "0.5014412", "0.5010473", "0.5008772", "0.49955696", "0.4989719", "0.4988141", "0.49792153", "0.4978649", "0.49743083", "0.49732462", "0.4959346", "0.49572635", "0.49474168", "0.4943573", "0.4943573", "0.4943573", "0.49401134", "0.4928603", "0.49260986", "0.49226886", "0.4913319", "0.4913319", "0.4913319", "0.49027464", "0.4896359", "0.4889354", "0.4889354", "0.48886725", "0.48886725", "0.48886725", "0.48886725", "0.48785907", "0.48782885", "0.48768905", "0.4864786", "0.48626873", "0.48467436", "0.48431593", "0.48388234", "0.48381004", "0.48365787", "0.48365787", "0.48365787", "0.48365787", "0.48365787", "0.48245096", "0.48185763", "0.481806", "0.48147887", "0.48097602", "0.48091903", "0.48057997", "0.48044682", "0.48035616", "0.4800866", "0.4800866", "0.47942877", "0.47912762", "0.479086", "0.47881243", "0.47823033", "0.47726807", "0.47573188", "0.47541556", "0.47428817", "0.47289804", "0.47252327", "0.47235402", "0.47227842", "0.47204396", "0.47189954", "0.4715608", "0.47144076", "0.47136098", "0.47121245", "0.47106808", "0.47009075", "0.46994346", "0.46931753" ]
0.6266589
1
Returns the skew of the Y axis of the shape.
public double getSkewY() { return _rss==null? 0 : _rss.skewY; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public double getRightYAxis() {\n\t\treturn getRawAxis(Axis_RightY);\n\t}", "public String getYKey(){\n return getAxisKey(Axis.Y);\n }", "public double getYRotate() {\n\t\tif (Math.abs(getRawAxis(Axis_YRotate)) > stickDeadband) {\n\t\t\treturn getRawAxis(Axis_YRotate);\n\t\t} else {\n\t\t\treturn 0;\n\t\t}\n\t}", "public SVGLength getY() {\n return y;\n }", "public double getSkew() {\n if (isReal) {\n return get(\"ts\");\n } else {\n return simTs.getDouble(0.0);\n }\n }", "public double getRightJoystickVertical() {\n\t\treturn getRawAxis(RIGHT_STICK_VERTICAL) * -1;\n\t}", "public float getPenY() {\n return pm.pen.getLevelValue(PLevel.Type.Y);\n }", "public double getY() {\n\t\treturn bassY;\n\t}", "public double getYDirection() {\r\n return Math.sin(Math.toRadians(angle));\r\n }", "public float getUpperRightY()\n {\n return ((COSNumber)rectArray.get(3)).floatValue();\n }", "public ChartYAxis getYAxis() { return _yaxis; }", "Double getYLength();", "public String getYwdw() {\n return ywdw;\n }", "public double GetY(){\n return this._Y;\n }", "public int yPos() {\n\t\treturn Engine.scaleY(y);\n\t}", "public double getSkew_Rotation() {\n NetworkTableEntry ts = m_table.getEntry(\"ts\");\n double s = ts.getDouble(0.0);\n return s;\n }", "public float getTiltY() {\n return pm.pen.getLevelValue(PLevel.Type.TILT_Y);\n }", "public TextureBorder getBorderY() {\n return mBorderY;\n }", "public double getY2()\n\t{\n\t\treturn this.y[2];\n\t}", "double getYLength();", "public double getScaleY(double y) {\r\n return scalingFactorY*y;\r\n }", "public double getEndY() {\n\treturn v2.getY();\n }", "public int getY()\n {\n return yaxis;\n }", "public double getBboxVerticalSidelength() {\n return getDouble(\"tvert\");\n }", "public double getY2() {\n\t\treturn p2.y;\n\t}", "public double getYRatio(){\n\t\treturn this.yratio;\n\t}", "@java.lang.Override\n public godot.wire.Wire.Vector2 getY() {\n return y_ == null ? godot.wire.Wire.Vector2.getDefaultInstance() : y_;\n }", "public double getY() {\n return y_;\n }", "public double getY() {\n return y_;\n }", "public double getY() {\n return y_;\n }", "public double getY() {\n return y_;\n }", "public double getY() {\n return y_;\n }", "public double getY() {\n return y_;\n }", "public double getY() {\n return y_;\n }", "public double getY() {\n return y_;\n }", "public static double getOrigY() {\n return 0.3987833857536316;\n }", "public double Y_r() {\r\n \t\treturn getY();\r\n \t}", "public double getY() {\n return y_;\n }", "public double getY() {\n return y_;\n }", "public double getY() {\n return y_;\n }", "public double getY() {\n return y_;\n }", "public double getY() {\n return y_;\n }", "public double getY() {\n return y_;\n }", "public double getY() {\n return y_;\n }", "public double getY() {\n return y_;\n }", "public float getStandardDeviationY(){\r\n\t\treturn StandardDeviationY;\r\n\t}", "abstract double getDirY();", "public double getY() {\n\t\t//throw new UnsupportedOperationException(\"TODO - implement\");\n\t\treturn pY;\n\t}", "public double getyCoord() {\n\t\treturn yCoord;\n\t}", "public final double getY() {\n return y;\n }", "public double getY();", "public double getY() {\r\n\t\t//throw new UnsupportedOperationException(\"TODO - implement\");\r\n\t\treturn pY;\r\n\t}", "public final double getY() {\n return y;\n }", "public double getYOffset()\n {\n return -0.45D;\n }", "public double getY() {\n\t\treturn y;\n\t}", "public double getY() {\n\t\treturn y;\n\t}", "public double getY() {\n\t\treturn y;\n\t}", "public double getY() {\n\t\treturn y;\n\t}", "public int getYDir() {\r\n\t\treturn yDir;\r\n\t}", "public int getYD2 ()\n\t{\n\t\treturn yDimension2;\n\t}", "double getY();", "double getY();", "double getY();", "double getY();", "double getY();", "double getY();", "double getY();", "double getY();", "double getY();", "public double getY()\n\t{\n\t\treturn y;\n\t}", "public double getY() {\n return mY;\n }", "public Double getY() {\n\t\treturn y;\n\t}", "@Override\n\tpublic double GetY() {\n\t\treturn 0f;\n\t}", "public float getSavedTiltY() {\n return savedPen.getLevelValue(PLevel.Type.TILT_Y);\n }", "public double getY() {\r\n return this.dy;\r\n }", "public double getY() {\r\n return y;\r\n }", "public double getY() {\n return y;\n }", "public double getY() {\n return y;\n }", "public double getY() {\n return y;\n }", "public double getY() {\n return y;\n }", "public double getY() {\n return y;\n }", "public double getY() {\n return y;\n }", "public double getY() {\n return this.y;\n }", "public double getY() {\n return this.y;\n }", "public double getY() {\n return this.y;\n }", "public double getY() {\n\t\treturn point[1];\n\t}", "public double getY() {\n return y;\r\n }", "public double getY()\n\t\t{\n\t\t\treturn this.y[0];\n\t\t}", "public godot.wire.Wire.Vector2 getY() {\n if (yBuilder_ == null) {\n return y_ == null ? godot.wire.Wire.Vector2.getDefaultInstance() : y_;\n } else {\n return yBuilder_.getMessage();\n }\n }", "public double getY() {\r\n return this.y;\r\n }", "@Override\n\tpublic double getYPos() {\n\t\treturn field_145848_d;\n\t}", "public String getYwfw() {\n return ywfw;\n }", "public Double getY2() {\n\t\treturn y2;\n\t}", "public int getSizeY(){\r\n\t\treturn size[1];\r\n\t}", "public double getYOffset() {\n if (isReal) {\n return get(\"ty\");\n } else {\n return simTy.getDouble(0.0);\n }\n }", "String getYAxisLabel();", "public double getY(){\n\t\treturn y;\n\t}", "public String getYbs() {\n return ybs;\n }", "public java.lang.String getYylsh() {\r\n return localYylsh;\r\n }", "abstract double getOrgY();" ]
[ "0.6094923", "0.59691244", "0.59416276", "0.58748835", "0.58741146", "0.58611", "0.57460344", "0.573947", "0.57355326", "0.5723359", "0.5688282", "0.5562291", "0.5552321", "0.55460006", "0.5544444", "0.5525823", "0.55218655", "0.5495309", "0.54912597", "0.5487508", "0.5486482", "0.54819703", "0.5428304", "0.5425333", "0.5424771", "0.54242617", "0.54221", "0.54200196", "0.54200083", "0.54200083", "0.54200083", "0.54200083", "0.54200083", "0.54200083", "0.54200083", "0.54166275", "0.5412505", "0.5402556", "0.5402556", "0.5402556", "0.5402556", "0.5402556", "0.5401677", "0.5401677", "0.5401677", "0.53966194", "0.5392299", "0.5388597", "0.5382396", "0.5381838", "0.5379701", "0.53760386", "0.53703535", "0.5364669", "0.536046", "0.536046", "0.536046", "0.536046", "0.5356492", "0.53535", "0.5350789", "0.5350789", "0.5350789", "0.5350789", "0.5350789", "0.5350789", "0.5350789", "0.5350789", "0.5350789", "0.5346961", "0.5332209", "0.5329789", "0.532894", "0.5324063", "0.53059447", "0.5303471", "0.53010607", "0.53010607", "0.53010607", "0.53010607", "0.53010607", "0.53010607", "0.5300069", "0.5300069", "0.5300069", "0.5292767", "0.52863604", "0.5283752", "0.52765393", "0.52738017", "0.52707076", "0.5262212", "0.52578354", "0.52567464", "0.5255848", "0.5251862", "0.5250515", "0.5248778", "0.5248305", "0.5247657" ]
0.73202527
0
Sets the skew of the Y axis of the shape.
public void setSkewY(double aValue) { if(aValue==getSkewY()) return; repaint(); firePropertyChange("SkewY", getRSS().skewY, getRSS().skewY = aValue, -1); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "default void setY(double y)\n {\n getAxis().setY(y);\n }", "public void setY(double y)\r\n\t{\t\r\n\t\tvirtualDxfPoint.setTransformationY(y);\r\n\t\tAnchor.setY(y);\r\n\t}", "public void setY(double value) {\n origin.setY(value);\n }", "public double getSkewY() { return _rss==null? 0 : _rss.skewY; }", "public void setY(double value) {\n this.y = value;\n }", "public void SetY2()\n\t{\n\t\tdouble h;\n\t\th = Math.pow(this.length, 2) - Math.pow((this.length/2), 2);\n\t\th = Math.sqrt(h);\n\t\tthis.y[2] = this.y[0] - h;\n\t}", "public Builder setY(double value) {\n bitField0_ |= 0x00000020;\n y_ = value;\n onChanged();\n return this;\n }", "public Builder setY(double value) {\n bitField0_ |= 0x00000020;\n y_ = value;\n onChanged();\n return this;\n }", "public Builder setY(double value) {\n bitField0_ |= 0x00000004;\n y_ = value;\n onChanged();\n return this;\n }", "public Builder setY(double value) {\n bitField0_ |= 0x00000020;\n y_ = value;\n onChanged();\n return this;\n }", "public void setY(double point) {\n this.y = point;\n }", "public Builder setY(double value) {\n bitField0_ |= 0x00000008;\n y_ = value;\n onChanged();\n return this;\n }", "public Builder setY(double value) {\n bitField0_ |= 0x00000010;\n y_ = value;\n onChanged();\n return this;\n }", "public Builder setY(double value) {\n bitField0_ |= 0x00000010;\n y_ = value;\n onChanged();\n return this;\n }", "public void setY(double y) {\n this.y = y;\n }", "public void setY(double y) {\n this.y = y;\n }", "public void setY(double y) {\n this.y = y;\n }", "public void setY(double pY) {\n mY = pY;\n }", "public Builder setY(double value) {\n bitField0_ |= 0x00001000;\n y_ = value;\n onChanged();\n return this;\n }", "public void setY(double y) {\n this.y = y;\r\n }", "public void setY(double y)\n {\n this.y = y;\n }", "public void setY(double y){\n this.y = y;\n }", "public void setY(double y){\n this.y = y;\n }", "public void setY(double y) {\n\t\tthis.y = y;\n\t}", "public void setY(double y)\n\t{\n\t\tthis.y = y;\n\t}", "public void setY(double val) {\r\n\t\t this.yCoord = val;\r\n\t }", "public void setSkewXY(double skx, double sky) { setSkewX(skx); setSkewY(sky); }", "public Builder setY(float value) {\n \n y_ = value;\n onChanged();\n return this;\n }", "public Builder setY(float value) {\n \n y_ = value;\n onChanged();\n return this;\n }", "public Builder setY(float value) {\n \n y_ = value;\n onChanged();\n return this;\n }", "public void setY(Double y) {\n\t\tthis.y = y;\n\t}", "public final Point3D setY(double y)\n {\n m_jso.setY(y);\n\n return this;\n }", "public void setY(Double y);", "public void setY(double newY) {\r\n y = newY;\r\n }", "public void setY(int value) {\n this.y = value;\n }", "public Builder setY(int value) {\n bitField0_ |= 0x00000002;\n y_ = value;\n onChanged();\n return this;\n }", "public void setScaleY(double scaleY) {\n\t\tpointTransform.translate(pivotPoint.getX(),pivotPoint.getY());\n\t\tpointTransform.scale(1.0, 1.0/this.scaleY);\n\t\tthis.scaleY = scaleY;\n\t\tpointTransform.scale(1.0, scaleY);\n\t\tpointTransform.translate(-pivotPoint.getX(),-pivotPoint.getY());\n\t}", "public void setYCoordinates(double newY) { this.yCoordinates = newY; }", "public Builder setY(int value) {\n bitField0_ |= 0x00000004;\n y_ = value;\n onChanged();\n return this;\n }", "public Builder setY(int value) {\n bitField0_ |= 0x00000004;\n y_ = value;\n onChanged();\n return this;\n }", "public Builder setY(int value) {\n bitField0_ |= 0x00000004;\n y_ = value;\n onChanged();\n return this;\n }", "public Builder setY(int value) {\n bitField0_ |= 0x00000008;\n y_ = value;\n onChanged();\n return this;\n }", "public void setY(double y)\n\t\t{\n\t\t this.y[0] = y;\n\t\t}", "public Builder setY(godot.wire.Wire.Vector2 value) {\n if (yBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n y_ = value;\n onChanged();\n } else {\n yBuilder_.setMessage(value);\n }\n\n return this;\n }", "public void setUpperRightY(float value)\n {\n rectArray.set(3, new COSFloat( value ) );\n }", "private void setY(long value) {\n bitField0_ |= 0x00000002;\n y_ = value;\n }", "void setY(int newY) {\n this.yPos = newY;\n }", "public void setStandardY(double y)\n {\n standardy=y; \n }", "void setY(double y){\r\n\t\tthis.y=y;\r\n\t}", "public void setY(int newY)\n\t{\n\t\ty+=newY;\n\t\tboundingBox = new Rectangle(x,y,width,height);\n\t}", "public void setY(int ys)\r\n\t{\r\n\t\ty = ys;\r\n\t}", "public void setY( double Y)\r\n {\r\n curY = Y;\r\n }", "void setY(final Number y) {\n this.yCoordinate = y;\n }", "@Override\n\tpublic void setY(int y) {\n\t\tyPos = y;\n\t}", "public void setY(int y) {\n\tbaseYCoord = y;\n}", "public Builder setY(float value) {\n bitField0_ |= 0x00000002;\n y_ = value;\n onChanged();\n return this;\n }", "public Builder setY(float value) {\n bitField0_ |= 0x00000002;\n y_ = value;\n onChanged();\n return this;\n }", "public void setY(int theY)\r\n {\r\n y = theY;\r\n }", "public Builder setPositionY(double value) {\n bitField0_ |= 0x00000008;\n positionY_ = value;\n onChanged();\n return this;\n }", "public void setY(byte[] value) {\n this.y = ((byte[]) value);\n }", "public void setYSize(int ySize) {\n\t\tif (ySize < 0) {\n\t\t\tSystem.out.println(\"ySize should be positive! It is set to \" + Y_SIZE + \".\");\n\t\t\tySize = Y_SIZE;\n\t\t}\n\t\tthis.ySize = ySize;\n\n\t\t// To update the panel with new values if necessary\n\t\tthis.setNumRabbits(this.getNumRabbits());\n\n\t\tupdatePanel();\n\t}", "void setY(int y) {\n position = position.setY(y);\n }", "public void setScaleY(int scaleY) {\n\t\tthis.scaleY = scaleY;\n\t}", "public void setY(int y) {\n\t\tthis.Y = y;\n\t}", "public Builder setPositionY(double value) {\n bitField0_ |= 0x00000010;\n positionY_ = value;\n onChanged();\n return this;\n }", "public DynamicModelPart setSizeY(int[] sizeY) {\n this.sizeY = sizeY;\n return this;\n }", "public FractalTrace setY2(double value) throws ParameterOutOfRangeException\n {\n\t\tif(value > 50.00 || value < -50.00)\n\t {\n\t throw new ParameterOutOfRangeException(value, -50.00, 50.00);\n\t }\n\n m_Y2 = value;\n setProperty(\"Y2\", value);\n return this;\n }", "public void setY(int y) {\n this.y = y;\n }", "public void setY(int y) {\n this.y = y;\n }", "public void setY(int y) {\n this.y = y;\n }", "public Builder setPositionY(double value) {\n bitField0_ |= 0x00000080;\n positionY_ = value;\n onChanged();\n return this;\n }", "public void setY(int y){\r\n\t\tthis.y = y;\r\n\t}", "public void setY(int y) {\r\n\t\tthis.y = y;\r\n\t}", "public void setY(int y) {\r\n\t\tthis.y = y;\r\n\t}", "public void setY(int y) {\r\n\t\tthis.y = y;\r\n\t}", "public void setY(int y) {\r\n\t\tthis.y = y;\r\n\t}", "public DynamicModelPart setY(float[] y) {\n this.y = y;\n return this;\n }", "public void setY(int y) {\n this.y = y;\r\n }", "public void setY(int y)\n\t{\n\t\tthis.y = y;\t\t\t\t\t\t\t\t\t\t\t\t\t// Update point's y-coordinate \n\t}", "public void setY( int y ) {\n\t\t//not checking if y is valid because that depends on the coordinate system\n\t\tthis.y = y;\n\t}", "public Vector4d setY(double y) {\n\t\tthis.y = y;\n\t\treturn this;\n\t}", "public PlotPosition setY( double y )\n {\n return setY( y, 1 );\n }", "public void setY(final int y) {\n\n this.y = y;\n }", "public void setYPosition(double y)\n\t{\n\t\tthis.yPosition = y;\n\t}", "public void setY(int value)\n\t{\n\t\tgetWorldPosition().setY(value);\n\t}", "public void setY(int y)\n {\n this.y = y;\n }", "void setY(int y) {\n this.y = y;\n }", "public void randomY() {\r\n\t\tdouble randomDub = Math.random();\r\n\t\tint randomIntY = (int)randomDub*4;\r\n\t\tthis.ycoord = randomIntY;\r\n\t}", "public void setY(int newY)\r\n {\r\n yCoord = newY;\r\n }", "public void setY(double y) throws IllegalArgumentException {\n\t\tif (!isValidY(y)) {\n\t\t\tthrow new IllegalArgumentException();\n\t\t}\n\t\tthis.y = y;\n\t}", "public void setY(int y) {\n\t\tthis.y = y;\n\t}", "public void setY(int y) {\n\t\tthis.y = y;\n\t}", "public void setY(int y) {\n\t\tthis.y = y;\n\t}", "public void setY(int y) {\n\t\tthis.y = y;\n\t}", "public void setyPos(int yPos) {\r\n this.yPos = yPos;\r\n }", "public final MotionUpdateEvent setY(double y) {\n pos.setY(y);\n return this;\n }", "public void setY(int y){\n this.y = y;\n }", "public void setY(int y){\n this.y = y;\n }", "public void setY(int y){\n this.y = y;\n }", "@Test\r\n public void testSetYAxis() {\r\n System.out.println(\"SetYAxis\");\r\n String yAxis = \"\";\r\n Graph instance = new Graph();\r\n instance.SetYAxis(yAxis);\r\n // TODO review the generated test code and remove the default call to fail.\r\n fail(\"The test case is a prototype.\");\r\n }" ]
[ "0.6271652", "0.61953515", "0.61037165", "0.6101868", "0.6091323", "0.5970253", "0.59533066", "0.59533066", "0.5951255", "0.5951005", "0.5938291", "0.59322625", "0.59251136", "0.5924725", "0.5914607", "0.5914607", "0.5914607", "0.5910861", "0.59072316", "0.5892905", "0.5878643", "0.5849129", "0.5849129", "0.58446527", "0.58114725", "0.5766976", "0.57282424", "0.5716108", "0.5716108", "0.5716108", "0.57070464", "0.5705392", "0.5703187", "0.5693589", "0.56873053", "0.566795", "0.56657314", "0.5664752", "0.56601375", "0.56601375", "0.56601375", "0.56292474", "0.5614323", "0.56069994", "0.560622", "0.56052756", "0.559916", "0.5594661", "0.55933917", "0.5591555", "0.5589183", "0.55832326", "0.55805755", "0.5574471", "0.55726916", "0.5572079", "0.5572079", "0.5558576", "0.555617", "0.5547447", "0.5538486", "0.5532361", "0.55298585", "0.5524811", "0.5512715", "0.55093783", "0.5506256", "0.5502007", "0.5502007", "0.5502007", "0.54952854", "0.54891646", "0.5487333", "0.5487333", "0.5487333", "0.5487333", "0.5477294", "0.547623", "0.54730433", "0.5462036", "0.5458759", "0.545471", "0.5453299", "0.54519933", "0.54416275", "0.54409647", "0.5433732", "0.5423214", "0.5417983", "0.5415033", "0.5414383", "0.5414383", "0.5414383", "0.5414383", "0.54110825", "0.54086316", "0.5395165", "0.5395165", "0.5395165", "0.53874075" ]
0.64559454
0
Sets the skew of the X and Y axis.
public void setSkewXY(double skx, double sky) { setSkewX(skx); setSkewY(sky); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setSkewX(double aValue)\n{\n if(aValue==getSkewX()) return;\n repaint();\n firePropertyChange(\"SkewX\", getRSS().skewX, getRSS().skewX = aValue, -1);\n}", "public void setSkewY(double aValue)\n{\n if(aValue==getSkewY()) return;\n repaint();\n firePropertyChange(\"SkewY\", getRSS().skewY, getRSS().skewY = aValue, -1);\n}", "@Override\r\n\tprotected void onSetInitialValue(final IEntity pEntity, final float pSkewX) {\r\n\t\tpEntity.setSkewX(pSkewX);\r\n\t}", "public void setFrameSize(double aWidth, double aHeight)\n{\n // If shape not rotated, scaled or skewed, just set and return\n if(!isRSS()) {\n if(_width<0) { setX(_x + (aWidth+_width)); aWidth = -aWidth; }\n if(_height<0) { setY(_y + (aHeight+_height)); aHeight = -aHeight; }\n setSize(aWidth, aHeight); return;\n }\n \n // Convert X & Y axis to parent coords\n RMSize x_axis = convertVectorToShape(new RMSize(_width, 0), _parent);\n RMSize y_axis = convertVectorToShape(new RMSize(0, _height), _parent);\n\n // Scale widths of X & Y axes in parent coords by ratio of NewWidth/OldWidth\n double sizeByRatio1 = Math.abs(aWidth)/(Math.abs(x_axis.width) + Math.abs(y_axis.width));\n x_axis.width *= sizeByRatio1; y_axis.width *= sizeByRatio1;\n \n // Scale heights of X & Y axes in parent coords by ratio of NewHeight/OldHeight\n double sizeByRatio2 = Math.abs(aHeight)/(Math.abs(x_axis.height) + Math.abs(y_axis.height));\n x_axis.height *= sizeByRatio2; y_axis.height *= sizeByRatio2;\n\n // Cache current bounds origin (this shouldn't change)\n RMPoint origin = getFrameXY();\n \n // Reset current Skew and convert X & Y axis from parent coords\n setSkewXY(0, 0);\n convertVectorFromShape(x_axis, _parent);\n convertVectorFromShape(y_axis, _parent);\n\n // Set the size to compensate for the skew\n setSize(x_axis.width, y_axis.height);\n\n // Calculate new skew angles (or roll, if width or height is zero)\n if(width()==0)\n setRoll(getRoll() - Math.toDegrees(Math.atan(y_axis.width/y_axis.height)));\n else if(height()==0)\n setRoll(getRoll() - Math.toDegrees(Math.atan(x_axis.height/x_axis.width)));\n else {\n setSkewX(Math.toDegrees(Math.atan(x_axis.height/x_axis.width)));\n setSkewY(Math.toDegrees(Math.atan(y_axis.width/y_axis.height)));\n }\n\n // Reset original bounds origin (it may have been effected by skew changes)\n setFrameXY(origin);\n}", "public double getSkewX() { return _rss==null? 0 : _rss.skewX; }", "public double getSkewY() { return _rss==null? 0 : _rss.skewY; }", "public SkewXModifier(final float pDuration, final float pFromSkewX, final float pToSkewX) {\r\n\t\tthis(pDuration, pFromSkewX, pToSkewX, null, EaseLinear.getInstance());\r\n\t}", "public void setXYP(double anX, double aY)\n{\n // If rotated-scaled-skewd, get XY in parent coords and set XY as an offset from parent\n if(isRSS()) {\n RMPoint p = getXYP();\n setXY(_x + anX - p.x, _y + aY - p.y);\n }\n\n // If not rotated-scaled-skewed, just set x/y (adjusted if width/height are negative)\n else setXY(_width<0? anX-_width : anX, _height<0? aY-_height : aY); \n}", "public void set_skew_cmp(float value) {\n setFloatElement(offsetBits_skew_cmp(), 32, value);\n }", "void setXandY(double x, double y){\r\n\t\tthis.x=x;\r\n\t\tthis.y=y;\r\n\t}", "public void setShift(int x, int y){\n xShift = x;\n yShift = y;\n }", "public void set(double x, double y) {\n \n _x = x;\n _y = y;\n \n }", "public void setW(double w) {\n this.w = w;\n }", "public void setX() {\n m_frontLeft.setDesiredState(new SwerveModuleState(0, Rotation2d.fromDegrees(45)));\n m_frontRight.setDesiredState(new SwerveModuleState(0, Rotation2d.fromDegrees(-45)));\n m_rearLeft.setDesiredState(new SwerveModuleState(0, Rotation2d.fromDegrees(-45)));\n m_rearRight.setDesiredState(new SwerveModuleState(0, Rotation2d.fromDegrees(45)));\n }", "public void setX(double value) {\n origin.setX(value);\n }", "public void setOrigin(){\n // draw X-axis\n graphics2D.draw(new Line2D.Double(leftMiddle, rightMiddle));\n\n // draw string \"+X\" and \"-X\"\n graphics2D.drawString(\"+X\", (int) rightMiddle.getX() - 10, (int) rightMiddle.getY() - 5);\n graphics2D.drawString(\"-X\", (int) leftMiddle.getX() + 10, (int) leftMiddle.getY() + 10);\n\n // draw Y-axis\n graphics2D.draw(new Line2D.Double(topMiddle, bottomMiddle));\n\n // draw string \"+Y\" and \"-Y\"\n graphics2D.drawString(\"+Y\", (int) topMiddle.getX() + 5, (int) topMiddle.getY() + 10);\n graphics2D.drawString(\"-Y\", (int) bottomMiddle.getX() - 15, (int) bottomMiddle.getY());\n\n }", "public void drawSkewedScale()\n\t{\n\ttextFont(font, 12);\n\t\n\tDecimalFormat df=new DecimalFormat(\"#.##\");\n\ttextAlign(CENTER, TOP);\n\tint sw=150;\n\tint sh=10;\n\tint x=width-sw-15;\n\tint y=(int)(END_Y+sh*1.7);\n\tscaleBox=new Rectangle2D.Float(x, y, sw, sh);\n\tstrokeWeight(1);\n\t\n\tCell hc=null;\n\tCell finalhc=null;\n\tfor(int i=0;i<hoveredCells.size();i++)\n\t\t{\n\t\thc=hoveredCells.get(i);\n\t\tif(hc.level==min(levelThreshold, minHoveredLevel))\n\t\t\tfinalhc=hc;\n\t\t}\n\thc=finalhc;\n\t\n\tboolean refDrawn=false;\n\tdouble jump0=(255-(0/(float)sw)*255);\n\tdouble jump1=(255-(0/(float)sw)*255);\n\tdouble jump=Math.ceil(jump1-jump0)+2;\n\t\n\t\n\tdouble mid=sw*0.5;//for median\n\tif(whiteValue==MEAN)\t\n\t\tmid=sw*(expData.average-expData.min)/(expData.max-expData.min);\n\t\n\tdouble jumpBelow=Math.ceil(255/(255*mid/sw))+0;\n\tdouble jumpAbove=Math.ceil(255/Math.abs(255*mid/sw-255))+0;\n\t\n\t//Draw legend\n\tstroke(200,200,200);\n\tfill(200);\n\t\n\tline(x,y,x,y-3);\n\tif(whiteValue==MEAN)\t\n\t\t{\n\t\t//text(\"min\", x, y+sh+3);\n\t\ttext(df.format(expData.min), x, y-12);\n\t\t}\n\telse if(whiteValue==MEDIAN)\ttext(\"0\", x, y-12);\n\t\n\tline((int)(x+mid),y+sh,(int)(x+mid),y-3);\n\tif(whiteValue==MEAN)\t\t\n\t\t{\n\t\t//text(\"avg\", (int)(x+mid), y+sh+3);\n\t\ttext(df.format(expData.average), (int)(x+mid), y-12);\n\t\t}\n\telse if(whiteValue==MEDIAN)\ttext(\"50\", (int)(x+mid), y-12);\n\t\n\tline(x+sw-1,y+sh,x+sw-1,y-3);\n\tif(whiteValue==MEAN)\t\t\n\t\t{\n\t\t//text(\"max\", x+sw-1, y+sh+3);\n\t\ttext(df.format(expData.max), x+sw-1, y-12);\n\t\t}\n\telse if(whiteValue==MEDIAN)\ttext(\"100\", x+sw-1, y-12);\n\t\n\tline((int)(x+mid*0.5),y+sh,(int)(x+mid*0.5),y-2);\n\tline((int)(x+mid*2),y+sh,(int)(x+mid*2),y-2);\n\t\t\t\t\n\tfor(int i=0;i<sw;i++)\n\t\t{\n\t\tint h=0;\n\t\tboolean drawReference=false;\n\t\tswitch(COLOR_MODE)\n\t\t\t{\n\t\t\tcase COLOR_EXPRESSION:\n\t\t\t\tif(i>mid)\n\t\t\t\t\t{\n\t\t\t\t\th=(int)Math.round(255-((i-mid)/Math.abs(sw-mid)*255));\n\t\t\t\t\tstroke(255,h,h);\n\t\t\t\t\tif(hc!=null && hc.color.get(selectedCol).getRed()==255 && Math.abs(hc.color.get(selectedCol).getBlue()-h)<=jumpAbove)\n\t\t\t\t\t\tdrawReference=true;\n\t\t\t\t\t}\n\t\t\t\telse\t\n\t\t\t\t\t{\n\t\t\t\t\th=(int)Math.round(255-(Math.abs(i-mid)/Math.abs(sw-mid))*255);\n\t\t\t\t\tstroke(h,h,255);\n\t\t\t\t\tif(hc!=null && hc.color.get(selectedCol).getBlue()==255 && Math.abs(hc.color.get(selectedCol).getRed()-h)<=jumpBelow)\n\t\t\t\t\t\tdrawReference=true;\n\t\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase COLOR_DEVIATION:\n\t\t\t\th=(int)Math.round(255-(i/(float)sw)*255);\n\t\t\t\tstroke(h,255,h);\n\t\t\t\tif(hc!=null && Math.abs(hc.color.get(selectedCol).getBlue()-h)<=jump)\n\t\t\t\t\tdrawReference=true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\tline(x+i,y,x+i,y+sh);\n\t\tif(drawReference && !refDrawn)\n\t\t\t{\n\t\t\tstroke(0);\n\t\t\tfill(0);\n\t\t\tline(x+i, y-2, x+i, y+sh+2);\n\t\t\tfill(255,200);\n\t\t\tnoStroke();\n\t\t\trect(x+i-10, y+sh, 20,15);\n\t\t\tfill(0);\n\t\t\tstroke(0);\n\t\t\tif(whiteValue==MEAN)\t\ttext(df.format(hc.expressionLevel.get(selectedCol)), x+i, y+sh+3);\n\t\t\telse if(whiteValue==MEDIAN)\ttext(df.format(expData.getQuantile(hc.expressionLevel.get(selectedCol), selectedCol)), x+i, y+sh+3);\n\t\t\trefDrawn=true;\n\t\t\t}\n\t\t}\n\tstroke(200,200,200);\n\tnoFill();\n\trect(x-1,y-1,sw+1,sh+1);\n\t\n\ttextFont(font, 14);\n\t\n\tnoStroke();\n\t}", "public void setStandardY(double y)\n {\n standardy=y; \n }", "private Mat skew(Mat imgSrc, Mat start) {\n //Set the mat to a standard size to make sure all images get the same size.\n Mat out = new Mat(MAT_WIDTH, MAT_HEIGHT, CvType.CV_8UC1);\n\n Point p1 = new Point(MAT_WIDTH, 0);\n Point p2 = new Point(0, 0);\n Point p3 = new Point(0, MAT_HEIGHT);\n Point p4 = new Point(MAT_WIDTH, MAT_HEIGHT);\n\n List<Point> points = Arrays.asList(p1, p2, p3, p4);\n Mat end = Converters.vector_Point2f_to_Mat(points);\n\n Mat perspectiveTransform = Imgproc.getPerspectiveTransform(start, end);\n Imgproc.warpPerspective(imgSrc, out, perspectiveTransform, new Size(MAT_WIDTH, MAT_HEIGHT), Imgproc.INTER_CUBIC);\n\n return out;\n }", "public void set(int x, int y, int width, int height, int rotation) {\n\t\tobox.set(x, y, width, height, rotation);\n\t}", "public void setYofX(double value) {\n\t\t\t\tthis.yofX = value;\n\t\t\t}", "public void setDirection() {\n\t\tdouble randomDirection = randGen.nextDouble();\n\t\tif (randomDirection < .25) {\n\t\t\tthis.xDirection = 1;\n\t\t\tthis.yDirection = -1;\n\t\t} else if (randomDirection < .5) {\n\t\t\tthis.xDirection = -1;\n\t\t\tthis.yDirection = -1;\n\t\t} else if (randomDirection < .75) {\n\t\t\tthis.xDirection = -1;\n\t\t\tthis.yDirection = 1;\n\t\t} else {\n\t\t\tthis.xDirection = 1;\n\t\t\tthis.yDirection = 1;\n\t\t}\n\t}", "public void setVectorW(double[] w) {\r\n this.w=w;\r\n }", "public void setW(int w) {\n\t\tthis.W = w;\n\t}", "public void setY(Double y);", "default void setX(double x)\n {\n getAxis().setX(x);\n }", "void setSmoothening(boolean smoothShading) {\n\t\t\tif (true)\n\t\t\t\treturn;\n\t\t\tsmooth = smoothShading;\n\t\t\tmaterial.setAttribute(CommonAttributes.POLYGON_SHADER + \".\"\n\t\t\t\t\t+ CommonAttributes.SMOOTH_SHADING, smooth);\n\t\t}", "public Vector4d set(double x, double y, double z, double w) {\n\t\tthis.x = x; this.y = y; this.z = z; this.w = w;\n\t\treturn this;\n\t}", "public void setWindow(Rectangle.Double w) {\n this.setWindow(w.x, w.y, w.width, w.height);\n }", "public void setY(double y){\n this.y = y;\n }", "public void setY(double y){\n this.y = y;\n }", "public Pose() {\n x = 0;\n y = 0;\n heading = 90;\n originalHeading = 90;\n }", "public void setPosicion(double x, double y) {\n\t\tthis.x = x;\n\t\tthis.y = y;\n\t}", "public void setRescale(double x, double y) {\n scaleX = x;\n scaleY = y;\n System.out.println(\"Rescale \" + x + \" \" + y);\n }", "@Override\n\tpublic void setScatterTarget(){\n\t\tthis.setTarget(22*Constants.SQUARE_SIDE,0); \n\t}", "public void setY(int y) { this.y=y; }", "public void set(double x, double y, double width, double height) {\n setRect(x, y, width, height);\n }", "public void setY(double y) {\n this.y = y;\r\n }", "public void setY(double y)\n {\n this.y = y;\n }", "public void setSijainti(int x, int y) {\n this.x = x;\n this.y = y;\n }", "public void set(final float x, final float y, final float z, final float w)\n {\n this.x = x;\n this.y = y;\n this.z = z;\n this.w = w;\n }", "public void setStroke(Stroke stroke);", "public void change_sword_pos() {\n\t\tif (!heroi.isArmado())\n\t\t\tlabirinto.setLabCell(espada.getX_coord(), espada.getY_coord(), 'E');\n\t}", "@Override\n public void moveTo(double x, double y) {\n graphicsEnvironmentImpl.moveTo(canvas, x, y);\n }", "void setY(double y){\r\n\t\tthis.y=y;\r\n\t}", "public void setXY(double anX, double aY) { setX(anX); setY(aY); }", "public void setCardPos(double x, double y ){\r\n setX(x);\r\n setY(y);\r\n }", "public void setWestSide(String value) {\n setAttributeInternal(WESTSIDE, value);\n }", "public void setX(double val) {\r\n\t\t this.xCoord = val;\r\n\t }", "public void setSemiMajorAxis(double value) {\n this.semiMajorAxis = value;\n }", "@Override\n\tpublic void SetCoord(double x, double y) {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "public void setY(double y) {\n this.y = y;\n }", "public void setY(double y) {\n this.y = y;\n }", "public void setY(double y) {\n this.y = y;\n }", "public void set(int x, int y)\r\n\t{\r\n\t\tthis.x = x;\r\n\t\tthis.y = y;\r\n\t}", "public void setY(int theY)\r\n {\r\n y = theY;\r\n }", "public void setY(int ys)\r\n\t{\r\n\t\ty = ys;\r\n\t}", "public void setDrawScale(float x, float y) {\n \tdrawScale.set(x,y);\n }", "@Override\n public void setTurtlePosition(double xPosition, double yPosition) {\n screenCreator.setTurtlePosition(xPosition,yPosition);\n }", "public void setY(int y){\n this.y = y;\n }", "public void setY(int y){\n this.y = y;\n }", "public void setY(int y){\n this.y = y;\n }", "public Vector4d setW(double w) {\n\t\tthis.w = w;\n\t\treturn this;\n\t}", "public void setX(double x)\r\n\t{\t\r\n\t\tvirtualDxfPoint.setTransformationX(x);\r\n\t\tAnchor.setX(x);\r\n\t}", "public Vector4d set(Vector3d v, double w) {\n\t\tx = v.x; y = v.y; z = v.z; this.w = w;\n\t\treturn this;\n\t}", "public void setStuff(int x, int y, int w, int h)\n {\n\t xPos = x;\n\t yPos = y;\n\t width = w;\n\t height = h;\n }", "public void setX(double value) {\n this.x = value;\n }", "public Skull(int positionX, int positionY) {\n\t\tsuper(positionX, positionY);\n\t\tsuper.setWidth(width);\n\t\tsuper.setheight(height);\n\t\tloadPattern();\n\t\tcurrentPattern = walkPattern;\n\t}", "Box(float x, float y, float w, float h, float strokeWeight) {\r\n setDimensions(x, y, w, h);\r\n this.strokeWeight = strokeWeight;\r\n boxColour = Colour.WHITE;\r\n }", "public void setY(int y) {\n this.y = y;\r\n }", "private static void setUniverse(double R) {\n StdDraw.setXscale((-R), (R));\n StdDraw.setYscale((-R), (R));\n }", "public void setCoordinate(int PointX, int PointY)\n {\n rectangle.set(PointX - rectangle.width()/2, PointY - rectangle.height()/2, PointX + rectangle.width()/2,PointY + rectangle.height()/2);\n\n //hitBox(this.rectangle);\n }", "@Override\n\tpublic LSystemBuilder setOrigin(double x, double y) {\n\t\tthis.origin = new Vector2D(x, y);\n\t\treturn this;\n\t}", "public void setX(double point) {\n this.x = point;\n }", "public void set(Transform transform) {\n \tif(transform == null){ // TODO: Quick workaround for wap3 cars problem\n \t\tsetIdentity();\n \t}\n \telse {\n \t\tSystem.arraycopy(transform.matrix, 0, this.matrix, 0, 16);\n \t}\n }", "@Override\n\tpublic void setTow(float tow) {\n\t\t\n\t}", "public Snowman(int theX, int theY)\n { x = theX;\n y = theY;\n }", "void setY(int y) {\n this.y = y;\n }", "@Override\n\tpublic void setOrientation(Vector o)\n\t{\n\t\tsuper.setOrientation(o);\n\t\tif (position != null && normal != null)\n\t\t{\n\t\t\toX = o.dup().norm();\n\t\t\toY = normal.cross(oX).norm();\n\t\t\toX = oY.cross(normal).norm();\n\t\t}\n\t}", "public void setY(int y)\n {\n this.y = y;\n }", "public void setPoint(int x, int y) {\r\n this.x = x;\r\n this.y = y;\r\n }", "public void shear(double shx, double shy)\r\n\t{\r\n\t\t// System.out.println(\"shear\");\r\n\t}", "public void setY(double y)\n\t{\n\t\tthis.y = y;\n\t}", "@Override\n\tpublic void setPos(int x, int y) {\n\t\txPos = x;\n\t\tyPos = y;\n\t}", "public void resetY() {this.startY = 11.3f;}", "public void setX(double value) {\n\t\t\t\tthis.x = value;\n\t\t\t}", "public void setX(double x) {\n this.x = x;\r\n }", "public void setY(double y)\r\n\t{\t\r\n\t\tvirtualDxfPoint.setTransformationY(y);\r\n\t\tAnchor.setY(y);\r\n\t}", "void moveToPoint(float x, float y) {\n _x = x;\n _y = y;\n }", "public void setX(double x){\n this.x = x;\n }", "public void setX(double x){\n this.x = x;\n }", "@Override\n public void setSetpoint(double setpoint) {\n if (getController() != null) {\n getController().setSetpoint(Utilities.clip(setpoint, Constants.Hood.MIN_ANGLE, Constants.Hood.MAX_ANGLE));\n }\n super.setSetpoint(Utilities.clip(setpoint, Constants.Hood.MIN_ANGLE, Constants.Hood.MAX_ANGLE));\n }", "public double getSkew() {\n if (isReal) {\n return get(\"ts\");\n } else {\n return simTs.getDouble(0.0);\n }\n }", "default void set(Vector3DReadOnly axis, double angle)\n {\n getAxis().set(axis);\n setAngle(angle);\n }", "public void setY(int y) {\n this.y = y;\n }", "public void setY(int y) {\n this.y = y;\n }", "public void setY(int y) {\n this.y = y;\n }", "private void setXscale() {\n\t}", "public void setDriveCoords(int x, int y) {\n this.drive_control.driveJoyStick(x, y);\n }", "public void setY( double Y)\r\n {\r\n curY = Y;\r\n }" ]
[ "0.6283452", "0.6065545", "0.5639572", "0.54128444", "0.536763", "0.4985411", "0.47818723", "0.47728023", "0.4637955", "0.45750406", "0.4528992", "0.448267", "0.44055787", "0.44007215", "0.43538067", "0.43141985", "0.43131456", "0.42405042", "0.42252517", "0.42171755", "0.42131585", "0.42092678", "0.4200507", "0.41947317", "0.41439202", "0.41321078", "0.41292217", "0.41218933", "0.41168183", "0.4113417", "0.4113417", "0.41100731", "0.41031617", "0.4089206", "0.40832826", "0.4082296", "0.407775", "0.4075041", "0.4072092", "0.40688583", "0.40483317", "0.40447536", "0.40354413", "0.4034737", "0.40329534", "0.40262154", "0.40260583", "0.4023797", "0.40195236", "0.4016484", "0.4007846", "0.40005416", "0.40005416", "0.40005416", "0.39905992", "0.399007", "0.39766014", "0.39746404", "0.39676082", "0.39674702", "0.39674702", "0.39674702", "0.39635476", "0.39624566", "0.39555612", "0.39542273", "0.39527154", "0.39497632", "0.39426342", "0.3938659", "0.39367095", "0.39316556", "0.3929688", "0.39279938", "0.3919978", "0.39164668", "0.3912352", "0.39106664", "0.390836", "0.39077196", "0.38984483", "0.38875952", "0.3883969", "0.38747868", "0.3874034", "0.3873315", "0.3873114", "0.38703498", "0.38685971", "0.3865459", "0.3865459", "0.38587618", "0.38575146", "0.38570583", "0.3855673", "0.3855673", "0.3855673", "0.38490498", "0.38482156", "0.3845424" ]
0.71092254
0
Returns whether the shape has been rotated, scaled or skewed (for efficiency).
public boolean isRSS() { return _rss!=null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean hasScaler();", "protected abstract boolean isShapeSimple();", "public boolean isShouldFillShape() {\n return this.shouldFillShape;\n }", "boolean hasTransform2DValue();", "@Override\n\tpublic boolean canResizeShape(IResizeShapeContext context) {\n\t\treturn false;\n\t}", "boolean isRealized();", "boolean hasImageByTransform();", "boolean hasTemperatureScalingCalibration();", "public boolean hasRotate() { return hasRotate; }", "public boolean isShapeMasked() {\n return this.shapeMasked;\n }", "public boolean isCalibrated()\n {\n return pntCalibration != null;\n }", "public boolean isCalibrated() {\n return ( clicked1!=null && clicked2!=null );\n }", "@Override\r\n public boolean isClef ()\r\n {\r\n return ShapeSet.Clefs.contains(getShape());\r\n }", "@Override\r\n public boolean isKnown ()\r\n {\r\n Shape shape = getShape();\r\n\r\n return (shape != null) && (shape != Shape.NOISE);\r\n }", "public boolean isReconstruction() {\n\t\treturn getShort(ADACDictionary.RECONSTRUCTED_SLICES) > 0;\n\t}", "public final boolean isTouching(Shape shape) {\n\t\t// TODO: write this function.\n\t\treturn false;\n\t}", "@Override\r\n public boolean isWellKnown ()\r\n {\r\n Shape shape = getShape();\r\n\r\n return (shape != null) && shape.isWellKnown();\r\n }", "public static boolean isSigned_skew_cmp() {\n return true;\n }", "public boolean isViewing() { RMShape p = getParent(); return p!=null && p.isViewing(); }", "public boolean isRotateTranslateScaleEnabled() {\r\n\t\treturn this.rotateTranslateScalable;\r\n\t}", "public boolean isSquare() {\r\n \tif (getLength() == getWidth()) {\r\n \t\treturn(true);\r\n \t} else {\r\n \t\treturn(false);\r\n \t}\r\n }", "public boolean isOrthogonal() {\n try {\n Matrix product = this.product(traspose(this));\n return this.isIdentity();\n }catch(Exception e) {\n System.out.println(\"Errore, nel traspose la matrice deve essere quadrata\");\n return false;\n }\n }", "boolean hasWidth();", "boolean hasWidth();", "boolean hasWidth();", "public boolean isOrientationCorrected() {\n\t\treturn orientationCorrection;\n\t}", "public boolean isRenderInsideShape() {\n return this.renderInsideShape;\n }", "boolean isCrouching();", "@Test\n public final void testIsOrientation() {\n boolean result = ship.isOrientation();\n assertTrue(result);\n this.ship.setOrientation(false);\n result = ship.isOrientation();\n assertFalse(result);\n }", "public boolean isBordered() {\n return mPolygonShapeSpec.hasBorder();\n }", "boolean hasSize();", "boolean hasSize();", "boolean hasSize();", "boolean hasSize();", "boolean hasBasis();", "public boolean isScalene () {\r\n\t\tif ((startSide1 != startSide2 && startSide1 != startSide3 && startSide2 != startSide3) && isTriangle () == true) {\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\telse return false;\r\n\t}", "public boolean rotationNeedsUpdate() {\n int lastOrientation = getLastOrientation();\n int oldRotation = getRotation();\n return oldRotation != this.mDisplayRotation.rotationForOrientation(lastOrientation, oldRotation);\n }", "public boolean isRotateTranslateScaleEnabled() {\r\n\t\treturn isRotateTranslateScaleEnabled;\r\n\t}", "public boolean isOrthogonal() {\n\t\treturn isHorizontal() || isVertical();\n\t}", "public boolean hasScale() { return hasScale; }", "public boolean hasImageByTransform() {\n return ((bitField0_ & 0x00001000) == 0x00001000);\n }", "public boolean intersects(Shape otherShape)\n {\n if (rotation == 0.0 && otherShape.rotation == 0.0)\n {\n return RectF.intersects(getBounds(), otherShape.getBounds());\n }\n else\n {\n updateRotatedCorners();\n otherShape.updateRotatedCorners();\n if (checkOutside(rotatedCorners, otherShape.rotatedCorners))\n {\n return false;\n }\n if (checkOutside(otherShape.rotatedCorners, rotatedCorners))\n {\n return false;\n }\n return true;\n }\n }", "public boolean offScreenShapeResize(Rectangle shape)\n{\n boolean result=false;\n\n if ( shape.getCenterX() >= getSize().width\n || shape.getCenterY() >= getSize().height ||\n shape.getCenterX() + shape.getWidth() < 0 ||\n shape.getCenterY() + shape.getHeight()/2 < 0 )\n { \n //When the shape is offscreen then resize canvas\n resizeCanvas(this.getWidth() + (int) shape.getWidth()*2,\n this.getHeight() + (int) shape.getHeight()*2);\n\n result = true; /*shape is off screen*/\n }//end if\n\n return result;\n}", "public boolean isRotatable() {\n return rotatable;\n }", "boolean hasQuatValue();", "public static /* synthetic */ boolean m125947g(Topic topic) {\n return topic.headerCard.superTopic.question.has_answered;\n }", "public boolean isSquare()\n {\n return width == height;\n }", "public boolean isDrawn();", "public boolean isSetWidth()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().find_attribute_user(WIDTH$20) != null;\n }\n }", "boolean hasRect();", "public static boolean hasRotated(MutableVector first, MutableVector second) {\n return first.getY() != second.getY() || first.getX() != second.getX();\n }", "protected static boolean outOfFrame(@NotNull Shape shape) {\n\t\tif (shape.position.x + shape.size.x / 2 < Camera.getPosition().x)\n\t\t\treturn (true);\n\t\tif (shape.position.x - shape.size.x / 2 > Display.getWidth() + Camera.getPosition().x)\n\t\t\treturn (true);\n\t\tif (shape.position.y - shape.size.y / 2 > Display.getHeight() + Camera.getPosition().y)\n\t\t\treturn (true);\n\t\treturn shape.position.y + shape.size.y / 2 < Camera.getPosition().y;\n\t}", "public boolean\ngetShowBoundingShape()\n{\n\treturn (this.showBoundingShape);\n}", "public boolean isAxisPainted() {\r\n return axisPainted;\r\n }", "public boolean isHorizontal() {\n\t\treturn ( getSlope() == 0.0d );\n\t}", "public boolean hasChanges() {\n return Math.abs(this.x) > 1.0E-5f || Math.abs(this.y) > 1.0E-5f || Math.abs(this.scale - this.minimumScale) > 1.0E-5f || Math.abs(this.rotation) > 1.0E-5f || Math.abs(this.orientation) > 1.0E-5f;\n }", "public static boolean isArray_skew_cmp() {\n return false;\n }", "boolean hasMetricTreatment();", "boolean isWasLayouting();", "private boolean isEmpty(RMShape aShape)\n{\n // If shape timeline is non-null and not-empty, return false\n if(aShape.getTimeline()!=null && !aShape.getTimeline().isEmpty())\n return false;\n \n // Iterate over children and return false if any are not empty\n for(int i=0, iMax=aShape.getChildCount(); i<iMax; i++)\n if(!isEmpty(aShape.getChild(i)))\n return false;\n \n // Return true since shape anim and children are all empty\n return true;\n}", "private boolean hasTHead() {\r\n\t\treturn null != this.getTHead();\r\n\t}", "public boolean isCorrectSize(int height, int width);", "public boolean isSquare() {\n return (getRowDimension() == getColumnDimension());\n }", "@Override\r\n public boolean isManualShape ()\r\n {\r\n return getGrade() == Evaluation.MANUAL;\r\n }", "public boolean isLandscape() {\n WindowManager wm = (WindowManager) context.getSystemService(Context.WINDOW_SERVICE);\n Display display = wm.getDefaultDisplay();\n return display.getWidth() > display.getHeight();\n }", "boolean hasTransformValue();", "public boolean isScaleAhead() {\r\n\t\treturn robotStartPos == scalePos;\r\n\t}", "boolean hasMosaicLayout();", "public boolean hasSize() {\n return sizeBuilder_ != null || size_ != null;\n }", "public boolean hasSize() {\n return sizeBuilder_ != null || size_ != null;\n }", "public boolean isDivided() {\r\n return(divideTriangle);\r\n }", "public static /* synthetic */ boolean m125750c(Topic topic) {\n return topic.headerCard != null;\n }", "public boolean hasRotatedBoard() {\n return hasRotatedBoard;\n }", "@java.lang.Override\n public boolean hasTemperatureScalingCalibration() {\n return calibratorCase_ == 5;\n }", "@java.lang.Override\n public boolean hasTemperatureScalingCalibration() {\n return calibratorCase_ == 5;\n }", "boolean hasSkin();", "boolean isDrawState()\n\t{\n\t\treturn !state.contains(0);\n\t}", "public final boolean isRealSize() {\r\n return zoom == ZOOM_REAL_SIZE;\r\n }", "boolean hasSide();", "public boolean getResized()\n {\n return resized;\n }", "private boolean isRectangleOrSquare(ShapeType type) {\n return type.equals(ShapeType.RECTANGLE) || type.equals(ShapeType.SQUARE);\n }", "public boolean isConvex() {\t\r\n\t\tboolean value = true;\r\n\t\t\r\n\t\t//if size = 3 and passed the isSimple condition then \r\n\t\t//it is a non-collinear polygon, aka Triangle,\r\n\t\t//which is convez\r\n\t\tif ( this.getSize() == 3) {\r\n\t\t\tif (this.isSimple() != true) {\r\n\t\t\t\treturn false;\r\n\t\t\t}//else\r\n\t\t\treturn true;\r\n\t\t} \r\n\t\tString zeroIndexOrientation = SimplePolygon.orientation(this.getVertex(0),\r\n\t\t\t\tthis.getVertex((0 + 1) % this.getSize()),\r\n\t\t\t\tthis.getVertex((1 + 1) % this.getSize()));\r\n\t\t\r\n\t\t\t//starting at index 1 not 0\r\n\t\t\tfor ( int i = 1; i < this.getSize(); i++) {\r\n\t\t\t//first point\r\n\t\t\tPoint2D.Double a = this.getVertex(i);\r\n\t\t\t\r\n\t\t\t//second point with respect to first point\r\n\t\t\tint j = (i+1) % this.getSize();\r\n\t\t\tPoint2D.Double b = this.getVertex(j);\r\n\t\t\t\r\n\t\t\t//third point with respect to second point, \r\n\t\t\t//which is with respect to first\r\n\t\t\tPoint2D.Double c = this.getVertex((j + 1) % this.getSize());\r\n\t\t\t\r\n\t\t\tif ( !SimplePolygon.orientation(a, b, c).equals(zeroIndexOrientation)) {\r\n\t\t\t\tvalue = false;\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn value; // TODO: replace this line with your code\r\n\t}", "public boolean isSetImgWidth() {\n return EncodingUtils.testBit(__isset_bitfield, __IMGWIDTH_ISSET_ID);\n }", "Boolean isOmitNorms();", "public boolean isAccessibilityComputationAreaFromShapeFile() {\n return accessibilityComputationAreaFromShapeFile;\n }", "boolean isDrawOutline(DrawContext dc, Object shape);", "@Override\r\n public boolean isShapeForbidden (Shape shape)\r\n {\r\n return (forbiddenShapes != null) && forbiddenShapes.contains(shape);\r\n }", "@java.lang.Override\n public boolean hasTransform2DValue() {\n return typeCase_ == 9;\n }", "boolean hasMetrics();", "boolean hasMetrics();", "@Override\n public boolean equals(Object o) {\n if (this == o) {\n return true;\n }\n if (o == null) {\n return false;\n }\n AbstractShape that = (AbstractShape) o;\n return Double.compare(that.x, x) == 0 &&\n Double.compare(that.y, y) == 0 &&\n Double.compare(that.w, w) == 0 &&\n Double.compare(that.h, h) == 0 &&\n Double.compare(that.r, r) == 0 &&\n Double.compare(that.g, g) == 0 &&\n Double.compare(that.b, b) == 0 &&\n name.equals(that.name);\n }", "private boolean isNxNShape() {\n return this.matrix.size() == this.n &&\n this.matrix.stream()\n .allMatch(row -> row.size() == this.n);\n }", "protected boolean calculateSize()\n\t{\n\t\tp_height = 0;\n\t\tfor (int r = 0; r < m_rows; r++)\n\t\t{\n\t\t\tp_height += m_rowHeight[r];\n\t\t\tif (m_rowHeight[r] > 0)\n\t\t\t\tp_height += m_rowGap;\n\t\t}\n\t\tp_height -= m_rowGap;\t//\tremove last\n\t\tp_width = 0;\n\t\tfor (int c = 0; c < m_cols; c++)\n\t\t{\n\t\t\tp_width += m_colWidth[c];\n\t\t\tif (m_colWidth[c] > 0)\n\t\t\t\tp_width += m_colGap;\n\t\t}\n\t\tp_width -= m_colGap;\t\t//\tremove last\n\t\treturn true;\n\t}", "public boolean hasImageByTransform() {\n return ((bitField0_ & 0x00000800) == 0x00000800);\n }", "boolean hasSignature();", "boolean hasSignature();", "private boolean isInCanvas() {\n\t\tif ((sens.getXPos() >= sens.getXMax()) || (sens.getYPos() >= sens.getYMax()) || (sens.getXPos() < 0) || (sens.getYPos() < 0)) {\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}", "private boolean isInCanvas() {\n\t\tif ((sens.getXPos() >= sens.getXMax()) || (sens.getYPos() >= sens.getYMax()) || (sens.getXPos() < 0) || (sens.getYPos() < 0)) {\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}", "public boolean mo28509d() {\n return this.f11168b.size() > 0;\n }", "public boolean isTriangle () {\r\n\t\tif (startSide1 > 0 && startSide2 > 0 && startSide3 > 0){\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\telse return false;\r\n\t}", "public boolean isOnscreen( )\r\n {\r\n if ( this.transform.tx( ) + this.width( ) < 0.0f ) return false;\r\n if ( this.transform.tx( ) > SkyDiver.WindowWidth ) return false;\r\n if ( this.transform.ty( ) + this.height( ) < 0.0f ) return false;\r\n if ( this.transform.ty( ) > SkyDiver.WindowHeight ) return false;\r\n\r\n return true;\r\n }" ]
[ "0.65008694", "0.6231274", "0.613511", "0.59886825", "0.598774", "0.5974817", "0.5911321", "0.58836627", "0.5878495", "0.5848142", "0.5793435", "0.57701606", "0.57646954", "0.5762665", "0.57258314", "0.5708751", "0.5696693", "0.5685326", "0.56714475", "0.56468624", "0.5621405", "0.561196", "0.55971956", "0.55971956", "0.55971956", "0.55956274", "0.5582259", "0.5570356", "0.5555548", "0.55428934", "0.5534306", "0.5534306", "0.5534306", "0.5534306", "0.5525712", "0.55221117", "0.55171216", "0.5511446", "0.55049765", "0.5493683", "0.54886276", "0.5450872", "0.54459983", "0.5445141", "0.5438389", "0.5433299", "0.5420494", "0.5418458", "0.5414214", "0.5410219", "0.5406125", "0.53893524", "0.53763145", "0.5356365", "0.5342481", "0.53371423", "0.5335453", "0.53350437", "0.53341204", "0.5321499", "0.53207755", "0.53186667", "0.53126544", "0.5312278", "0.530444", "0.53044134", "0.5282897", "0.5281894", "0.52711153", "0.52711153", "0.52709717", "0.52620167", "0.5245535", "0.52407473", "0.52407146", "0.52382654", "0.52378595", "0.5234773", "0.5227935", "0.52273", "0.52268064", "0.5223008", "0.52198637", "0.5213231", "0.5200217", "0.51966274", "0.5187271", "0.51860213", "0.5182676", "0.5182676", "0.5175899", "0.51756054", "0.51714104", "0.5139319", "0.51385534", "0.51385534", "0.5135943", "0.5135943", "0.51342994", "0.512761", "0.51251036" ]
0.0
-1
Returns the roll scale skew object.
protected RMShapeRSS getRSS() { return _rss!=null? _rss : (_rss=new RMShapeRSS()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public double getSkew() {\n if (isReal) {\n return get(\"ts\");\n } else {\n return simTs.getDouble(0.0);\n }\n }", "public double getSkew_Rotation() {\n NetworkTableEntry ts = m_table.getEntry(\"ts\");\n double s = ts.getDouble(0.0);\n return s;\n }", "public double getSkewX() { return _rss==null? 0 : _rss.skewX; }", "public double getSkewY() { return _rss==null? 0 : _rss.skewY; }", "public RMTransform getTransform()\n{\n return new RMTransform(getX(), getY(), getRoll(), getWidth()/2, getHeight()/2,\n getScaleX(), getScaleY(), getSkewX(), getSkewY());\n}", "public float get_skew_cmp() {\n return (float)getFloatElement(offsetBits_skew_cmp(), 32);\n }", "float getScaler();", "public Integer getHoldscale() {\r\n return holdscale;\r\n }", "@java.lang.Override\n public float getScaler() {\n return scaler_;\n }", "public final double getScaler()\n { \n return Math.pow(10, m_Scaler);\n }", "@java.lang.Override\n public float getScaler() {\n return scaler_;\n }", "private Mat skew(Mat imgSrc, Mat start) {\n //Set the mat to a standard size to make sure all images get the same size.\n Mat out = new Mat(MAT_WIDTH, MAT_HEIGHT, CvType.CV_8UC1);\n\n Point p1 = new Point(MAT_WIDTH, 0);\n Point p2 = new Point(0, 0);\n Point p3 = new Point(0, MAT_HEIGHT);\n Point p4 = new Point(MAT_WIDTH, MAT_HEIGHT);\n\n List<Point> points = Arrays.asList(p1, p2, p3, p4);\n Mat end = Converters.vector_Point2f_to_Mat(points);\n\n Mat perspectiveTransform = Imgproc.getPerspectiveTransform(start, end);\n Imgproc.warpPerspective(imgSrc, out, perspectiveTransform, new Size(MAT_WIDTH, MAT_HEIGHT), Imgproc.INTER_CUBIC);\n\n return out;\n }", "public Scale getScale() {\n return this.scale;\n }", "public final float getScale() {\n\treturn svd(null);\n }", "public ScalePolicy getScalePolicy() {\n\t\treturn null;\n\t}", "int getScale();", "ScaleType getScale();", "public void setFrameSize(double aWidth, double aHeight)\n{\n // If shape not rotated, scaled or skewed, just set and return\n if(!isRSS()) {\n if(_width<0) { setX(_x + (aWidth+_width)); aWidth = -aWidth; }\n if(_height<0) { setY(_y + (aHeight+_height)); aHeight = -aHeight; }\n setSize(aWidth, aHeight); return;\n }\n \n // Convert X & Y axis to parent coords\n RMSize x_axis = convertVectorToShape(new RMSize(_width, 0), _parent);\n RMSize y_axis = convertVectorToShape(new RMSize(0, _height), _parent);\n\n // Scale widths of X & Y axes in parent coords by ratio of NewWidth/OldWidth\n double sizeByRatio1 = Math.abs(aWidth)/(Math.abs(x_axis.width) + Math.abs(y_axis.width));\n x_axis.width *= sizeByRatio1; y_axis.width *= sizeByRatio1;\n \n // Scale heights of X & Y axes in parent coords by ratio of NewHeight/OldHeight\n double sizeByRatio2 = Math.abs(aHeight)/(Math.abs(x_axis.height) + Math.abs(y_axis.height));\n x_axis.height *= sizeByRatio2; y_axis.height *= sizeByRatio2;\n\n // Cache current bounds origin (this shouldn't change)\n RMPoint origin = getFrameXY();\n \n // Reset current Skew and convert X & Y axis from parent coords\n setSkewXY(0, 0);\n convertVectorFromShape(x_axis, _parent);\n convertVectorFromShape(y_axis, _parent);\n\n // Set the size to compensate for the skew\n setSize(x_axis.width, y_axis.height);\n\n // Calculate new skew angles (or roll, if width or height is zero)\n if(width()==0)\n setRoll(getRoll() - Math.toDegrees(Math.atan(y_axis.width/y_axis.height)));\n else if(height()==0)\n setRoll(getRoll() - Math.toDegrees(Math.atan(x_axis.height/x_axis.width)));\n else {\n setSkewX(Math.toDegrees(Math.atan(x_axis.height/x_axis.width)));\n setSkewY(Math.toDegrees(Math.atan(y_axis.width/y_axis.height)));\n }\n\n // Reset original bounds origin (it may have been effected by skew changes)\n setFrameXY(origin);\n}", "public double getRolledHeading() {\n double heading = 360.0 - getRawHeading();\n if (lastHeading < 100 && heading > 300) {\n rotationAmt--;\n } else if (heading < 100 && lastHeading > 300) {\n rotationAmt++;\n }\n lastHeading = heading;\n return heading + rotationAmt * 360.0;\n }", "public void drawSkewedScale()\n\t{\n\ttextFont(font, 12);\n\t\n\tDecimalFormat df=new DecimalFormat(\"#.##\");\n\ttextAlign(CENTER, TOP);\n\tint sw=150;\n\tint sh=10;\n\tint x=width-sw-15;\n\tint y=(int)(END_Y+sh*1.7);\n\tscaleBox=new Rectangle2D.Float(x, y, sw, sh);\n\tstrokeWeight(1);\n\t\n\tCell hc=null;\n\tCell finalhc=null;\n\tfor(int i=0;i<hoveredCells.size();i++)\n\t\t{\n\t\thc=hoveredCells.get(i);\n\t\tif(hc.level==min(levelThreshold, minHoveredLevel))\n\t\t\tfinalhc=hc;\n\t\t}\n\thc=finalhc;\n\t\n\tboolean refDrawn=false;\n\tdouble jump0=(255-(0/(float)sw)*255);\n\tdouble jump1=(255-(0/(float)sw)*255);\n\tdouble jump=Math.ceil(jump1-jump0)+2;\n\t\n\t\n\tdouble mid=sw*0.5;//for median\n\tif(whiteValue==MEAN)\t\n\t\tmid=sw*(expData.average-expData.min)/(expData.max-expData.min);\n\t\n\tdouble jumpBelow=Math.ceil(255/(255*mid/sw))+0;\n\tdouble jumpAbove=Math.ceil(255/Math.abs(255*mid/sw-255))+0;\n\t\n\t//Draw legend\n\tstroke(200,200,200);\n\tfill(200);\n\t\n\tline(x,y,x,y-3);\n\tif(whiteValue==MEAN)\t\n\t\t{\n\t\t//text(\"min\", x, y+sh+3);\n\t\ttext(df.format(expData.min), x, y-12);\n\t\t}\n\telse if(whiteValue==MEDIAN)\ttext(\"0\", x, y-12);\n\t\n\tline((int)(x+mid),y+sh,(int)(x+mid),y-3);\n\tif(whiteValue==MEAN)\t\t\n\t\t{\n\t\t//text(\"avg\", (int)(x+mid), y+sh+3);\n\t\ttext(df.format(expData.average), (int)(x+mid), y-12);\n\t\t}\n\telse if(whiteValue==MEDIAN)\ttext(\"50\", (int)(x+mid), y-12);\n\t\n\tline(x+sw-1,y+sh,x+sw-1,y-3);\n\tif(whiteValue==MEAN)\t\t\n\t\t{\n\t\t//text(\"max\", x+sw-1, y+sh+3);\n\t\ttext(df.format(expData.max), x+sw-1, y-12);\n\t\t}\n\telse if(whiteValue==MEDIAN)\ttext(\"100\", x+sw-1, y-12);\n\t\n\tline((int)(x+mid*0.5),y+sh,(int)(x+mid*0.5),y-2);\n\tline((int)(x+mid*2),y+sh,(int)(x+mid*2),y-2);\n\t\t\t\t\n\tfor(int i=0;i<sw;i++)\n\t\t{\n\t\tint h=0;\n\t\tboolean drawReference=false;\n\t\tswitch(COLOR_MODE)\n\t\t\t{\n\t\t\tcase COLOR_EXPRESSION:\n\t\t\t\tif(i>mid)\n\t\t\t\t\t{\n\t\t\t\t\th=(int)Math.round(255-((i-mid)/Math.abs(sw-mid)*255));\n\t\t\t\t\tstroke(255,h,h);\n\t\t\t\t\tif(hc!=null && hc.color.get(selectedCol).getRed()==255 && Math.abs(hc.color.get(selectedCol).getBlue()-h)<=jumpAbove)\n\t\t\t\t\t\tdrawReference=true;\n\t\t\t\t\t}\n\t\t\t\telse\t\n\t\t\t\t\t{\n\t\t\t\t\th=(int)Math.round(255-(Math.abs(i-mid)/Math.abs(sw-mid))*255);\n\t\t\t\t\tstroke(h,h,255);\n\t\t\t\t\tif(hc!=null && hc.color.get(selectedCol).getBlue()==255 && Math.abs(hc.color.get(selectedCol).getRed()-h)<=jumpBelow)\n\t\t\t\t\t\tdrawReference=true;\n\t\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase COLOR_DEVIATION:\n\t\t\t\th=(int)Math.round(255-(i/(float)sw)*255);\n\t\t\t\tstroke(h,255,h);\n\t\t\t\tif(hc!=null && Math.abs(hc.color.get(selectedCol).getBlue()-h)<=jump)\n\t\t\t\t\tdrawReference=true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\tline(x+i,y,x+i,y+sh);\n\t\tif(drawReference && !refDrawn)\n\t\t\t{\n\t\t\tstroke(0);\n\t\t\tfill(0);\n\t\t\tline(x+i, y-2, x+i, y+sh+2);\n\t\t\tfill(255,200);\n\t\t\tnoStroke();\n\t\t\trect(x+i-10, y+sh, 20,15);\n\t\t\tfill(0);\n\t\t\tstroke(0);\n\t\t\tif(whiteValue==MEAN)\t\ttext(df.format(hc.expressionLevel.get(selectedCol)), x+i, y+sh+3);\n\t\t\telse if(whiteValue==MEDIAN)\ttext(df.format(expData.getQuantile(hc.expressionLevel.get(selectedCol), selectedCol)), x+i, y+sh+3);\n\t\t\trefDrawn=true;\n\t\t\t}\n\t\t}\n\tstroke(200,200,200);\n\tnoFill();\n\trect(x-1,y-1,sw+1,sh+1);\n\t\n\ttextFont(font, 14);\n\t\n\tnoStroke();\n\t}", "float getRoll();", "float getRoll();", "public Transcaler getTranscaler() {\n return (_tile!=null)?_tile.getTranscaler():null;\n }", "public double getScale(\n )\n {return scale;}", "ManualScalingType createManualScalingType();", "public double getScale() {\n return scale;\n }", "public double getScale() {\n return this.scale;\n }", "public AxisScale getHScale() {\n return (_bhp!=null)?_bhp.getScale():AxisScale.LINEAR;\n }", "public double getScale() {\r\n return scale;\r\n }", "public double getScale() {\n return scale;\n }", "public float getScale();", "public T caseScale(Scale object) {\n\t\treturn null;\n\t}", "@Override\n public double getMaterialTraversedInRL(Hep3Vector dir) {\n double cth = Math.abs(VecOp.dot(dir, _w));\n double t = _materials.getThicknessInRL();\n return t / cth;\n }", "public double getScale(){\n\t\treturn scale;\n\t}", "public static ItemStack getSkeletonSkull () {\n \n return new ItemStack(Items.SKULL, 1, 0);\n }", "public int getScale() {\n return scale_;\n }", "public double getHealthScale ( ) {\n\t\treturn extract ( handle -> handle.getHealthScale ( ) );\n\t}", "public HeatedObjectScale() {\n colors = new java.awt.Color[256];\n colors[ 0] = new java.awt.Color(0, 0, 0);\n colors[ 1] = new java.awt.Color(35, 0, 0);\n colors[ 2] = new java.awt.Color(52, 0, 0);\n colors[ 3] = new java.awt.Color(60, 0, 0);\n colors[ 4] = new java.awt.Color(63, 1, 0);\n colors[ 5] = new java.awt.Color(64, 2, 0);\n colors[ 6] = new java.awt.Color(68, 5, 0);\n colors[ 7] = new java.awt.Color(69, 6, 0);\n colors[ 8] = new java.awt.Color(72, 8, 0);\n colors[ 9] = new java.awt.Color(74, 10, 0);\n colors[ 10] = new java.awt.Color(77, 12, 0);\n colors[ 11] = new java.awt.Color(78, 14, 0);\n colors[ 12] = new java.awt.Color(81, 16, 0);\n colors[ 13] = new java.awt.Color(83, 17, 0);\n colors[ 14] = new java.awt.Color(85, 19, 0);\n colors[ 15] = new java.awt.Color(86, 20, 0);\n colors[ 16] = new java.awt.Color(89, 22, 0);\n colors[ 17] = new java.awt.Color(91, 24, 0);\n colors[ 18] = new java.awt.Color(92, 25, 0);\n colors[ 19] = new java.awt.Color(94, 26, 0);\n colors[ 20] = new java.awt.Color(95, 28, 0);\n colors[ 21] = new java.awt.Color(98, 30, 0);\n colors[ 22] = new java.awt.Color(100, 31, 0);\n colors[ 23] = new java.awt.Color(102, 33, 0);\n colors[ 24] = new java.awt.Color(103, 34, 0);\n colors[ 25] = new java.awt.Color(105, 35, 0);\n colors[ 26] = new java.awt.Color(106, 36, 0);\n colors[ 27] = new java.awt.Color(108, 38, 0);\n colors[ 28] = new java.awt.Color(109, 39, 0);\n colors[ 29] = new java.awt.Color(111, 40, 0);\n colors[ 30] = new java.awt.Color(112, 42, 0);\n colors[ 31] = new java.awt.Color(114, 43, 0);\n colors[ 32] = new java.awt.Color(115, 44, 0);\n colors[ 33] = new java.awt.Color(117, 45, 0);\n colors[ 34] = new java.awt.Color(119, 47, 0);\n colors[ 35] = new java.awt.Color(119, 47, 0);\n colors[ 36] = new java.awt.Color(120, 48, 0);\n colors[ 37] = new java.awt.Color(122, 49, 0);\n colors[ 38] = new java.awt.Color(123, 51, 0);\n colors[ 39] = new java.awt.Color(125, 52, 0);\n colors[ 40] = new java.awt.Color(125, 52, 0);\n colors[ 41] = new java.awt.Color(126, 53, 0);\n colors[ 42] = new java.awt.Color(128, 54, 0);\n colors[ 43] = new java.awt.Color(129, 56, 0);\n colors[ 44] = new java.awt.Color(129, 56, 0);\n colors[ 45] = new java.awt.Color(131, 57, 0);\n colors[ 46] = new java.awt.Color(132, 58, 0);\n colors[ 47] = new java.awt.Color(134, 59, 0);\n colors[ 48] = new java.awt.Color(134, 59, 0);\n colors[ 49] = new java.awt.Color(136, 61, 0);\n colors[ 50] = new java.awt.Color(137, 62, 0);\n colors[ 51] = new java.awt.Color(137, 62, 0);\n colors[ 52] = new java.awt.Color(139, 63, 0);\n colors[ 53] = new java.awt.Color(139, 63, 0);\n colors[ 54] = new java.awt.Color(140, 65, 0);\n colors[ 55] = new java.awt.Color(142, 66, 0);\n colors[ 56] = new java.awt.Color(142, 66, 0);\n colors[ 57] = new java.awt.Color(143, 67, 0);\n colors[ 58] = new java.awt.Color(143, 67, 0);\n colors[ 59] = new java.awt.Color(145, 68, 0);\n colors[ 60] = new java.awt.Color(145, 68, 0);\n colors[ 61] = new java.awt.Color(146, 70, 0);\n colors[ 62] = new java.awt.Color(146, 70, 0);\n colors[ 63] = new java.awt.Color(148, 71, 0);\n colors[ 64] = new java.awt.Color(148, 71, 0);\n colors[ 65] = new java.awt.Color(149, 72, 0);\n colors[ 66] = new java.awt.Color(149, 72, 0);\n colors[ 67] = new java.awt.Color(151, 73, 0);\n colors[ 68] = new java.awt.Color(151, 73, 0);\n colors[ 69] = new java.awt.Color(153, 75, 0);\n colors[ 70] = new java.awt.Color(153, 75, 0);\n colors[ 71] = new java.awt.Color(154, 76, 0);\n colors[ 72] = new java.awt.Color(154, 76, 0);\n colors[ 73] = new java.awt.Color(154, 76, 0);\n colors[ 74] = new java.awt.Color(156, 77, 0);\n colors[ 75] = new java.awt.Color(156, 77, 0);\n colors[ 76] = new java.awt.Color(157, 79, 0);\n colors[ 77] = new java.awt.Color(157, 79, 0);\n colors[ 78] = new java.awt.Color(159, 80, 0);\n colors[ 79] = new java.awt.Color(159, 80, 0);\n colors[ 80] = new java.awt.Color(159, 80, 0);\n colors[ 81] = new java.awt.Color(160, 81, 0);\n colors[ 82] = new java.awt.Color(160, 81, 0);\n colors[ 83] = new java.awt.Color(162, 82, 0);\n colors[ 84] = new java.awt.Color(162, 82, 0);\n colors[ 85] = new java.awt.Color(163, 84, 0);\n colors[ 86] = new java.awt.Color(163, 84, 0);\n colors[ 87] = new java.awt.Color(165, 85, 0);\n colors[ 88] = new java.awt.Color(165, 85, 0);\n colors[ 89] = new java.awt.Color(166, 86, 0);\n colors[ 90] = new java.awt.Color(166, 86, 0);\n colors[ 91] = new java.awt.Color(166, 86, 0);\n colors[ 92] = new java.awt.Color(168, 87, 0);\n colors[ 93] = new java.awt.Color(168, 87, 0);\n colors[ 94] = new java.awt.Color(170, 89, 0);\n colors[ 95] = new java.awt.Color(170, 89, 0);\n colors[ 96] = new java.awt.Color(171, 90, 0);\n colors[ 97] = new java.awt.Color(171, 90, 0);\n colors[ 98] = new java.awt.Color(173, 91, 0);\n colors[ 99] = new java.awt.Color(173, 91, 0);\n colors[100] = new java.awt.Color(174, 93, 0);\n colors[101] = new java.awt.Color(174, 93, 0);\n colors[102] = new java.awt.Color(176, 94, 0);\n colors[103] = new java.awt.Color(176, 94, 0);\n colors[104] = new java.awt.Color(177, 95, 0);\n colors[105] = new java.awt.Color(177, 95, 0);\n colors[106] = new java.awt.Color(179, 96, 0);\n colors[107] = new java.awt.Color(179, 96, 0);\n colors[108] = new java.awt.Color(180, 98, 0);\n colors[109] = new java.awt.Color(182, 99, 0);\n colors[110] = new java.awt.Color(182, 99, 0);\n colors[111] = new java.awt.Color(183, 100, 0);\n colors[112] = new java.awt.Color(183, 100, 0);\n colors[113] = new java.awt.Color(185, 102, 0);\n colors[114] = new java.awt.Color(185, 102, 0);\n colors[115] = new java.awt.Color(187, 103, 0);\n colors[116] = new java.awt.Color(187, 103, 0);\n colors[117] = new java.awt.Color(188, 104, 0);\n colors[118] = new java.awt.Color(188, 104, 0);\n colors[119] = new java.awt.Color(190, 105, 0);\n colors[120] = new java.awt.Color(191, 107, 0);\n colors[121] = new java.awt.Color(191, 107, 0);\n colors[122] = new java.awt.Color(193, 108, 0);\n colors[123] = new java.awt.Color(193, 108, 0);\n colors[124] = new java.awt.Color(194, 109, 0);\n colors[125] = new java.awt.Color(196, 110, 0);\n colors[126] = new java.awt.Color(196, 110, 0);\n colors[127] = new java.awt.Color(197, 112, 0);\n colors[128] = new java.awt.Color(197, 112, 0);\n colors[129] = new java.awt.Color(199, 113, 0);\n colors[130] = new java.awt.Color(200, 114, 0);\n colors[131] = new java.awt.Color(200, 114, 0);\n colors[132] = new java.awt.Color(202, 116, 0);\n colors[133] = new java.awt.Color(202, 116, 0);\n colors[134] = new java.awt.Color(204, 117, 0);\n colors[135] = new java.awt.Color(205, 118, 0);\n colors[136] = new java.awt.Color(205, 118, 0);\n colors[137] = new java.awt.Color(207, 119, 0);\n colors[138] = new java.awt.Color(208, 121, 0);\n colors[139] = new java.awt.Color(208, 121, 0);\n colors[140] = new java.awt.Color(210, 122, 0);\n colors[141] = new java.awt.Color(211, 123, 0);\n colors[142] = new java.awt.Color(211, 123, 0);\n colors[143] = new java.awt.Color(213, 124, 0);\n colors[144] = new java.awt.Color(214, 126, 0);\n colors[145] = new java.awt.Color(214, 126, 0);\n colors[146] = new java.awt.Color(216, 127, 0);\n colors[147] = new java.awt.Color(217, 128, 0);\n colors[148] = new java.awt.Color(217, 128, 0);\n colors[149] = new java.awt.Color(219, 130, 0);\n colors[150] = new java.awt.Color(221, 131, 0);\n colors[151] = new java.awt.Color(221, 131, 0);\n colors[152] = new java.awt.Color(222, 132, 0);\n colors[153] = new java.awt.Color(224, 133, 0);\n colors[154] = new java.awt.Color(224, 133, 0);\n colors[155] = new java.awt.Color(225, 135, 0);\n colors[156] = new java.awt.Color(227, 136, 0);\n colors[157] = new java.awt.Color(227, 136, 0);\n colors[158] = new java.awt.Color(228, 137, 0);\n colors[159] = new java.awt.Color(230, 138, 0);\n colors[160] = new java.awt.Color(230, 138, 0);\n colors[161] = new java.awt.Color(231, 140, 0);\n colors[162] = new java.awt.Color(233, 141, 0);\n colors[163] = new java.awt.Color(233, 141, 0);\n colors[164] = new java.awt.Color(234, 142, 0);\n colors[165] = new java.awt.Color(236, 144, 0);\n colors[166] = new java.awt.Color(236, 144, 0);\n colors[167] = new java.awt.Color(238, 145, 0);\n colors[168] = new java.awt.Color(239, 146, 0);\n colors[169] = new java.awt.Color(241, 147, 0);\n colors[170] = new java.awt.Color(241, 147, 0);\n colors[171] = new java.awt.Color(242, 149, 0);\n colors[172] = new java.awt.Color(244, 150, 0);\n colors[173] = new java.awt.Color(244, 150, 0);\n colors[174] = new java.awt.Color(245, 151, 0);\n colors[175] = new java.awt.Color(247, 153, 0);\n colors[176] = new java.awt.Color(247, 153, 0);\n colors[177] = new java.awt.Color(248, 154, 0);\n colors[178] = new java.awt.Color(250, 155, 0);\n colors[179] = new java.awt.Color(251, 156, 0);\n colors[180] = new java.awt.Color(251, 156, 0);\n colors[181] = new java.awt.Color(253, 158, 0);\n colors[182] = new java.awt.Color(255, 159, 0);\n colors[183] = new java.awt.Color(255, 159, 0);\n colors[184] = new java.awt.Color(255, 160, 0);\n colors[185] = new java.awt.Color(255, 161, 0);\n colors[186] = new java.awt.Color(255, 163, 0);\n colors[187] = new java.awt.Color(255, 163, 0);\n colors[188] = new java.awt.Color(255, 164, 0);\n colors[189] = new java.awt.Color(255, 165, 0);\n colors[190] = new java.awt.Color(255, 167, 0);\n colors[191] = new java.awt.Color(255, 167, 0);\n colors[192] = new java.awt.Color(255, 168, 0);\n colors[193] = new java.awt.Color(255, 169, 0);\n colors[194] = new java.awt.Color(255, 169, 0);\n colors[195] = new java.awt.Color(255, 170, 0);\n colors[196] = new java.awt.Color(255, 172, 0);\n colors[197] = new java.awt.Color(255, 173, 0);\n colors[198] = new java.awt.Color(255, 173, 0);\n colors[199] = new java.awt.Color(255, 174, 0);\n colors[200] = new java.awt.Color(255, 175, 0);\n colors[201] = new java.awt.Color(255, 177, 0);\n colors[202] = new java.awt.Color(255, 178, 0);\n colors[203] = new java.awt.Color(255, 179, 0);\n colors[204] = new java.awt.Color(255, 181, 0);\n colors[205] = new java.awt.Color(255, 181, 0);\n colors[206] = new java.awt.Color(255, 182, 0);\n colors[207] = new java.awt.Color(255, 183, 0);\n colors[208] = new java.awt.Color(255, 184, 0);\n colors[209] = new java.awt.Color(255, 187, 7);\n colors[210] = new java.awt.Color(255, 188, 10);\n colors[211] = new java.awt.Color(255, 189, 14);\n colors[212] = new java.awt.Color(255, 191, 18);\n colors[213] = new java.awt.Color(255, 192, 21);\n colors[214] = new java.awt.Color(255, 193, 25);\n colors[215] = new java.awt.Color(255, 195, 29);\n colors[216] = new java.awt.Color(255, 197, 36);\n colors[217] = new java.awt.Color(255, 198, 40);\n colors[218] = new java.awt.Color(255, 200, 43);\n colors[219] = new java.awt.Color(255, 202, 51);\n colors[220] = new java.awt.Color(255, 204, 54);\n colors[221] = new java.awt.Color(255, 206, 61);\n colors[222] = new java.awt.Color(255, 207, 65);\n colors[223] = new java.awt.Color(255, 210, 72);\n colors[224] = new java.awt.Color(255, 211, 76);\n colors[225] = new java.awt.Color(255, 214, 83);\n colors[226] = new java.awt.Color(255, 216, 91);\n colors[227] = new java.awt.Color(255, 219, 98);\n colors[228] = new java.awt.Color(255, 221, 105);\n colors[229] = new java.awt.Color(255, 223, 109);\n colors[230] = new java.awt.Color(255, 225, 116);\n colors[231] = new java.awt.Color(255, 228, 123);\n colors[232] = new java.awt.Color(255, 232, 134);\n colors[233] = new java.awt.Color(255, 234, 142);\n colors[234] = new java.awt.Color(255, 237, 149);\n colors[235] = new java.awt.Color(255, 239, 156);\n colors[236] = new java.awt.Color(255, 240, 160);\n colors[237] = new java.awt.Color(255, 243, 167);\n colors[238] = new java.awt.Color(255, 246, 174);\n colors[239] = new java.awt.Color(255, 248, 182);\n colors[240] = new java.awt.Color(255, 249, 185);\n colors[241] = new java.awt.Color(255, 252, 193);\n colors[242] = new java.awt.Color(255, 253, 196);\n colors[243] = new java.awt.Color(255, 255, 204);\n colors[244] = new java.awt.Color(255, 255, 207);\n colors[245] = new java.awt.Color(255, 255, 211);\n colors[246] = new java.awt.Color(255, 255, 218);\n colors[247] = new java.awt.Color(255, 255, 222);\n colors[248] = new java.awt.Color(255, 255, 225);\n colors[249] = new java.awt.Color(255, 255, 229);\n colors[250] = new java.awt.Color(255, 255, 233);\n colors[251] = new java.awt.Color(255, 255, 236);\n colors[252] = new java.awt.Color(255, 255, 240);\n colors[253] = new java.awt.Color(255, 255, 244);\n colors[254] = new java.awt.Color(255, 255, 247);\n colors[255] = new java.awt.Color(255, 255, 255);\n }", "public double getScale() {\n\t\treturn 0;\n\t}", "public Integer getScale() {\n return _scale;\n }", "public Integer getScale() {\n return _scale;\n }", "public double getScale() {\r\n\t\treturn scale;\r\n\t}", "public static ItemStack getWitherSkeletonSkull () {\n \n return new ItemStack(Items.SKULL, 1, 1);\n }", "public float getRoll() {\n return roll_;\n }", "public float getRoll() {\n return roll_;\n }", "public float getRoll() {\n return roll_;\n }", "public float getRoll() {\n return roll_;\n }", "public float getScale() {\n\t\treturn getLifeStageHelper().getScale();\n\t}", "public static ItemStack getSteveSkull () {\n \n return new ItemStack(Items.SKULL, 1, 3);\n }", "public List<Scaler> getScalerList() {\n return Collections.unmodifiableList(scalerList);\n }", "public int getScale() {\r\n return scale;\r\n }", "public int getScale(){\n return scale;\n }", "public AbstractShapeBuilder.Shrinkage getShrinkage() {\n if (shrinkage == null)\n shrinkage = new AbstractShapeBuilder.Shrinkage(this);\n return shrinkage;\n }", "@Override\r\n\tpublic double getRollRightHand() {\n\t\treturn rechtRoll;\r\n\t}", "public Weights getCopy() {\n\t\tdouble[] wnew = new double[w.length];\n\t\t\n\t\tboolean didAverage = false;\n\t\tif (!averaged) {\n\t\t\taverage();\n\t\t\tdidAverage = true;\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < w.length; i++)\n\t\t\twnew[i] = w[i]*scale;\n\t\t\n\t\tif (didAverage)\n\t\t\tunaverage();\n\t\t\n\t\treturn new Weights(wnew);\n\t}", "public double rollSnowman(double getSeconds, double startRoll) {\n elapsedRoll = getSeconds - startRoll;\n float rotateAngle = 50*(float)Math.sin(elapsedRoll);\n rollHead.setTransform(Mat4Transform.rotateAroundZ(rotateAngle));\n rollHead.update();\n return elapsedRoll;\n }", "public PrizeCard spinWheel() {\n int power = (int)(Math.random()*100 + 1);\n int newPos = (currentPos + power) % prizeCards.size();\n currentPos = newPos;\n return prizeCards.get(currentPos);\n }", "@Override\r\n\tpublic SurpriseBox createSurpriseBox(int weight)\r\n\t{\r\n\t\treturn new SurpriseBox(weight);\r\n\t}", "public double getSuggestedSkewnessValue() {\n return mSuggestedSkewnessValue;\n }", "public String roll() {\n\t\treturn null;\r\n\t}", "public double getScaleStart() {\n\t\treturn m_dScaleStart;\n\t}", "public float getScale() {\n return this.scale;\n }", "public Rotation2d getHeading() {\n return Rotation2d.fromDegrees(Math.IEEEremainder(gyro.getAngle(), 360) * (Const.kGyroReversed ? -1.0 : 1.0));\n }", "public boolean getScaleHorizontal() {\r\n return ScaleHorizontal;\r\n }", "double getStep() {\n\t\t\treturn scale;\n\t\t}", "public float getScale() {\n \t\treturn scale;\n \t}", "public float getScale()\n\t{\n\t\treturn scale;\n\t}", "public Skull() {\n\t\tsuper();\n\t\tsuper.setWidth(width);\n\t\tsuper.setheight(height);\n\t\tloadPattern();\n\t\tcurrentPattern = walkPattern;\n\t}", "public byte[] getScale()\n {\n if (true)\n throw new UnsupportedOperationException(\"FIXME\");\n return (byte[]) getProperty(PropertyIDMap.PID_SCALE);\n }", "public T casePrescaler(Prescaler object) {\r\n\t\treturn null;\r\n\t}", "public abstract double getOrientation();", "public float getDscale() {\r\n\t\treturn dscale;\r\n\t}", "private int quantizeSkewness(double spectralSkewness) {\n\t\treturn (int) (spectralSkewness) + 100;\n\t}", "public static int size_skew_cmp() {\n return (32 / 8);\n }", "public SkewXModifier(final float pDuration, final float pFromSkewX, final float pToSkewX) {\r\n\t\tthis(pDuration, pFromSkewX, pToSkewX, null, EaseLinear.getInstance());\r\n\t}", "@Override\n public float getScale() {\n return scale;\n }", "public Vector4d scale(double s) {\n\t\tx *= s; y *= s; z *= s; w *= s;\n\t\treturn this;\n\t}", "@Override\n\tpublic Rotation3 GetRotation() {\n\t\treturn new Rotation3(0f);\n\t}", "Sku sku();", "public float getScale() {\n\t\treturn scale;\n\t}", "private double convert() {\n\t\t// modulus is private, but we have the getter\n\t\treturn riskNeutralProbabilityUp * (randomGenerator.getModulus() - 1);\n\t}", "BasicScalingType createBasicScalingType();", "int getWrongScale();", "SnapshotSku sku();", "public Point2D.Double getWCSCenter();", "public Stroke<R> getStroke() {\n if (stroke == null) {\n stroke = factory.createStroke();\n }\n return stroke;\n }", "public jkt.hms.masters.business.MasStoreMeScale getMeScale () {\n\t\treturn meScale;\n\t}", "public void setSkewXY(double skx, double sky) { setSkewX(skx); setSkewY(sky); }", "@Override\n public String toString() {\n return getKey().toString() + \" scale\";\n }", "public double getScale() {\n\t\treturn disp.getScale();\n\t}", "public Shape rotateLeft() \n\t{\n\t\tif (detailShape == Tetromino.SQUARE)\n\t\t{\n\t\t\treturn this;\n\t\t}\n\t\t\n\t\tvar result = new Shape();\n\t\tresult.detailShape = detailShape;\n\t\t\n\t\tfor (int i=0; i<4; i++)\n\t\t{\n\t\t\tresult.setX(i, y(i));\n\t\t\tresult.setY(i, -x(i));\n\t\t}\n\t\t\n\t\treturn result;\n\t}", "@Override\n public double getMaterialTraversed(Hep3Vector dir) {\n double cth = Math.abs(VecOp.dot(dir, _w));\n double t = _materials.getThickness();\n return t / cth;\n }", "public String getRoll()\n\t{\n\t\treturn roll.getText();\n\t}", "int getScale(Object elementID) throws Exception;", "public void setSkewY(double aValue)\n{\n if(aValue==getSkewY()) return;\n repaint();\n firePropertyChange(\"SkewY\", getRSS().skewY, getRSS().skewY = aValue, -1);\n}", "public double getRotation();", "public Vector2 getDrawScale() {\n \tscaleCache.set(drawScale);\n \treturn scaleCache; \n }", "public static Sampler getSampler() throws Exception {\r\n // User-defined rules have high priority\r\n if (StringUtils.isNotBlank(samplerProperties.getRuleClassName())) {\r\n return (Sampler) Class.forName(samplerProperties.getRuleClassName()).newInstance();\r\n }\r\n // default instance\r\n return new SzTracerPercentageBasedSampler(samplerProperties);\r\n }", "@Override\r\n\tpublic double getRollLeftHand() {\n\t\treturn linkRoll;\r\n\t}", "@Deprecated\n public V1CrossVersionObjectReference getScaleTargetRef();", "public TerminalRule getWSRule() {\n\t\treturn gaTerminals.getWSRule();\n\t}" ]
[ "0.6254836", "0.60010517", "0.5987023", "0.58023804", "0.5550633", "0.52046645", "0.51230013", "0.5115472", "0.50449485", "0.50247073", "0.5001944", "0.49738586", "0.47736564", "0.47403362", "0.47289553", "0.4692821", "0.4677629", "0.45862916", "0.4578349", "0.45718136", "0.45495945", "0.45495945", "0.4542867", "0.45374432", "0.45302853", "0.4510986", "0.45109627", "0.4500483", "0.44919837", "0.44850674", "0.44774532", "0.44750783", "0.44401097", "0.4433721", "0.44261378", "0.44177958", "0.44055074", "0.44020623", "0.43978608", "0.43945268", "0.43945268", "0.43913665", "0.43845", "0.43823007", "0.43823007", "0.43772006", "0.43772006", "0.43700638", "0.43574327", "0.43193448", "0.43145815", "0.43050304", "0.43015003", "0.42914513", "0.42855895", "0.4282408", "0.42785114", "0.42782128", "0.42620718", "0.4261763", "0.42551413", "0.42513704", "0.42508608", "0.42445594", "0.42418718", "0.42266956", "0.42230502", "0.42212787", "0.42166185", "0.41964883", "0.41883457", "0.4184894", "0.41813084", "0.4178346", "0.41729486", "0.41727635", "0.4172029", "0.41710493", "0.41693532", "0.4164818", "0.4156391", "0.41552976", "0.41510516", "0.4146255", "0.41455337", "0.41450146", "0.41439417", "0.4129014", "0.41284418", "0.41266906", "0.4126477", "0.4112863", "0.41029122", "0.41021296", "0.4098702", "0.4095322", "0.40938622", "0.40900007", "0.40898135", "0.40809736", "0.40798947" ]
0.0
-1
Returns the stroke for this shape.
public RMStroke getStroke() { return _stroke; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Stroke<R> getStroke() {\n if (stroke == null) {\n stroke = factory.createStroke();\n }\n return stroke;\n }", "public Stroke getStroke() {\n\t\tStroke theStroke = stroke;\n\t\tif (theStroke == null) {\n\t\t\ttheStroke = new BasicStroke(strokeWidth);\n\t\t\tstroke = theStroke;\n\t\t}\n\t\treturn theStroke;\n\t}", "public DirectShapeRenderer stroke() {\n \t\treturn renderer.stroke();\n \t}", "public Stroke getStroke()\r\n\t{\r\n\t\treturn _g2.getStroke();\r\n\t}", "public Color<?> getStrokeColor(\n )\n {return strokeColor;}", "public final native Colour getStroke() /*-{\n\t\treturn @net.edzard.kinetic.Colour::new(Ljava/lang/String;)(this.getStroke());\n\t}-*/;", "public int getStrokeColor() {\n return (int) this.getValue(STROKE_COLOR_PROPERTY_KEY);\n }", "public ColorSpace<?> getStrokeColorSpace(\n )\n {return strokeColorSpace;}", "public final Stroke getOutlineStroke() {\n return outlineStroke;\n }", "public RMColor getStrokeColor() { return getStroke()==null? RMColor.black : getStroke().getColor(); }", "public float getStrokeWidth() { return getStroke()==null? 0 : getStroke().getWidth(); }", "public float getStrokeWidth() {\n\t\treturn strokeWidth;\n\t}", "public final ObjectProperty<StrokeType> strokeTypeProperty() {\n return getStrokeAttributes().typeProperty();\n }", "public final native double getStrokeWidth() /*-{\n\t\tif (this.getStrokeWidth() != null) return this.getStrokeWidth();\n\t\telse return 0;\n\t}-*/;", "public final int getStrokeColor() {\n if (org.xms.g.utils.GlobalEnvSetting.isHms()) {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).getStrokeColor()\");\n return ((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).getStrokeColor();\n } else {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).getStrokeColor()\");\n return ((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).getStrokeColor();\n }\n }", "String getTextStrokeColorAsString();", "public float getStrokeWidth() {\n return (float) this.getValue(STROKE_WIDTH_PROPERTY_KEY);\n }", "StrokeMatcher strokeMatcher() {\n return mStrokeMatcher;\n }", "public Stroke getInnerStroke() {\n return null;\n }", "public final float getStrokeWidth() {\n if (org.xms.g.utils.GlobalEnvSetting.isHms()) {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).getStrokeWidth()\");\n return ((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).getStrokeWidth();\n } else {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).getStrokeWidth()\");\n return ((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).getStrokeWidth();\n }\n }", "int getTextStrokeWidth();", "public final DoubleProperty strokeWidthProperty() {\n return getStrokeAttributes().widthProperty();\n }", "public void strokeShape(Shape shape);", "public void setStroke(Stroke stroke);", "public final Stroke getGridStroke() {\n return gridStroke;\n }", "public final int getStrokeJointType() {\n if (org.xms.g.utils.GlobalEnvSetting.isHms()) {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).getStrokeJointType()\");\n return ((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).getStrokeJointType();\n } else {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).getStrokeJointType()\");\n return ((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).getStrokeJointType();\n }\n }", "public Color getNodeStrokeDestinationColor() {\n return (_nodeStrokeDestinationColor);\n }", "public final Paint getOutlinePaint() {\n return outlinePaint;\n }", "public static BasicStroke getStroke(int width) {\n\t\tif (width < _strokes.length) {\n\t\t\tif (_strokes[width] == null) {\n\t\t\t\t_strokes[width] = new BasicStroke(width);\n\t\t\t}\n\n\t\t\treturn _strokes[width];\n\t\t} else {\n\t\t\treturn new BasicStroke(width);\n\t\t}\n\t}", "public final java.util.List<org.xms.g.maps.model.PatternItem> getStrokePattern() {\n if (org.xms.g.utils.GlobalEnvSetting.isHms()) {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).getStrokePattern()\");\n java.util.List hReturn = ((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).getStrokePattern();\n return ((java.util.List) org.xms.g.utils.Utils.mapCollection(hReturn, new org.xms.g.utils.Function<com.huawei.hms.maps.model.PatternItem, org.xms.g.maps.model.PatternItem>() {\n\n public org.xms.g.maps.model.PatternItem apply(com.huawei.hms.maps.model.PatternItem param0) {\n return new org.xms.g.maps.model.PatternItem(new org.xms.g.utils.XBox(null, param0));\n }\n }));\n } else {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).getStrokePattern()\");\n java.util.List gReturn = ((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).getStrokePattern();\n return ((java.util.List) org.xms.g.utils.Utils.mapCollection(gReturn, new org.xms.g.utils.Function<com.google.android.gms.maps.model.PatternItem, org.xms.g.maps.model.PatternItem>() {\n\n public org.xms.g.maps.model.PatternItem apply(com.google.android.gms.maps.model.PatternItem param0) {\n return new org.xms.g.maps.model.PatternItem(new org.xms.g.utils.XBox(param0, null));\n }\n }));\n }\n }", "public int getNowLineStrokeWidth() {\n return config.nowLineStrokeWidth;\n }", "public Stroke getStroke(Comparable key) {\n/* 95 */ ParamChecks.nullNotPermitted(key, \"key\");\n/* 96 */ return (Stroke)this.store.get(key);\n/* */ }", "public double getEdgeStrokeDestinationWidth() {\n return (_edgeStrokeDestinationWidth);\n }", "public final LineStyle getStyle(){\n return LineStyleUtils.getLineStyle(stroke);\n }", "@Override\n public void stroke() {\n graphicsEnvironmentImpl.stroke(canvas);\n }", "@Override\n public Paint getInitialValue(Shape node) {\n return node.impl_cssGetStrokeInitialValue();\n }", "public double getLineWidth(\n )\n {return lineWidth;}", "public static BasicStroke getStroke(LineStyle style, float width) {\n\n float[] dash;\n BasicStroke stroke;\n switch (style) {\n case dashed:\n dash = new float[]{width * DASH_LENGTH};\n stroke = new BasicStroke(width, BasicStroke.CAP_SQUARE,\n BasicStroke.JOIN_MITER, width, dash, 0);\n break;\n case dotted:\n dash = new float[]{width, 2 * width};\n stroke = new BasicStroke(width, BasicStroke.CAP_SQUARE,\n BasicStroke.JOIN_MITER, width, dash, 0);\n break;\n default:\n stroke = new BasicStroke(width);\n break;\n }\n return stroke;\n }", "public final org.xms.g.maps.model.PolygonOptions strokeColor(int param0) {\n if (org.xms.g.utils.GlobalEnvSetting.isHms()) {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).strokeColor(param0)\");\n com.huawei.hms.maps.model.PolygonOptions hReturn = ((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).strokeColor(param0);\n return ((hReturn) == null ? null : (new org.xms.g.maps.model.PolygonOptions(new org.xms.g.utils.XBox(null, hReturn))));\n } else {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).strokeColor(param0)\");\n com.google.android.gms.maps.model.PolygonOptions gReturn = ((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).strokeColor(param0);\n return ((gReturn) == null ? null : (new org.xms.g.maps.model.PolygonOptions(new org.xms.g.utils.XBox(gReturn, null))));\n }\n }", "public abstract void setStroke(BasicStroke stroke);", "public int getLineWidth() {\n return (int) mPaintLine.getStrokeWidth();\n }", "public int getDrawingsColor(){\n return mPaintLine.getColor();\n }", "public static BasicStroke getStroke(float floatwidth) {\n\t\tint width = Math.round(floatwidth);\n\n\t\tif (width == floatwidth) {\n\t\t\treturn getStroke(width);\n\t\t} else {\n\t\t\treturn new BasicStroke(floatwidth);\n\t\t}\n\t}", "public Rectangle2D getBounds() {\n\t\t// FIXME: these bounds REALLY need to be cached. But it's\n\t\t// painful because of the public members.\n\t\tif (stroke == null) {\n\t\t\treturn shape.getBounds2D();\n\t\t} else if (stroke instanceof BasicStroke) {\n\t\t\t// For some reason (antialiasing?) the bounds returned by\n\t\t\t// BasicStroke is off by one. This code works around it.\n\t\t\t// if all we want is the bounds, then we don't need to actually\n\t\t\t// stroke the shape. We've had reports that this is no longer\n\t\t\t// necessary with JDK1.3.\n\t\t\tRectangle2D rect = shape.getBounds2D();\n\t\t\tint width = (int) ((BasicStroke) stroke).getLineWidth() + 2;\n\t\t\treturn new Rectangle2D.Double(rect.getX() - width, rect.getY()\n\t\t\t\t\t- width, rect.getWidth() + width + width, rect.getHeight()\n\t\t\t\t\t+ width + width);\n\t\t} else {\n\t\t\t// For some reason (antialiasing?) the bounds returned by\n\t\t\t// BasicStroke is off by one. This code works around it.\n\t\t\t// We've had reports that this is no longer\n\t\t\t// necessary with JDK1.3.\n\t\t\tRectangle2D rect = stroke.createStrokedShape(shape).getBounds2D();\n\t\t\treturn new Rectangle2D.Double(rect.getX() - 1, rect.getY() - 1,\n\t\t\t\t\trect.getWidth() + 2, rect.getHeight() + 2);\n\t\t}\n\t}", "public String getOutline() {\n return outline;\n }", "public float getLineWidth()\r\n\t{\r\n\t\treturn g.getPenWidth();\r\n\t}", "public final native void setStroke(Colour colour) /*-{\n\t\tthis.setStroke([email protected]::toString()());\n\t}-*/;", "public String getOutlineColor();", "@NotNull\n public KeyStroke getKeyStroke ()\n {\n if ( keyCode == null )\n {\n throw new HotkeyException ( \"KeyStroke can only be retrieved from HotkeyData that contains key code\" );\n }\n return KeyStroke.getKeyStroke ( keyCode, getModifiers () );\n }", "public static String keyStrokeToString( KeyStroke stroke ) {\n String modifText = KeyEvent.getKeyModifiersText( stroke.getModifiers() );\n String keyText = (stroke.getKeyCode() == KeyEvent.VK_UNDEFINED) ? \n String.valueOf(stroke.getKeyChar()) : getKeyText(stroke.getKeyCode());\n if( modifText.length() > 0 ) return modifText + '+' + keyText;\n else return keyText;\n }", "public void drawStroke(Canvas canvas, Paint eraser, Shape shape, int xPosition, int yPosition, int shapePadding) {\n }", "private synchronized void strokeStyle(Rule rule, InstanceWaypoint context){\t\n \t\t\n \t\t// retrieve stroke\n \t\tStroke stroke = null;\n \t\t\n \t\t//try the Symbolizers from the Rule\n \t\tint i = -1;\n \t\twhile(rule != null && stroke == null && i < rule.getSymbolizers().length){\n \t\t\ti++;\n \t\t\tif (rule.getSymbolizers()[i] instanceof LineSymbolizer){\n \t\t\t\tstroke = SLD.stroke((LineSymbolizer)rule.getSymbolizers()[i]);\t\t\t\t\n \t\t\t\t}\n \t\t\telse if (rule.getSymbolizers()[i] instanceof PolygonSymbolizer){\n \t\t\t\tstroke = SLD.stroke((PolygonSymbolizer)rule.getSymbolizers()[i]);\t\t\t\t\n \t\t\t\t}\n \t\t\telse if (rule.getSymbolizers()[i] instanceof PointSymbolizer){\n \t\t\t\tstroke = SLD.stroke((PointSymbolizer)rule.getSymbolizers()[i]);\t\t\t\t\n \t\t\t\t}\n \t\t\t}\n \t\t\n \t\n \t\t//if we have a stroke now\n \t\tif (stroke != null) {\n \t\t\t//XXX is there any Geotools stroke to AWT stroke lib/code somewhere?!\n \t\t\t//XXX have a look at the renderer code (StreamingRenderer)\n \t\t\t\n \t\t\t// stroke color\n \t\t\tColor sldColor = SLD.color(stroke);\n \t\t\tdouble opacity = SLD.opacity(stroke);\n \t\t\tif (Double.isNaN(opacity)) {\n \t\t\t\t// fall back to default opacity\n \t\t\t\topacity = StyleHelper.DEFAULT_FILL_OPACITY;\n \t\t\t}\n \t\t\tif (sldColor != null) {\n \t\t\t\tstyleStrokeColor = new Color(sldColor.getRed(), sldColor.getGreen(), \n \t\t\t\t\t\tsldColor.getBlue(), (int) (opacity * 255));\n \t\t\t}\n \t\t\telse {\n \t\t\t\tstyleStrokeColor = super.getBorderColor(context);\n \t\t\t}\n \t\t\t\n \t\t\t// stroke width\n \t\t\tint strokeWidth = SLD.width(stroke);\n \t\t\tif (strokeWidth == SLD.NOTFOUND) {\n \t\t\t\t// fall back to default width\n \t\t\t\tstrokeWidth = StylePreferences.getDefaultWidth(); \n \t\t\t}\n \t\t\tstyleStroke = new BasicStroke(strokeWidth);\n \t\t}\n \t\telse {\n \t\t\tstyleStroke = null;\n \t\t\tstyleStrokeColor = null;\n \t\t}\n \t}", "public java.lang.String getBorder()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(BORDER$22);\n if (target == null)\n {\n return null;\n }\n return target.getStringValue();\n }\n }", "public static LineStyle getLineStyle(BasicStroke stroke) {\n LineStyle style = LineStyle.solid;\n if (stroke.getDashArray() != null) {\n if (stroke.getDashArray()[0]\n > stroke.getLineWidth()) {\n style = LineStyle.dashed;\n } else {\n style = LineStyle.solid;\n }\n }\n return style;\n }", "public Paint getPaint()\r\n\t{\r\n\t\treturn _g2.getPaint();\r\n\t}", "public double getNodeStrokeDestinationWidth() {\n return (_nodeStrokeDestinationWidth);\n }", "public Color getNodeStrokeSourceColor() {\n return (_nodeStrokeSourceColor);\n }", "public void strokeRectangle(RectangleShape rectangle);", "public void setStrokeStyle(STYLE style);", "public double getEdgeStrokeSourceWidth() {\n return (_edgeStrokeSourceWidth);\n }", "public Color getShapeColor() {\n\t\tif (_shape != null) return _shape.getColor();\n\t\telse return null;\n\t}", "protected float getLineWidth(Graphics2D g2d) {\n float lineWidth = 1.0f;\n Stroke stroke = g2d.getStroke();\n if (stroke instanceof BasicStroke) {\n BasicStroke bs = (BasicStroke)stroke;\n lineWidth = bs.getLineWidth();\n }\n return lineWidth;\n }", "@Override\n public double getLineWidth() {\n return graphicsEnvironmentImpl.getLineWidth(canvas);\n }", "public byte getUnderline()\n {\n return font.getUnderline();\n }", "@Override\n public String getLineJoin() {\n return graphicsEnvironmentImpl.getLineJoin(canvas);\n }", "public final org.xms.g.maps.model.PolygonOptions strokeWidth(float param0) {\n if (org.xms.g.utils.GlobalEnvSetting.isHms()) {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).strokeWidth(param0)\");\n com.huawei.hms.maps.model.PolygonOptions hReturn = ((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).strokeWidth(param0);\n return ((hReturn) == null ? null : (new org.xms.g.maps.model.PolygonOptions(new org.xms.g.utils.XBox(null, hReturn))));\n } else {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).strokeWidth(param0)\");\n com.google.android.gms.maps.model.PolygonOptions gReturn = ((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).strokeWidth(param0);\n return ((gReturn) == null ? null : (new org.xms.g.maps.model.PolygonOptions(new org.xms.g.utils.XBox(gReturn, null))));\n }\n }", "public Path2D asAwtShape() {\n\t\t// creates the awt path\n\t\tPath2D.Double path = new Path2D.Double();\n\t\t\n\t\t// iterate on the path segments\n\t\tfor (Segment seg : this.segments) {\n\t\t\tseg.updatePath(path);\n\t\t}\n\t\t\n\t\t// returns the updated path\n\t\treturn path;\n\t}", "public void setStrokeColor(Color color);", "private void applyStroke(Graphics2D graphic, Stroke stroke, Feature feature) {\n if (stroke == null) {\n return;\n }\n \n double scale = graphics.getTransform().getScaleX();\n \n if (LOGGER.isLoggable(Level.FINEST)) {\n LOGGER.finest(\"line join = \" + stroke.getLineJoin());\n }\n \n String joinType;\n \n if (stroke.getLineJoin() == null) {\n joinType = \"miter\";\n } else {\n joinType = (String) stroke.getLineJoin().getValue(feature);\n }\n \n if (joinType == null) {\n joinType = \"miter\";\n }\n \n int joinCode;\n \n if (joinLookup.containsKey(joinType)) {\n joinCode = ((Integer) joinLookup.get(joinType)).intValue();\n } else {\n joinCode = BasicStroke.JOIN_MITER;\n }\n \n String capType;\n \n if (stroke.getLineCap() != null) {\n capType = (String) stroke.getLineCap().getValue(feature);\n } else {\n capType = \"square\";\n }\n \n if (capType == null) {\n capType = \"square\";\n }\n \n int capCode;\n \n if (capLookup.containsKey(capType)) {\n capCode = ((Integer) capLookup.get(capType)).intValue();\n } else {\n capCode = BasicStroke.CAP_SQUARE;\n }\n \n float[] dashes = stroke.getDashArray();\n \n if (dashes != null) {\n for (int i = 0; i < dashes.length; i++) {\n dashes[i] = (float) Math.max(1, dashes[i] / (float) scale);\n }\n }\n \n Number value = (Number) stroke.getWidth().getValue(feature);\n float width = value.floatValue();\n value = (Number) stroke.getDashOffset().getValue(feature);\n \n float dashOffset = value.floatValue();\n value = (Number) stroke.getOpacity().getValue(feature);\n \n float opacity = value.floatValue();\n \n if (LOGGER.isLoggable(Level.FINER)) {\n LOGGER.finer(\"width, dashoffset, opacity \" + width + \" \" + dashOffset + \" \" + opacity);\n }\n \n BasicStroke stroke2d;\n \n //TODO: It should not be necessary to divide each value by scale.\n if ((dashes != null) && (dashes.length > 0)) {\n if (width <= 1.0) {\n width = 0;\n }\n \n stroke2d = new BasicStroke(width / (float) scale, capCode, joinCode,\n (float) (Math.max(1, 10 / scale)), dashes, dashOffset / (float) scale);\n } else {\n if (width <= 1.0) {\n width = 0;\n }\n \n stroke2d = new BasicStroke(width / (float) scale, capCode, joinCode,\n (float) (Math.max(1, 10 / scale)));\n }\n \n graphic.setComposite(AlphaComposite.getInstance(AlphaComposite.SRC_OVER, opacity));\n \n if (!graphic.getStroke().equals(stroke2d)) {\n graphic.setStroke(stroke2d);\n }\n \n Color color = Color.decode((String) stroke.getColor().getValue(feature));\n \n if (!graphic.getColor().equals(color)) {\n graphic.setColor(color);\n }\n \n Graphic gr = stroke.getGraphicFill();\n \n if (gr != null) {\n setTexture(graphic, gr, feature);\n } else {\n if (LOGGER.isLoggable(Level.FINER)) {\n LOGGER.finer(\"no graphic fill set\");\n }\n }\n }", "public abstract float getLineWidth();", "void setStrokeWidth(float strokeWidth) {\n/* 180 */ this.mStrokeWidth = strokeWidth;\n/* */ }", "public Shape getShape() {\n\t\tif (_child == null) {\n\t\t\treturn new Rectangle2D.Double();\n\t\t} else {\n\t\t\treturn _child.getShape();\n\t\t}\n\t}", "public void strokeString(float x, float y, String text);", "public RecodedReal getLineWidth(){\n return ps == null ? null :ps.getWidthLegend();\n }", "public Paint getPaint() {\n return mPaint;\n }", "public float border() {\n\t\treturn borderThickness;\n\t}", "public static String getKeyStrokeText(KeyStroke keyStroke) {\n if (keyStroke == null) {\n return \"\";\n } else\n return keyStroke.toString();\n }", "public void stroke() throws IOException\n {\n\tif (_closedPath == true) {\n\t Paint strokingPaint = getGraphicsState().getStrokingColor().getJavaColor();\n\t if ( strokingPaint == null ) {\n\t\tstrokingPaint = getGraphicsState().getStrokingColor().getPaint(pageSize.height);\n\t }\n\t if ( strokingPaint == null ) {\n\t\tLOG.info(\"ColorSpace \"+getGraphicsState().getStrokingColor().getColorSpace().getName() +\" doesn't provide a stroking color, using white instead!\");\n\t\tstrokingPaint = Color.WHITE;\n\t }\n\t if (strokingPaint != Color.WHITE) {\n\t\tfor(Line line : _currentPath) {\n\t\t if(line.isVertical() || line.isHorizontal()) {\n\t\t\t_path.add(line);\n\t\t }\n\t\t}\n\t }\n\t}\n\t_currentPath.clear();\n }", "public Outline getOutline()\n {\n return outline;\n }", "public final org.xms.g.maps.model.PolygonOptions strokeJointType(int param0) {\n if (org.xms.g.utils.GlobalEnvSetting.isHms()) {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).strokeJointType(param0)\");\n com.huawei.hms.maps.model.PolygonOptions hReturn = ((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).strokeJointType(param0);\n return ((hReturn) == null ? null : (new org.xms.g.maps.model.PolygonOptions(new org.xms.g.utils.XBox(null, hReturn))));\n } else {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).strokeJointType(param0)\");\n com.google.android.gms.maps.model.PolygonOptions gReturn = ((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).strokeJointType(param0);\n return ((gReturn) == null ? null : (new org.xms.g.maps.model.PolygonOptions(new org.xms.g.utils.XBox(gReturn, null))));\n }\n }", "public Paint getPaint() {\n return paint;\n }", "@Override\n public ShapeColor getColor() {\n return new ShapeColor(this.r, this.g, this.b);\n }", "@Override public Polyline setStrokeWidth(double strokeWidth)\n {\n return (Polyline)super.setStrokeWidth(strokeWidth);\n }", "public Shape getShape() {\r\n\t\t\treturn shape;\r\n\t\t}", "public EnvironmentPaint getSkyPaint() {\n return this.skyPaint;\n }", "public Shape getShape() {\n\t\treturn shape;\n\t}", "public double getFill() {\n\t\treturn _fillGrade;\n\t}", "public IconShape shape() {\n\t\treturn shape;\n\t}", "public void setStrokeColor(RMColor aColor)\n{\n // Set stroke color\n if(aColor==null) setStroke(null);\n else if(getStroke()==null) setStroke(new RMStroke(aColor, 1));\n else getStroke().setColor(aColor);\n}", "public Shape getShape()\n\t{\n\t\treturn rect;\n\t}", "protected Shape getTextShape(Graphics2D g2) {\n String txt = value > 999 ? \"1K\" : Objects.toString(value);\n AffineTransform at = txt.length() < 3 ? null : AffineTransform.getScaleInstance(.66, 1d);\n return new TextLayout(txt, g2.getFont(), g2.getFontRenderContext()).getOutline(at);\n }", "public void setStrokeColor(int strokeColor) {\n this.setValue(STROKE_COLOR_PROPERTY_KEY, strokeColor);\n }", "public int getThickness ()\r\n {\r\n return glyph.getBounds().height;\r\n }", "public String toString() {\n\t\t\treturn shape;\n\t\t}", "public final org.xms.g.maps.model.PolygonOptions strokePattern(java.util.List param0) {\n if (org.xms.g.utils.GlobalEnvSetting.isHms()) {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).strokePattern(org.xms.g.utils.Utils.mapList2GH(param0, true))\");\n com.huawei.hms.maps.model.PolygonOptions hReturn = ((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).strokePattern(org.xms.g.utils.Utils.mapList2GH(param0, true));\n return ((hReturn) == null ? null : (new org.xms.g.maps.model.PolygonOptions(new org.xms.g.utils.XBox(null, hReturn))));\n } else {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).strokePattern(org.xms.g.utils.Utils.mapList2GH(param0, false))\");\n com.google.android.gms.maps.model.PolygonOptions gReturn = ((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).strokePattern(org.xms.g.utils.Utils.mapList2GH(param0, false));\n return ((gReturn) == null ? null : (new org.xms.g.maps.model.PolygonOptions(new org.xms.g.utils.XBox(gReturn, null))));\n }\n }", "public Shape getShape() \n {\n return new EllipseShape(new Extent(3,3), Color.RED,true);\n }", "public RecodedString getLineDash() {\n return ps == null ? null :ps.getDashLegend();\n }", "public final int getFillColor() {\n if (org.xms.g.utils.GlobalEnvSetting.isHms()) {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).getFillColor()\");\n return ((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).getFillColor();\n } else {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).getFillColor()\");\n return ((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).getFillColor();\n }\n }", "public int getFillColor() {\n return (int) this.getValue(FILL_COLOR_PROPERTY_KEY);\n }", "public boolean getPaintBorder() {\n\t\treturn paintBorder;\n\t}" ]
[ "0.8094446", "0.80193895", "0.79151475", "0.7856658", "0.7806968", "0.780193", "0.7695243", "0.7303381", "0.7257808", "0.7256673", "0.71816736", "0.7168758", "0.71167105", "0.70335394", "0.7026582", "0.6884968", "0.68696", "0.68172014", "0.6730789", "0.6528684", "0.6449192", "0.6441758", "0.6239615", "0.6223373", "0.61939037", "0.6185989", "0.6049948", "0.6035835", "0.5998148", "0.59976995", "0.59910333", "0.5934653", "0.5901387", "0.58543754", "0.5814408", "0.57770705", "0.5710999", "0.5693782", "0.5659578", "0.5657944", "0.55938196", "0.55610526", "0.5555003", "0.5521845", "0.5521692", "0.5513366", "0.5494059", "0.5480091", "0.54757404", "0.5471221", "0.53946376", "0.5381908", "0.53711337", "0.5371121", "0.5360394", "0.53561276", "0.53422344", "0.53274626", "0.5317533", "0.5304807", "0.52869385", "0.5276542", "0.526367", "0.5260119", "0.5230295", "0.5227375", "0.5225338", "0.5217823", "0.5214429", "0.5205501", "0.5194294", "0.5190095", "0.5186227", "0.51813096", "0.5178915", "0.515901", "0.5141577", "0.5139092", "0.5105434", "0.50821716", "0.507127", "0.5065146", "0.50647527", "0.50259113", "0.5020455", "0.5001287", "0.49973717", "0.499307", "0.49882102", "0.4975073", "0.49735218", "0.49722987", "0.4970477", "0.49701566", "0.49628147", "0.49606475", "0.49578303", "0.49550894", "0.49428222", "0.4941056" ]
0.76282525
7
Sets the stroke for this shape, with an option to turn on drawsStroke.
public void setStroke(RMStroke aStroke) { if(RMUtils.equals(getStroke(), aStroke)) return; // If value already set, just return repaint(); // Register repaint if(_stroke!=null) _stroke.removePropertyChangeListener(this); firePropertyChange("Stroke", _stroke, _stroke = aStroke, -1); // Set value and fire PropertyChange if(_stroke!=null) _stroke.addPropertyChangeListener(this); // Set shape }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setStroke(Stroke stroke);", "public abstract void setStroke(BasicStroke stroke);", "public void setStroke(Stroke s)\r\n\t{\r\n\t\tif (s instanceof BasicStroke)\r\n\t\t{\r\n\t\t\tBasicStroke bs = (BasicStroke) s;\r\n\t\t\tthis.setLineWidth(bs.getLineWidth());\r\n\r\n\t\t\tif (bs.getDashArray() != null)\r\n\t\t\t{\r\n\t\t\t\tthis.setLineStyle(CanvasType.SHORT_DASHES);\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\tthis.setLineStyle(CanvasType.SOLID);\r\n\t\t\t}\r\n\r\n\t\t}\r\n\t\t// else\r\n\t\t// System.out.println(\"setStroke not a BasicStroke\");\r\n\t}", "public final native void setStroke(Colour colour) /*-{\n\t\tthis.setStroke([email protected]::toString()());\n\t}-*/;", "public void setStrokeStyle(STYLE style);", "public void setStrokeColor(Color color);", "public void setStrokeColor(int strokeColor) {\n this.setValue(STROKE_COLOR_PROPERTY_KEY, strokeColor);\n }", "@Override\n public void stroke() {\n graphicsEnvironmentImpl.stroke(canvas);\n }", "public void setStrokeColor(RMColor aColor)\n{\n // Set stroke color\n if(aColor==null) setStroke(null);\n else if(getStroke()==null) setStroke(new RMStroke(aColor, 1));\n else getStroke().setColor(aColor);\n}", "public final void setOutlineStroke(final Stroke outlineStroke) {\n if (outlineStroke == null) {\n throw new IllegalArgumentException(\"outlineStroke must not be null\");\n }\n Stroke oldOutlineStroke = this.outlineStroke;\n this.outlineStroke = outlineStroke;\n firePropertyChange(-1, \"outlineStroke\", oldOutlineStroke,\n this.outlineStroke);\n }", "public DirectShapeRenderer stroke() {\n \t\treturn renderer.stroke();\n \t}", "public void strokeShape(Shape shape);", "public Color<?> getStrokeColor(\n )\n {return strokeColor;}", "public RMColor getStrokeColor() { return getStroke()==null? RMColor.black : getStroke().getColor(); }", "public void setStrokeGradient(Gradient gradient);", "public void setStrokeWidth(float aValue)\n{\n // Set line width\n if(getStroke()==null) setStroke(new RMStroke(RMColor.black, aValue));\n else getStroke().setWidth(aValue);\n}", "public Stroke getStroke() {\n\t\tStroke theStroke = stroke;\n\t\tif (theStroke == null) {\n\t\t\ttheStroke = new BasicStroke(strokeWidth);\n\t\t\tstroke = theStroke;\n\t\t}\n\t\treturn theStroke;\n\t}", "public void setStrokeWidth(float strokeWidth) {\n this.setValue(STROKE_WIDTH_PROPERTY_KEY, strokeWidth);\n }", "@Override\n public void setStrokeStyle(Style style) {\n Object nativeStrokeStyle = graphicsEnvironmentImpl.setStrokeStyle(canvas, style, style.getCached());\n style.cache(nativeStrokeStyle);\n }", "public RMStroke getStroke() { return _stroke; }", "public void drawStroke(Canvas canvas, Paint eraser, Shape shape, int xPosition, int yPosition, int shapePadding) {\n }", "@Override public Polyline setStrokeColor(Color strokeColor)\n {\n return (Polyline)super.setStrokeColor(strokeColor);\n }", "public int getStrokeColor() {\n return (int) this.getValue(STROKE_COLOR_PROPERTY_KEY);\n }", "public final native Colour getStroke() /*-{\n\t\treturn @net.edzard.kinetic.Colour::new(Ljava/lang/String;)(this.getStroke());\n\t}-*/;", "public void setStrokeWidth(Float strokeWidth) {\n\t\tthis.strokeWidth = strokeWidth;\n\t\tstroke = null;\n\t}", "private void applyStroke(Graphics2D graphic, Stroke stroke, Feature feature) {\n if (stroke == null) {\n return;\n }\n \n double scale = graphics.getTransform().getScaleX();\n \n if (LOGGER.isLoggable(Level.FINEST)) {\n LOGGER.finest(\"line join = \" + stroke.getLineJoin());\n }\n \n String joinType;\n \n if (stroke.getLineJoin() == null) {\n joinType = \"miter\";\n } else {\n joinType = (String) stroke.getLineJoin().getValue(feature);\n }\n \n if (joinType == null) {\n joinType = \"miter\";\n }\n \n int joinCode;\n \n if (joinLookup.containsKey(joinType)) {\n joinCode = ((Integer) joinLookup.get(joinType)).intValue();\n } else {\n joinCode = BasicStroke.JOIN_MITER;\n }\n \n String capType;\n \n if (stroke.getLineCap() != null) {\n capType = (String) stroke.getLineCap().getValue(feature);\n } else {\n capType = \"square\";\n }\n \n if (capType == null) {\n capType = \"square\";\n }\n \n int capCode;\n \n if (capLookup.containsKey(capType)) {\n capCode = ((Integer) capLookup.get(capType)).intValue();\n } else {\n capCode = BasicStroke.CAP_SQUARE;\n }\n \n float[] dashes = stroke.getDashArray();\n \n if (dashes != null) {\n for (int i = 0; i < dashes.length; i++) {\n dashes[i] = (float) Math.max(1, dashes[i] / (float) scale);\n }\n }\n \n Number value = (Number) stroke.getWidth().getValue(feature);\n float width = value.floatValue();\n value = (Number) stroke.getDashOffset().getValue(feature);\n \n float dashOffset = value.floatValue();\n value = (Number) stroke.getOpacity().getValue(feature);\n \n float opacity = value.floatValue();\n \n if (LOGGER.isLoggable(Level.FINER)) {\n LOGGER.finer(\"width, dashoffset, opacity \" + width + \" \" + dashOffset + \" \" + opacity);\n }\n \n BasicStroke stroke2d;\n \n //TODO: It should not be necessary to divide each value by scale.\n if ((dashes != null) && (dashes.length > 0)) {\n if (width <= 1.0) {\n width = 0;\n }\n \n stroke2d = new BasicStroke(width / (float) scale, capCode, joinCode,\n (float) (Math.max(1, 10 / scale)), dashes, dashOffset / (float) scale);\n } else {\n if (width <= 1.0) {\n width = 0;\n }\n \n stroke2d = new BasicStroke(width / (float) scale, capCode, joinCode,\n (float) (Math.max(1, 10 / scale)));\n }\n \n graphic.setComposite(AlphaComposite.getInstance(AlphaComposite.SRC_OVER, opacity));\n \n if (!graphic.getStroke().equals(stroke2d)) {\n graphic.setStroke(stroke2d);\n }\n \n Color color = Color.decode((String) stroke.getColor().getValue(feature));\n \n if (!graphic.getColor().equals(color)) {\n graphic.setColor(color);\n }\n \n Graphic gr = stroke.getGraphicFill();\n \n if (gr != null) {\n setTexture(graphic, gr, feature);\n } else {\n if (LOGGER.isLoggable(Level.FINER)) {\n LOGGER.finer(\"no graphic fill set\");\n }\n }\n }", "public final Stroke getOutlineStroke() {\n return outlineStroke;\n }", "public Stroke<R> getStroke() {\n if (stroke == null) {\n stroke = factory.createStroke();\n }\n return stroke;\n }", "public void stroke() throws IOException\n {\n\tif (_closedPath == true) {\n\t Paint strokingPaint = getGraphicsState().getStrokingColor().getJavaColor();\n\t if ( strokingPaint == null ) {\n\t\tstrokingPaint = getGraphicsState().getStrokingColor().getPaint(pageSize.height);\n\t }\n\t if ( strokingPaint == null ) {\n\t\tLOG.info(\"ColorSpace \"+getGraphicsState().getStrokingColor().getColorSpace().getName() +\" doesn't provide a stroking color, using white instead!\");\n\t\tstrokingPaint = Color.WHITE;\n\t }\n\t if (strokingPaint != Color.WHITE) {\n\t\tfor(Line line : _currentPath) {\n\t\t if(line.isVertical() || line.isHorizontal()) {\n\t\t\t_path.add(line);\n\t\t }\n\t\t}\n\t }\n\t}\n\t_currentPath.clear();\n }", "@Override\n\tpublic void setBasicStroke(String basicStroke) {\n\t\tthis.basicStroke=basicStroke;\n\t}", "@Override public Polyline setStrokeWidth(double strokeWidth)\n {\n return (Polyline)super.setStrokeWidth(strokeWidth);\n }", "void setStrokeWidth(float strokeWidth) {\n/* 180 */ this.mStrokeWidth = strokeWidth;\n/* */ }", "private void setStroke(Block block) {\r\n if (stroke != null) {\r\n // Isolate the color string.\r\n String color = stroke.substring(6, stroke.length() - 1);\r\n if (stroke.startsWith(\"color\")) {\r\n String tempColor = (!color.startsWith(\"RGB\")) ? color : color.substring(4, color.length() - 1);\r\n Color strokeColor = new ColorsParser().colorFromString(tempColor);\r\n block.getCollisionRectangle().setFrameColor(strokeColor);\r\n }\r\n }\r\n }", "public Stroke getStroke()\r\n\t{\r\n\t\treturn _g2.getStroke();\r\n\t}", "public final native void setStrokeWidth(double width) /*-{\n\t\tthis.setStrokeWidth(width);\n\t}-*/;", "private void resetStroke(Graphics2D graphic) {\n if (LOGGER.isLoggable(Level.FINER)) {\n LOGGER.finer(\"reseting the graphics\");\n }\n \n graphic.setStroke(DEFAULT_STROKE);\n }", "public final void setOutlinePaint(final Paint outlinePaint) {\n Paint oldOutlinePaint = this.outlinePaint;\n this.outlinePaint = outlinePaint;\n firePropertyChange(-1, \"outlinePaint\", oldOutlinePaint,\n this.outlinePaint);\n }", "public final void setGridStroke(final Stroke gridStroke) {\n if (gridStroke == null) {\n throw new IllegalArgumentException(\"gridStroke must not be null\");\n }\n Stroke oldGridStroke = this.gridStroke;\n this.gridStroke = gridStroke;\n firePropertyChange(-1, \"gridStroke\", oldGridStroke, this.gridStroke);\n }", "private synchronized void strokeStyle(Rule rule, InstanceWaypoint context){\t\n \t\t\n \t\t// retrieve stroke\n \t\tStroke stroke = null;\n \t\t\n \t\t//try the Symbolizers from the Rule\n \t\tint i = -1;\n \t\twhile(rule != null && stroke == null && i < rule.getSymbolizers().length){\n \t\t\ti++;\n \t\t\tif (rule.getSymbolizers()[i] instanceof LineSymbolizer){\n \t\t\t\tstroke = SLD.stroke((LineSymbolizer)rule.getSymbolizers()[i]);\t\t\t\t\n \t\t\t\t}\n \t\t\telse if (rule.getSymbolizers()[i] instanceof PolygonSymbolizer){\n \t\t\t\tstroke = SLD.stroke((PolygonSymbolizer)rule.getSymbolizers()[i]);\t\t\t\t\n \t\t\t\t}\n \t\t\telse if (rule.getSymbolizers()[i] instanceof PointSymbolizer){\n \t\t\t\tstroke = SLD.stroke((PointSymbolizer)rule.getSymbolizers()[i]);\t\t\t\t\n \t\t\t\t}\n \t\t\t}\n \t\t\n \t\n \t\t//if we have a stroke now\n \t\tif (stroke != null) {\n \t\t\t//XXX is there any Geotools stroke to AWT stroke lib/code somewhere?!\n \t\t\t//XXX have a look at the renderer code (StreamingRenderer)\n \t\t\t\n \t\t\t// stroke color\n \t\t\tColor sldColor = SLD.color(stroke);\n \t\t\tdouble opacity = SLD.opacity(stroke);\n \t\t\tif (Double.isNaN(opacity)) {\n \t\t\t\t// fall back to default opacity\n \t\t\t\topacity = StyleHelper.DEFAULT_FILL_OPACITY;\n \t\t\t}\n \t\t\tif (sldColor != null) {\n \t\t\t\tstyleStrokeColor = new Color(sldColor.getRed(), sldColor.getGreen(), \n \t\t\t\t\t\tsldColor.getBlue(), (int) (opacity * 255));\n \t\t\t}\n \t\t\telse {\n \t\t\t\tstyleStrokeColor = super.getBorderColor(context);\n \t\t\t}\n \t\t\t\n \t\t\t// stroke width\n \t\t\tint strokeWidth = SLD.width(stroke);\n \t\t\tif (strokeWidth == SLD.NOTFOUND) {\n \t\t\t\t// fall back to default width\n \t\t\t\tstrokeWidth = StylePreferences.getDefaultWidth(); \n \t\t\t}\n \t\t\tstyleStroke = new BasicStroke(strokeWidth);\n \t\t}\n \t\telse {\n \t\t\tstyleStroke = null;\n \t\t\tstyleStrokeColor = null;\n \t\t}\n \t}", "public void setPaintBorder(boolean paint) {\n\t\tthis.paintBorder = paint;\n\t}", "public void drawStroke(Canvas canvas) {\n if (isValidStroke && points.size() > 1) {\n for (int i = 0; i < points.size()-1; i++) {\n int x1 = points.get(i).x;\n int y1 = points.get(i).y;\n int x2 = points.get(i+1).x;\n int y2 = points.get(i+1).y;\n canvas.drawLine(x1, y1, x2, y2, paint);\n }\n }\n }", "public final int getStrokeColor() {\n if (org.xms.g.utils.GlobalEnvSetting.isHms()) {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).getStrokeColor()\");\n return ((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).getStrokeColor();\n } else {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).getStrokeColor()\");\n return ((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).getStrokeColor();\n }\n }", "public void setFill(boolean fill) {\r\n if (fill) {\r\n \tmPaint.setStyle(Paint.Style.FILL);\r\n }else{\r\n \tmPaint.setStyle(Paint.Style.STROKE);\r\n }\r\n }", "public void setErrorIndicatorStroke(Stroke stroke) {\n/* 188 */ this.errorIndicatorStroke = stroke;\n/* 189 */ fireChangeEvent();\n/* */ }", "@Override\n\tpublic void setOutLineFill(String outlinefill) {\n\t\tthis.outLineFill=outlinefill;\n\t}", "public void setDrawMarks(boolean draw) {\r\n this.drawMarks = draw;\r\n }", "public float getStrokeWidth() { return getStroke()==null? 0 : getStroke().getWidth(); }", "public void setNowLineStrokeWidth(int nowLineStrokeWidth) {\n config.nowLineStrokeWidth = nowLineStrokeWidth;\n invalidate();\n }", "@Override\n public void strokeRect(double x, double y, double width, double height) {\n graphicsEnvironmentImpl.strokeRect(canvas, x, y, width, height);\n }", "public void setDrawLine(boolean b){\n\t\tdraw = b; \n\t}", "public void setSelectOvalStrokeColor(@ColorInt int color) {\n this.mSelectOvalStrokeColor = color;\n }", "public void drawStroke(int[] rgb) {\n\t\tparent.stroke(rgb[0], rgb[1], rgb[2]);\n\t}", "public final native void clearStroke() /*-{\n\t\tthis.setStroke(null);\n\t}-*/;", "public void setPaintBorder(boolean paint) {\n\t\tif (paint!=p.getPaintBorder()) {\n\t\t\tp.setPaintBorder(paint);\n\t\t\tif (textArea!=null) {\n\t\t\t\ttextArea.repaint();\n\t\t\t}\n\t\t}\n\t}", "public final ObjectProperty<StrokeType> strokeTypeProperty() {\n return getStrokeAttributes().typeProperty();\n }", "void drawOutline(DrawContext dc, Object shape);", "public void setLineWidth(float lineWidth);", "public ColorSpace<?> getStrokeColorSpace(\n )\n {return strokeColorSpace;}", "public void setStrikeout(boolean strikeout)\n {\n font.setStrikeout(strikeout);\n }", "public final org.xms.g.maps.model.PolygonOptions strokeColor(int param0) {\n if (org.xms.g.utils.GlobalEnvSetting.isHms()) {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).strokeColor(param0)\");\n com.huawei.hms.maps.model.PolygonOptions hReturn = ((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).strokeColor(param0);\n return ((hReturn) == null ? null : (new org.xms.g.maps.model.PolygonOptions(new org.xms.g.utils.XBox(null, hReturn))));\n } else {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).strokeColor(param0)\");\n com.google.android.gms.maps.model.PolygonOptions gReturn = ((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).strokeColor(param0);\n return ((gReturn) == null ? null : (new org.xms.g.maps.model.PolygonOptions(new org.xms.g.utils.XBox(gReturn, null))));\n }\n }", "protected void prepareToDrawOutline(DrawContext dc, ShapeAttributes activeAttrs, ShapeAttributes defaultAttrs)\n {\n if (activeAttrs == null || !activeAttrs.isDrawOutline())\n return;\n\n GL2 gl = dc.getGL().getGL2(); // GL initialization checks for GL2 compatibility.\n\n if (!dc.isPickingMode())\n {\n Material material = activeAttrs.getOutlineMaterial();\n if (material == null)\n material = defaultAttrs.getOutlineMaterial();\n\n if (this.mustApplyLighting(dc, activeAttrs))\n {\n material.apply(gl, GL2.GL_FRONT_AND_BACK, (float) activeAttrs.getOutlineOpacity());\n\n gl.glEnable(GL2.GL_LIGHTING);\n gl.glEnableClientState(GL2.GL_NORMAL_ARRAY);\n }\n else\n {\n Color sc = material.getDiffuse();\n double opacity = activeAttrs.getOutlineOpacity();\n gl.glColor4ub((byte) sc.getRed(), (byte) sc.getGreen(), (byte) sc.getBlue(),\n (byte) (opacity < 1 ? (int) (opacity * 255 + 0.5) : 255));\n\n gl.glDisable(GL2.GL_LIGHTING);\n gl.glDisableClientState(GL2.GL_NORMAL_ARRAY);\n }\n\n gl.glHint(GL.GL_LINE_SMOOTH_HINT, activeAttrs.isEnableAntialiasing() ? GL.GL_NICEST : GL.GL_DONT_CARE);\n }\n\n if (dc.isPickingMode() && activeAttrs.getOutlineWidth() < this.getOutlinePickWidth())\n gl.glLineWidth(this.getOutlinePickWidth());\n else\n gl.glLineWidth((float) activeAttrs.getOutlineWidth());\n\n if (activeAttrs.getOutlineStippleFactor() > 0)\n {\n gl.glEnable(GL2.GL_LINE_STIPPLE);\n gl.glLineStipple(activeAttrs.getOutlineStippleFactor(), activeAttrs.getOutlineStipplePattern());\n }\n else\n {\n gl.glDisable(GL2.GL_LINE_STIPPLE);\n }\n\n gl.glDisable(GL.GL_TEXTURE_2D);\n }", "public void setLinePainting (boolean value)\r\n {\r\n boolean oldValue = constants.linePainting.getValue();\r\n constants.linePainting.setValue(value);\r\n firePropertyChange(LINE_PAINTING, oldValue, value);\r\n }", "private void setPenDown(boolean value)\n {\n\n if (value)\n {\n strokeBuilder = new StrokeBuilder();\n }\n else\n {\n final PathCurve curve = strokeBuilder.getDisplayPath();\n if (curve != null)\n {\n SwingUtilities.invokeLater(new Runnable()\n {\n @Override\n public void run()\n {\n history.add(curve.asPath2D());\n repaint();\n }\n });\n }\n strokeBuilder = null;\n }\n penDown = value;\n }", "public void setCurrentStrokeValue(float value,int color) {\n currentStrokeValue = value;\n if(strokeWidthView != null) {\n strokeWidthView.setProgress((int) value,color);\n strokeWidthView.invalidate();\n }\n }", "public void draw(Graphics2D g) {\n g.setStroke(stroke);\n g.setColor(EditorCommonSettings.getGridColor());\n g.draw(minorLinesPath);\n g.setColor(EditorCommonSettings.getGridColor().darker());\n g.draw(majorLinesPath);\n }", "public void setSkyPaint(EnvironmentPaint skyPaint) {\n if (skyPaint != this.skyPaint) {\n EnvironmentPaint oldSkyPaint = this.skyPaint;\n this.skyPaint = skyPaint;\n this.propertyChangeSupport.firePropertyChange(Property.SKY_PAINT.name(), oldSkyPaint, skyPaint);\n }\n }", "public void setDrawBorders(boolean drawingBorders) {\n\t\tthis.drawingBorders = drawingBorders;\n\t}", "@Override\n public void strokeText(String text, double x, double y) {\n graphicsEnvironmentImpl.strokeText(canvas, text, x, y);\n }", "private void setPenColor() {\n\t}", "public void drawStroke(int[] rgb) {\n\t\tstroke(rgb[0], rgb[1], rgb[2]);\n\t}", "public Pen(@Nullable BasicStroke stroke, @Nullable Color color) {\n Color c = Color.BLACK;\n if (color != null) {\n c = color;\n }\n this.color = c;\n BasicStroke s = new BasicStroke();\n if (stroke != null) {\n s = stroke;\n }\n this.stroke = s;\n }", "private void setupDrawing(){\n brushSize = 1;\n lastBrushSize = brushSize;\n drawPath = new Path();\n drawPaint = new Paint();\n drawPaint.setColor(paintColor);\n drawPaint.setAntiAlias(true);\n drawPaint.setStrokeWidth(brushSize);\n drawPaint.setStyle(Paint.Style.STROKE);\n drawPaint.setStrokeJoin(Paint.Join.ROUND);\n drawPaint.setStrokeCap(Paint.Cap.ROUND);\n canvasPaint = new Paint(Paint.DITHER_FLAG);\n }", "protected void setDrawing(boolean drawing) {\n\tmDrawing = drawing;\n}", "private void setOutline(JPanel panel, boolean outline) {\n Color borderColor = outline ? outlineColor : ((java.awt.Color)panel.getBackground());\n Border b = BorderFactory.createLineBorder(borderColor);\n panel.setBorder(b);\n }", "public void drawStrokeRectangle(Rectangle rectangle) {\n implementation.devDrawStrokeRectangle(\n (int) rectangle.getMinX(),\n (int) rectangle.getMinY(),\n (int) rectangle.getWidth(),\n (int) rectangle.getHeight(),\n rectangle.getColor()\n );\n }", "StrokeMatcher strokeMatcher() {\n return mStrokeMatcher;\n }", "public Pen() {\n color = Color.BLACK;\n stroke = new BasicStroke();\n }", "public void execDrawEllipse(Stroke stroke , Color borderColor, Color fillColor, Ellipse2D.Double hole , boolean isFill){\n\t\tthis.mg2.setColor(borderColor); \n\t\tthis.mg2.setStroke(stroke);\t\t\n\t\tthis.mg2.draw(hole);\n\t\tif(isFill){\n\t\t\tthis.mg2.setColor(fillColor); \n\t\t\tthis.mg2.draw(hole);\n\t\t}\n\t}", "public void drawSelected(Graphics2D g2) {\n\t\tfloat[] dashes = {1,1,1};\n \tBasicStroke stroke = new BasicStroke(2, BasicStroke.CAP_SQUARE, BasicStroke.CAP_SQUARE, 10, dashes, 10);\n \tg2.setColor(Color.RED);\n\t\tg2.draw(stroke.createStrokedShape(new Rectangle2D.Double(this.getX()-2,this.getY()-2,this.getDimension()+4,this.getDimension()/2 +4)));\n\t}", "public void setSelectOvalStrokeWidth(int width) {\n this.mSelectOvalStrokeWidth = width;\n }", "public void setSentencePainting (boolean value)\r\n {\r\n boolean oldValue = constants.sentencePainting.getValue();\r\n constants.sentencePainting.setValue(value);\r\n firePropertyChange(SENTENCE_PAINTING, oldValue, value);\r\n }", "public final int getStrokeJointType() {\n if (org.xms.g.utils.GlobalEnvSetting.isHms()) {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).getStrokeJointType()\");\n return ((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).getStrokeJointType();\n } else {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).getStrokeJointType()\");\n return ((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).getStrokeJointType();\n }\n }", "public float getStrokeWidth() {\n\t\treturn strokeWidth;\n\t}", "public final Pen changeStyle(LineStyle style) {\n Color resultColor = this.color;\n BasicStroke resultStroke = LineStyleUtils.getStroke(style, stroke.getLineWidth());\n return new Pen(resultStroke, resultColor);\n }", "@Override\n\tpublic boolean onTouchEvent(MotionEvent event)\n\t{\n\t\tif (event.getPointerCount() == 1)\n\t\t{\n\t\t\tif (event.getAction() != MotionEvent.ACTION_UP)\n\t\t\t{\n\t\t\t\ttouchXPrev = touchX;\n\t\t\t\ttouchYPrev = touchY;\n\n\t\t\t\ttouchX = event.getX();\n\t\t\t\ttouchY = event.getY();\n\t\t\t}\n\t\t\telse if (touchAction == TOUCH_PINCH)\n\t\t\t{\n\t\t\t\tstrokeSegmentLength = 0;\n\t\t\t\tstrokePointCount = 0;\n\t\t\t\tlatestStroke = new Stroke(this, true);\n\t\t\t\ttouchAction = TOUCH_NONE;\n\t\t\t\trenderer.resetRenderCount();\n\t\t\t\treturn true;\n\t\t\t}\n\n\t\t\tswitch (tool)\n\t\t\t{\n\t\t\t\tcase TOOL_ERASER:\n\t\t\t\t{\n\t\t\t\t\t// Do nothing here. Let the TOOL_PENCIL case execute.\n\t\t\t\t}\n\t\t\t\tcase TOOL_PENCIL:\n\t\t\t\t{\n\t\t\t\t\tswitch (event.getAction())\n\t\t\t\t\t{\n\t\t\t\t\t\tcase MotionEvent.ACTION_DOWN:\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tif (touchAction == TOUCH_NONE)\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t// Start drawing a new path.\n\t\t\t\t\t\t\t\ttouchAction = TOUCH_DRAG;\n\n\t\t\t\t\t\t\t\tlatestStroke.isEraser = tool == TOOL_ERASER;\n\t\t\t\t\t\t\t\tlatestStroke.setColor(strokeColor);\n\t\t\t\t\t\t\t\tlatestStroke.setThickness(strokeThickness);\n\n\t\t\t\t\t\t\t\tstrokeSegmentLength = 0f;\n\t\t\t\t\t\t\t\tstrokePointCount = 0;\n\t\t\t\t\t\t\t\taddPointToStroke(touchX, touchY);\n\n\t\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcase MotionEvent.ACTION_MOVE:\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tif (touchAction == TOUCH_DRAG)\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t// Has the stroke reached the maximum number of points? Stop adding any more points.\n\t\t\t\t\t\t\t\tif (strokePointCount >= Stroke.TriangleStrip.STROKE_POINT_LIMIT) return true;\n\n\t\t\t\t\t\t\t\t// Continue drawing a new path.\n\t\t\t\t\t\t\t\tstrokeSegmentLength += Math.sqrt((touchX - touchXPrev) * (touchX - touchXPrev)\n\t\t\t\t\t\t\t\t\t\t+ (touchY - touchYPrev) * (touchY - touchYPrev));\n\n\t\t\t\t\t\t\t\t// Has the path distance exceeded the threshold? Add a new point.\n\t\t\t\t\t\t\t\tif (strokeSegmentLength >= Stroke.SEGMENT_THRESHOLD)\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tstrokeSegmentLength = 0f;\n\t\t\t\t\t\t\t\t\tstrokePointCount++;\n\t\t\t\t\t\t\t\t\taddPointToStroke(touchX, touchY);\n\t\t\t\t\t\t\t\t\trequestRender();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcase MotionEvent.ACTION_UP:\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tif (touchAction == TOUCH_DRAG)\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tif (strokePointCount > 2 && latestStroke != null)\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tlatestStroke.optimize(this);\n\n\t\t\t\t\t\t\t\t\tproject.getChunkFromId(latestStroke.chunkId).addStroke(latestStroke);\n\t\t\t\t\t\t\t\t\tproject.addLoadedStroke(latestStroke);\n\n\t\t\t\t\t\t\t\t\tproject.saveChunks(new long[]{latestStroke.getContainingChunk()}, false);\n\t\t\t\t\t\t\t\t\tproject.saveMetadata();\n\t\t\t\t\t\t\t\t\tproject.getCurrentSheet().saveMetadata();\n\n\t\t\t\t\t\t\t\t\tproject.incrementStrokeCount();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tlatestStroke = new Stroke(this, true);\n\t\t\t\t\t\t\t\trequestRender();\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\ttouchAction = TOUCH_NONE;\n\t\t\t\t\t\t\trenderer.resetRenderCount();\n\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t// Is a double touch detected?\n\t\telse if (event.getPointerCount() == 2)\n\t\t{\n\t\t\t// Prepare the necessary variables for the pinch/drag.\n\t\t\tif (event.getAction() != MotionEvent.ACTION_UP)\n\t\t\t{\n\t\t\t\t/* For some reason, MotionEvent.getPointerId(int) can throw an IllegalArgumentException\n\t\t\t\t * even when MotionEvent.getPointerCount() is 2. If this happens, catch the exception\n\t\t\t\t * and discard the touch operation. */\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\ttouchXPrev = touchX;\n\t\t\t\t\ttouchYPrev = touchY;\n\n\t\t\t\t\ttouchX = event.getX(event.getPointerId(0));\n\t\t\t\t\ttouchY = event.getY(event.getPointerId(0));\n\n\t\t\t\t\ttouchX2 = event.getX(event.getPointerId(1));\n\t\t\t\t\ttouchY2 = event.getY(event.getPointerId(1));\n\n\t\t\t\t\tpinchCenterXPrev = pinchCenterX;\n\t\t\t\t\tpinchCenterYPrev = pinchCenterY;\n\n\t\t\t\t\tpinchCenterX = (touchX + touchX2)/2f;\n\t\t\t\t\tpinchCenterY = (touchY + touchY2)/2f;\n\t\t\t\t}\n\t\t\t\tcatch (IllegalArgumentException e)\n\t\t\t\t{\n\t\t\t\t\ttouchAction = TOUCH_NONE;\n\t\t\t\t\trenderer.resetRenderCount();\n\t\t\t\t\tlatestStroke = new Stroke(this, true);\n\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tswitch (event.getAction())\n\t\t\t{\n\t\t\t\tcase MotionEvent.ACTION_DOWN:\n\t\t\t\t{\n\t\t\t\t\treturn false; // Nothing should happen here, so reject the event.\n\t\t\t\t}\n\t\t\t\tcase MotionEvent.ACTION_MOVE:\n\t\t\t\t{\n\t\t\t\t\tif (touchAction != TOUCH_PINCH)\n\t\t\t\t\t{\n\t\t\t\t\t\tinitialPinchDistance = (float) Math.sqrt((touchX - touchX2) * (touchX - touchX2) + (touchY - touchY2) * (touchY - touchY2));\n\t\t\t\t\t\tinitialZoom = zoom;\n\t\t\t\t\t\tzoomPrev = zoom;\n\t\t\t\t\t\ttouchAction = TOUCH_PINCH;\n\t\t\t\t\t}\n\n\t\t\t\t\tfloat pinchDistance = (float) Math.sqrt((touchX - touchX2) * (touchX - touchX2) + (touchY - touchY2) * (touchY - touchY2));\n\t\t\t\t\tfloat pinchDistanceRatio = pinchDistance / initialPinchDistance;\n\n\t\t\t\t\tfloat pinchCenterDiffX = pinchCenterX - pinchCenterXPrev;\n\t\t\t\t\tfloat pinchCenterDiffY = pinchCenterY - pinchCenterYPrev;\n\n\t\t\t\t\tfloat vectorX = (pinchCenterX - (viewportWidth/2f))/zoom;\n\t\t\t\t\tfloat vectorY = (pinchCenterY - (viewportHeight/2f))/zoom;\n\n\t\t\t\t\tfloat zoomDiff = zoom - zoomPrev;\n\n\t\t\t\t\tzoomPrev = zoom;\n\t\t\t\t\tsetZoomAndPan(initialZoom * pinchDistanceRatio, -(pinchCenterDiffX - vectorX * zoomDiff)/zoom, (pinchCenterDiffY - vectorY * zoomDiff)/zoom);\n\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tcase MotionEvent.ACTION_UP:\n\t\t\t\t{\n\t\t\t\t\ttouchAction = TOUCH_NONE;\n\t\t\t\t\trenderer.resetRenderCount();\n\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn false;\n\t}", "public abstract void setLineWidth(float lineWidth);", "public final Marking setLineWidth( int lineWidth )\n {\n put( LINE_WIDTH_KEY, lineWidth );\n return this;\n }", "public B selectionStrokeMultiplier(float selectionStrokeMultiplier) {\n this.selectionStrokeMultiplier = selectionStrokeMultiplier;\n return self();\n }", "@Override\n\tpublic void setPaint() {\n\t\tisPaint = true;\n\t}", "@Override\n \tprotected java.awt.Stroke getLineStroke(InstanceWaypoint context) {\n \t\tinitStyle(context);\n \t\t\n \t\tif (styleStroke != null && !context.isSelected()) {\n \t\t\treturn styleStroke;\n \t\t}\n \t\telse {\n \t\t\treturn super.getLineStroke(context);\n \t\t}\n \t}", "public void setLineStyle(int style)\r\n\t{\r\n\t\tg.setPenStyle(style);\r\n\t}", "public void setBorder(boolean bordered) {\n mPolygonShapeSpec.setHasBorder(bordered);\n updateBorderSpecs();\n }", "public static LineStyle getLineStyle(BasicStroke stroke) {\n LineStyle style = LineStyle.solid;\n if (stroke.getDashArray() != null) {\n if (stroke.getDashArray()[0]\n > stroke.getLineWidth()) {\n style = LineStyle.dashed;\n } else {\n style = LineStyle.solid;\n }\n }\n return style;\n }", "@Override\n public void setLineCap(String style) {\n graphicsEnvironmentImpl.setLineCap(canvas, style);\n }", "public Stroke getInnerStroke() {\n return null;\n }", "public void setPaintMode()\r\n\t{\r\n\t\t// System.out.println(\"setPaintMode\");\r\n\t}", "public void setPaint(Paint paint)\n {\n g2.setPaint(paint);\n }", "public void setIsFontStrikeout(boolean value) {\n this.isFontStrikeout = value;\n }", "@Override\n protected void onDraw(Canvas canvas) {\n for (Path p : paths) {\n mPaint.setColor(strokeMap.get(p).getStrokeColor());\n mPaint.setStrokeWidth(strokeMap.get(p).getStrokeWidth());\n canvas.drawPath(p, mPaint);\n }\n //draws current path\n mPaint.setColor(paintColor);\n mPaint.setStrokeWidth(strokeWidth);\n canvas.drawPath(mPath, mPaint);\n }", "public void initialSetting(AttributeSet attributeSet, int defStyleAttr){\n paint_brush.setAntiAlias(true);\n\n //Setting the color for the Paint Brush\n paint_brush.setColor(Color.BLACK);\n\n //Setting the corner display for the drawings done by the User\n //The corners will be seen circular in display\n paint_brush.setStrokeJoin(Paint.Join.ROUND);\n\n //Setting the style of the stroke of the paint brush\n paint_brush.setStyle(Paint.Style.STROKE);\n\n //Setting the width of the stroke of the paint brush\n paint_brush.setStrokeWidth(8f);\n }" ]
[ "0.8146441", "0.7398785", "0.7114552", "0.70126164", "0.69958436", "0.6943727", "0.68330145", "0.68322444", "0.6641789", "0.6466699", "0.643443", "0.622716", "0.61708426", "0.60788345", "0.60351056", "0.6013233", "0.60113597", "0.6007208", "0.5996261", "0.5926947", "0.5925004", "0.5914661", "0.5897858", "0.58450216", "0.5838214", "0.58317864", "0.5828239", "0.5759373", "0.5749048", "0.57355237", "0.56795126", "0.564578", "0.56398743", "0.56000763", "0.5587039", "0.5559854", "0.55511904", "0.55456895", "0.5545513", "0.54310673", "0.54045874", "0.5372331", "0.5351293", "0.5350742", "0.5316619", "0.5247862", "0.5247312", "0.5237235", "0.5235554", "0.5235378", "0.5229332", "0.5228548", "0.5222794", "0.518107", "0.5180529", "0.5171742", "0.51070523", "0.5097465", "0.50609577", "0.5058415", "0.50484484", "0.50471354", "0.5046243", "0.5036664", "0.50245464", "0.50173086", "0.50096124", "0.4996775", "0.4992012", "0.49758163", "0.49757707", "0.4974714", "0.4973182", "0.49629074", "0.49473497", "0.49016866", "0.49008718", "0.48852268", "0.48627743", "0.48584294", "0.4849585", "0.4831923", "0.4823339", "0.48122948", "0.48048836", "0.48032114", "0.47959006", "0.47933716", "0.47907826", "0.47894388", "0.47780386", "0.47560087", "0.47455812", "0.4737097", "0.47113615", "0.47031578", "0.46993127", "0.46476376", "0.46358913", "0.4632406" ]
0.69514686
5
Returns the fill for this shape.
public RMFill getFill() { return _fill; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean getFill(){\n\t\treturn this.fill;\n\t}", "public Color getFillColor() {\n return fillColor;\n }", "public Color<?> getFillColor(\n )\n {return fillColor;}", "public double getFill() {\n\t\treturn _fillGrade;\n\t}", "Paint getFilling() {\n return bufFill;\n }", "boolean getFill();", "public boolean getIsFill(){\n\t\treturn isFill;\n\t}", "public int getFillColor() {\n return (int) this.getValue(FILL_COLOR_PROPERTY_KEY);\n }", "public boolean isFillArea() {\n\t\treturn fillArea;\n\t}", "public boolean isFilled ( ) {\r\n\t\treturn fill_flag;\r\n\t}", "private int getFillColor() {\n \t\tint id = this.area.getMode() == GPSFilterMode.INCLUDE ? POLYGON_INCLUDE_FILL_COLOR : POLYGON_EXCLUDE_FILL_COLOR;\n \t\treturn adjustAlpha( this.getResources().getColor( id ), 255 * 0.5f );\n \t}", "public final int getFilled() {\n return filled;\n }", "public ColorSpace<?> getFillColorSpace(\n )\n {return fillColorSpace;}", "Color getCurrentFillColour() {\n return this.currentFillColour;\n }", "public boolean isFillEnabled() {\n return mFillEnabled;\n }", "public mxStyleSheet getFillStyle()\n\t{\n\t\treturn fillStyle;\n\t}", "@Override\n public Paint getInitialValue(Shape node) {\n return node.impl_cssGetFillInitialValue();\n }", "public boolean isFilled() {\r\n return this.filled;\r\n }", "public RecodedColor getFillColor(){\n return (RecodedColor) fill.getFillColorLegend();\n }", "public Fill() { }", "public boolean getHorizontalFill() {\n return hfill;\n }", "public boolean getVerticalFill() {\n return vfill;\n }", "public boolean isShouldFillShape() {\n return this.shouldFillShape;\n }", "public void setFill(boolean fill) {\n isFilled = fill;\n }", "public void fillShape(Shape shape);", "public final int getFillColor() {\n if (org.xms.g.utils.GlobalEnvSetting.isHms()) {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).getFillColor()\");\n return ((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).getFillColor();\n } else {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).getFillColor()\");\n return ((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).getFillColor();\n }\n }", "public RMColor getColor() { return getFill()==null? RMColor.black : getFill().getColor(); }", "@Override\n public void fill() {\n graphicsEnvironmentImpl.fill(canvas);\n }", "@Override\n public java.lang.Object getUilBoxFillColor() throws G2AccessException {\n java.lang.Object retnValue = getAttributeValue (UIL_BOX_FILL_COLOR_);\n return (java.lang.Object)retnValue;\n }", "public boolean isFilled() {\n return filled;\n }", "public String getFillColor();", "public abstract void drawFill();", "public Color getFillColor() {\n return (((Color) data[GENERAL_BACKGROUND][PROP_VAL_VALUE]));\n }", "public com.google.cloud.dialogflow.cx.v3beta1.Form.Parameter.FillBehavior getFillBehavior() {\n if (fillBehaviorBuilder_ == null) {\n return fillBehavior_ == null\n ? com.google.cloud.dialogflow.cx.v3beta1.Form.Parameter.FillBehavior\n .getDefaultInstance()\n : fillBehavior_;\n } else {\n return fillBehaviorBuilder_.getMessage();\n }\n }", "public boolean isFilled() \n\t{\n\t\treturn filled;\n\t}", "void setFill(boolean fill);", "public final native void setFill(PatternFillStyle pattern) /*-{\n\t\t this.attrs.fill = {\n\t\t\timage: [email protected]::getImage()()[email protected]::getElement()(),\n\t\t\toffset: {x: [email protected]::getOffset()()[email protected]::x, \n \t\t y: [email protected]::getOffset()()[email protected]::y},\n repeat: [email protected]::getRepetition()()[email protected]::toString()()\t \n };\n\t}-*/;", "public boolean fill() {\n boolean modified = false;\n for (int i = 0; i < gameBoard.getSize(); i++) {\n for (int j = gameBoard.getSize() - 1; j >= 0; j--) {\n Coordinates actualCoordinates = new Coordinates(i, j);\n if (gameBoard.getValue(actualCoordinates) == 0) {\n if (j == 0) {\n gameBoard.setValue(actualCoordinates, DiamondColor.getRandomColor());\n } else {\n Coordinates topCoordinates = new Coordinates(i, j - 1);\n gameBoard.setValue(actualCoordinates, gameBoard.getValue(topCoordinates));\n gameBoard.setValue(topCoordinates, 0);\n }\n modified = true;\n }\n }\n }\n return modified;\n }", "public void setFill(boolean b){\n\t\tthis.fill = b;\n\t}", "@java.lang.Override\n public com.google.cloud.dialogflow.cx.v3beta1.Form.Parameter.FillBehavior getFillBehavior() {\n return fillBehavior_ == null\n ? com.google.cloud.dialogflow.cx.v3beta1.Form.Parameter.FillBehavior.getDefaultInstance()\n : fillBehavior_;\n }", "public com.google.cloud.dialogflow.cx.v3beta1.Form.Parameter.FillBehaviorOrBuilder\n getFillBehaviorOrBuilder() {\n if (fillBehaviorBuilder_ != null) {\n return fillBehaviorBuilder_.getMessageOrBuilder();\n } else {\n return fillBehavior_ == null\n ? com.google.cloud.dialogflow.cx.v3beta1.Form.Parameter.FillBehavior\n .getDefaultInstance()\n : fillBehavior_;\n }\n }", "public void setFill(boolean fill) {\n\t\t_fill = fill;\n\t\tnotifyObs(this);\n\t}", "public void setFillArea(boolean fillArea) {\n\t\tthis.fillArea = fillArea;\n\t}", "public void setFilled ( boolean flag ) {\r\n\t\tfill_flag = flag;\r\n\t}", "public abstract boolean getFilled();", "public boolean isFilled() {\n return isFilled;\n }", "public void setFill(boolean fill) {\r\n if (fill) {\r\n \tmPaint.setStyle(Paint.Style.FILL);\r\n }else{\r\n \tmPaint.setStyle(Paint.Style.STROKE);\r\n }\r\n }", "private void drawShapeWithFilling(Canvas canvas, int filling, int shape) {\n switch (filling) {\n case 1:\n paint.setStyle(Paint.Style.STROKE);\n drawShape(canvas, shape);\n break;\n case 2:\n /*\n * For intermediate filling, we draw concentric copies of\n * the same shape.\n */\n paint.setStyle(Paint.Style.STROKE);\n float w = r.width() / 2.0F;\n float u = CONCENTRIC_STEP * (r.height() / r.width());\n for (float i = 0; i < w; i += CONCENTRIC_STEP) {\n drawShape(canvas, shape);\n r.left += CONCENTRIC_STEP;\n r.top += u;\n r.right -= CONCENTRIC_STEP;\n r.bottom -= u;\n }\n break;\n case 3:\n paint.setStyle(Paint.Style.FILL);\n drawShape(canvas, shape);\n break;\n default:\n throw new IllegalArgumentException(\n \"Illegal filling characteristic.\");\n }\n }", "@java.lang.Override\n public com.google.cloud.dialogflow.cx.v3beta1.Form.Parameter.FillBehaviorOrBuilder\n getFillBehaviorOrBuilder() {\n return fillBehavior_ == null\n ? com.google.cloud.dialogflow.cx.v3beta1.Form.Parameter.FillBehavior.getDefaultInstance()\n : fillBehavior_;\n }", "public Paint getBlockColor() {\n return rectangle.getFill();\n }", "boolean hasFillBehavior();", "public void setFilled(boolean filled) {\r\n this.filled = filled;\r\n }", "public Image getImage()\n {\n if (fill instanceof ImageFill)\n {\n return ((ImageFill) fill).getImage();\n }\n else\n {\n return null;\n }\n }", "public void setFilled(boolean filled) {\n this.filled = filled;\n }", "com.google.cloud.dialogflow.cx.v3beta1.Form.Parameter.FillBehavior getFillBehavior();", "public Action setFillEnabled(boolean fillEnabled) {\n mFillEnabled = fillEnabled;\n return this;\n }", "@java.lang.Override\n public boolean hasFillBehavior() {\n return fillBehavior_ != null;\n }", "public void setFillLevel(final double fill) {\n\t\t_fillGrade = fill;\n\t}", "protected ItemStack getFilled(FluidStack drained) {\n return this.filled.get().copy();\n }", "@SuppressWarnings(\"unchecked\")\n public AnimatorType fillColor(Color fillColor)\n {\n addTransformer(new FillColorTransformer(getShape(), fillColor));\n return (AnimatorType) this;\n }", "public boolean hasFillBehavior() {\n return ((bitField0_ & 0x00000010) != 0);\n }", "@Override\n public FillableShape getShape()\n {\n return FillableShape.this;\n }", "public char getFillingDirection() {\n\t\treturn dir;\n\t}", "public void setFilled(boolean filled) \n\t{\n\t\tthis.filled = filled;\n\t}", "public RecodedReal getFillOpacity(){\n return (RecodedReal) fill.getFillOpacityLegend();\n }", "com.google.cloud.dialogflow.cx.v3beta1.Form.Parameter.FillBehaviorOrBuilder\n getFillBehaviorOrBuilder();", "public final org.xms.g.maps.model.PolygonOptions fillColor(int param0) {\n if (org.xms.g.utils.GlobalEnvSetting.isHms()) {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).fillColor(param0)\");\n com.huawei.hms.maps.model.PolygonOptions hReturn = ((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).fillColor(param0);\n return ((hReturn) == null ? null : (new org.xms.g.maps.model.PolygonOptions(new org.xms.g.utils.XBox(null, hReturn))));\n } else {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).fillColor(param0)\");\n com.google.android.gms.maps.model.PolygonOptions gReturn = ((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).fillColor(param0);\n return ((gReturn) == null ? null : (new org.xms.g.maps.model.PolygonOptions(new org.xms.g.utils.XBox(gReturn, null))));\n }\n }", "public Color getShapeColor() {\n\t\tif (_shape != null) return _shape.getColor();\n\t\telse return null;\n\t}", "public int getCircleFillColor() {\r\n\t\treturn mCircleFillColor;\r\n\t}", "private com.google.protobuf.SingleFieldBuilderV3<\n com.google.cloud.dialogflow.cx.v3beta1.Form.Parameter.FillBehavior,\n com.google.cloud.dialogflow.cx.v3beta1.Form.Parameter.FillBehavior.Builder,\n com.google.cloud.dialogflow.cx.v3beta1.Form.Parameter.FillBehaviorOrBuilder>\n getFillBehaviorFieldBuilder() {\n if (fillBehaviorBuilder_ == null) {\n fillBehaviorBuilder_ =\n new com.google.protobuf.SingleFieldBuilderV3<\n com.google.cloud.dialogflow.cx.v3beta1.Form.Parameter.FillBehavior,\n com.google.cloud.dialogflow.cx.v3beta1.Form.Parameter.FillBehavior.Builder,\n com.google.cloud.dialogflow.cx.v3beta1.Form.Parameter.FillBehaviorOrBuilder>(\n getFillBehavior(), getParentForChildren(), isClean());\n fillBehavior_ = null;\n }\n return fillBehaviorBuilder_;\n }", "@Override\n public int fillCount(){\n return fillCount;\n }", "public boolean getFillAfter() {\n return mFillAfter;\n }", "private String setFill(Block block) {\r\n String color = null;\r\n if (fill.startsWith(\"color\")) {\r\n // Isolate the color string\r\n color = fill.substring(6, fill.length() - 1);\r\n String tempColor = (!color.startsWith(\"RGB\")) ? color : color.substring(4, color.length() - 1);\r\n Color fillColor = new ColorsParser().colorFromString(tempColor);\r\n block.getCollisionRectangle().setColors(fillColor);\r\n } else {\r\n // Isolate the image path\r\n String image = fill.substring(6, fill.length() - 1);\r\n InputStream is = ClassLoader.getSystemClassLoader().getResourceAsStream(image);\r\n try {\r\n Image img = ImageIO.read(is);\r\n block.setImages(img);\r\n } catch (IOException e) {\r\n System.out.println(e.getMessage());\r\n }\r\n }\r\n return color;\r\n }", "public Builder clearFillBehavior() {\n bitField0_ = (bitField0_ & ~0x00000010);\n fillBehavior_ = null;\n if (fillBehaviorBuilder_ != null) {\n fillBehaviorBuilder_.dispose();\n fillBehaviorBuilder_ = null;\n }\n onChanged();\n return this;\n }", "protected boolean isShapeFilled(Plot plot, int series, int item, double x, double y) {\n return false;\n }", "@Override\n public ShapeColor getColor() {\n return new ShapeColor(this.r, this.g, this.b);\n }", "private String decideFillColor(XmlTag group, XmlTag self) {\n String result = Configuration.getDefaultTint();\n\n XmlAttribute groupFill;\n if ((groupFill = group.getAttribute(\"fill\")) != null) {\n result = StdColorUtil.formatColor(groupFill.getValue());\n }\n\n XmlAttribute selfFill;\n if ((selfFill = self.getAttribute(\"fill\")) != null) {\n result = StdColorUtil.formatColor(selfFill.getValue());\n }\n\n XmlAttribute id = self.getAttribute(\"class\");\n String colorFromStyle;\n if (id != null && id.getValue() != null && (colorFromStyle = styleParser.getFillColor(id.getValue())) != null) {\n result = colorFromStyle;\n }\n\n return result;\n }", "public com.google.cloud.dialogflow.cx.v3beta1.Form.Parameter.FillBehavior.Builder\n getFillBehaviorBuilder() {\n bitField0_ |= 0x00000010;\n onChanged();\n return getFillBehaviorFieldBuilder().getBuilder();\n }", "public void setFill(RMFill aFill)\n{\n if(RMUtils.equals(getFill(), aFill)) return; // If value already set, just return\n repaint(); // Register repaint\n if(_fill!=null) _fill.removePropertyChangeListener(this);\n firePropertyChange(\"Fill\", _fill, _fill = aFill, -1); // Set value and fire PropertyChange\n if(_fill!=null) _fill.addPropertyChangeListener(this);\n}", "public EpsShape(Shape shape, boolean filled) {\n\t\tsuper();\n\t\tthis.shape=shape;\n\t\tthis.filled=filled;\n\t}", "public Drawable getPatternDrawable() {\n return patternDrawable;\n }", "public String getIndentFiller() {\n return spaceFill;\n }", "public Info getInfo() {\n super.fillInfo(shape);\n return this.shape;\n }", "public int fill(ForgeDirection from, FluidStack resource, boolean doFill)\n {\n \tVirtualSmartTank tank = getOrCreateTankForFluid(resource);\n \tint filled = tank.fill(resource, doFill);\n \treturn filled;\n }", "public void setFillGradient(Gradient gradient);", "public void setFillEnabled(boolean fillEnabled){\n this.fillEnabled = fillEnabled;\n refreshTheView();\n }", "void fill(int rgb);", "public void Fill(){\n new FloodFill().floodFill(crossSection, new Point(4, 4), Color.GRAY, Color.BLUE);\n\n ReplaceColor(crossSection, Color.GRAY, Color.TRANSPARENT);\n ReplaceColor(crossSection, Color.YELLOW, Color.TRANSPARENT);\n ReplaceColor(crossSection, Color.BLUE, Color.GRAY);\n\n //crossSection = filling.copy(Bitmap.Config.ARGB_8888, true);\n cutMarks.eraseColor(Color.TRANSPARENT);\n }", "@Override\n public int fillInternal(FluidStack resource, boolean doFill)\n {\n if (resource == null || resource.amount <= 0)\n {\n return 0;\n }\n\n if (!doFill)\n {\n if (fluid == null)\n {\n return Math.min(capacity, resource.amount);\n }\n\n if (!fluid.isFluidEqual(resource))\n {\n return 0;\n }\n\n return Math.min(capacity - fluid.amount, resource.amount);\n }\n\n if (fluid == null)\n {\n fluid = new FluidStack(resource, Math.min(capacity, resource.amount));\n\n onContentsChanged();\n\n if (tile != null)\n {\n FluidEvent.fireEvent(new FluidEvent.FluidFillingEvent(fluid, tile.getWorld(), tile.getPos(), this, fluid.amount));\n }\n return fluid.amount;\n }\n\n if (!fluid.isFluidEqual(resource))\n {\n return 0;\n }\n int filled = capacity - fluid.amount;\n\n if (resource.amount < filled)\n {\n fluid.amount += resource.amount;\n filled = resource.amount;\n }\n else\n {\n fluid.amount = capacity;\n }\n \n if (filled>0) {\n \tonContentsChanged();\n }\n \n if (tile != null)\n {\n FluidEvent.fireEvent(new FluidEvent.FluidFillingEvent(fluid, tile.getWorld(), tile.getPos(), this, filled));\n }\n return filled;\n }", "public void fillColor() {\n\t\tSystem.out.println(\"Blue color\");\n\t}", "public IconShape shape() {\n\t\treturn shape;\n\t}", "@Override\n public void fill(GL2 gl) {\n draw(gl);\n }", "public void fill(Shape s)\r\n\t{\r\n\t\t// draw a rectangle with these proportions\r\n\t\tif (s instanceof RectangularShape)\r\n\t\t{\r\n\t\t\tRectangularShape rect = (RectangularShape) s;\r\n\t\t\tg.fillRect((int) rect.getX(), (int) rect.getY(), (int) rect.getWidth(),\r\n\t\t\t\t\t(int) rect.getHeight());\r\n\t\t}\r\n\t\t// else\r\n\t\t// System.out.println(\"fill for this shape not supported\");\r\n\t}", "public void setFillColor(int fillColor) {\n this.setValue(FILL_COLOR_PROPERTY_KEY, fillColor);\n }", "public int[] getShape() {\n return shape;\n }", "public final native void setFill(Colour colour) /*-{\n\t\tthis.setFill([email protected]::toString()());\n\t}-*/;", "@Override\n public void toggleFill() {\n // empty bc mock\n }", "public boolean noFill(){\n return fillCharacter == EMPTY_CHAR;\n }", "public Ellipse2D getShape()\r\n {\r\n if(this.stable){\r\n return new Ellipse2D.Double(x, y, XSIZE*2, YSIZE*2);\r\n }\r\n else\r\n return new Ellipse2D.Double(x, y, XSIZE, YSIZE);\r\n }", "public void fillRectangle(RectangleShape rectangle);" ]
[ "0.770465", "0.74184954", "0.7345415", "0.72974324", "0.7285462", "0.6972596", "0.69507265", "0.6893841", "0.6816393", "0.6692865", "0.6655037", "0.6629866", "0.66233766", "0.6603775", "0.6481807", "0.64659756", "0.6458664", "0.6452843", "0.64074886", "0.6359754", "0.63511235", "0.6306841", "0.628425", "0.6223496", "0.62185997", "0.6157111", "0.6149739", "0.61349446", "0.6105727", "0.60933733", "0.6031193", "0.60017693", "0.5997339", "0.5958589", "0.5927485", "0.59114426", "0.5900244", "0.58988357", "0.58846575", "0.58695585", "0.5862572", "0.5850046", "0.5839127", "0.58383715", "0.58379567", "0.58214", "0.5812271", "0.5776335", "0.5772177", "0.57569087", "0.57397795", "0.5721528", "0.5720455", "0.5701688", "0.56808037", "0.56760097", "0.56733143", "0.56611407", "0.56467575", "0.5644669", "0.5644408", "0.5643767", "0.56129515", "0.5609686", "0.56023574", "0.5600865", "0.55466205", "0.5539667", "0.5515464", "0.5514979", "0.55142957", "0.5463115", "0.5456897", "0.5442209", "0.5440121", "0.54401016", "0.543481", "0.53646034", "0.5348025", "0.53254515", "0.5299987", "0.52961475", "0.5295502", "0.5272459", "0.52705425", "0.5269871", "0.526755", "0.52638096", "0.5258725", "0.52375835", "0.523559", "0.5218568", "0.5212164", "0.5207277", "0.5202116", "0.51818234", "0.51705116", "0.51633334", "0.51630336", "0.51306474" ]
0.76000804
1
Sets the fill for this shape.
public void setFill(RMFill aFill) { if(RMUtils.equals(getFill(), aFill)) return; // If value already set, just return repaint(); // Register repaint if(_fill!=null) _fill.removePropertyChangeListener(this); firePropertyChange("Fill", _fill, _fill = aFill, -1); // Set value and fire PropertyChange if(_fill!=null) _fill.addPropertyChangeListener(this); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setFill(boolean fill) {\n isFilled = fill;\n }", "void setFill(boolean fill);", "public void setFill(boolean fill) {\n\t\t_fill = fill;\n\t\tnotifyObs(this);\n\t}", "public void setFill(boolean fill) {\r\n if (fill) {\r\n \tmPaint.setStyle(Paint.Style.FILL);\r\n }else{\r\n \tmPaint.setStyle(Paint.Style.STROKE);\r\n }\r\n }", "public void setFill(boolean b){\n\t\tthis.fill = b;\n\t}", "@Override\n public void fill() {\n graphicsEnvironmentImpl.fill(canvas);\n }", "public final native void setFill(Colour colour) /*-{\n\t\tthis.setFill([email protected]::toString()());\n\t}-*/;", "public void fillShape(Shape shape);", "public void setFillColor(int fillColor) {\n this.setValue(FILL_COLOR_PROPERTY_KEY, fillColor);\n }", "public void setFillColor(int fillColor) {\n\t\tthis.fillColor = fillColor;\n\t\tinvalidate();\n\t}", "public void setFillArea(boolean fillArea) {\n\t\tthis.fillArea = fillArea;\n\t}", "public void setFillLevel(final double fill) {\n\t\t_fillGrade = fill;\n\t}", "public void setFillColor(Color c) {\n fillColor = c;\n }", "public void setFilled ( boolean flag ) {\r\n\t\tfill_flag = flag;\r\n\t}", "public void setFillGradient(Gradient gradient);", "public void setFilled(boolean filled) {\r\n this.filled = filled;\r\n }", "public void setFillStyle(STYLE style);", "public void setFillArea(boolean b)\r\n/* 34: */ {\r\n/* 35: 26 */ this.fillArea = b;repaint();\r\n/* 36: */ }", "public void setFilled(boolean filled) {\n this.filled = filled;\n }", "public void setFillEnabled(boolean fillEnabled){\n this.fillEnabled = fillEnabled;\n refreshTheView();\n }", "public void setFilled(boolean filled) \n\t{\n\t\tthis.filled = filled;\n\t}", "public final native void setFill(PatternFillStyle pattern) /*-{\n\t\t this.attrs.fill = {\n\t\t\timage: [email protected]::getImage()()[email protected]::getElement()(),\n\t\t\toffset: {x: [email protected]::getOffset()()[email protected]::x, \n \t\t y: [email protected]::getOffset()()[email protected]::y},\n repeat: [email protected]::getRepetition()()[email protected]::toString()()\t \n };\n\t}-*/;", "public void setFillColor(Color color);", "public void SetPolyFillMode(short fillmode) throws IOException {\n\t\taddCommandX(META_SETPOLYFILLMODE, fillmode);\n\t}", "public void fill(Color color){\n fill(color.rgba());\n }", "public boolean getFill(){\n\t\treturn this.fill;\n\t}", "public abstract void setFilled(boolean filled);", "public void setFillColor(Color c) {\n setValue(c, PROP_FILL_COLOR);\n }", "public void setHorizontalFill(boolean hfill) {\n this.hfill = hfill;\n }", "public void setAreaFillingColor(ColorRGB areaFillingColor) {\n this.areaFillingColor = areaFillingColor;\n currentPath.setFill(Color.rgb(areaFillingColor.getRed(), areaFillingColor.getGreen(), areaFillingColor.getBlue()));\n }", "public Color getFillColor() {\n return fillColor;\n }", "public void fill(int color)\n {\n fill(new Color(color));\n }", "public void Fill(){\n new FloodFill().floodFill(crossSection, new Point(4, 4), Color.GRAY, Color.BLUE);\n\n ReplaceColor(crossSection, Color.GRAY, Color.TRANSPARENT);\n ReplaceColor(crossSection, Color.YELLOW, Color.TRANSPARENT);\n ReplaceColor(crossSection, Color.BLUE, Color.GRAY);\n\n //crossSection = filling.copy(Bitmap.Config.ARGB_8888, true);\n cutMarks.eraseColor(Color.TRANSPARENT);\n }", "public void fill(Shape s)\r\n\t{\r\n\t\t// draw a rectangle with these proportions\r\n\t\tif (s instanceof RectangularShape)\r\n\t\t{\r\n\t\t\tRectangularShape rect = (RectangularShape) s;\r\n\t\t\tg.fillRect((int) rect.getX(), (int) rect.getY(), (int) rect.getWidth(),\r\n\t\t\t\t\t(int) rect.getHeight());\r\n\t\t}\r\n\t\t// else\r\n\t\t// System.out.println(\"fill for this shape not supported\");\r\n\t}", "public void fill(Element el)\n {\n fill(el.getColor());\n }", "@SuppressWarnings(\"unchecked\")\n public AnimatorType fillColor(Color fillColor)\n {\n addTransformer(new FillColorTransformer(getShape(), fillColor));\n return (AnimatorType) this;\n }", "void setCurrentFillColour(Color colour) {\n int colourIndex = shapes.size();\n fillColours.set(colourIndex, colour);\n currentFillColour = colour;\n writeFile.writeFill(colour);\n }", "public Action setFillEnabled(boolean fillEnabled) {\n mFillEnabled = fillEnabled;\n return this;\n }", "@Override\n public void setFillStyle(Style style) {\n Object nativeFillStyle = graphicsEnvironmentImpl.setFillStyle(canvas, style, style.getCached());\n style.cache(nativeFillStyle);\n }", "public abstract void drawFill();", "public Fill() { }", "private void drawShapeWithFilling(Canvas canvas, int filling, int shape) {\n switch (filling) {\n case 1:\n paint.setStyle(Paint.Style.STROKE);\n drawShape(canvas, shape);\n break;\n case 2:\n /*\n * For intermediate filling, we draw concentric copies of\n * the same shape.\n */\n paint.setStyle(Paint.Style.STROKE);\n float w = r.width() / 2.0F;\n float u = CONCENTRIC_STEP * (r.height() / r.width());\n for (float i = 0; i < w; i += CONCENTRIC_STEP) {\n drawShape(canvas, shape);\n r.left += CONCENTRIC_STEP;\n r.top += u;\n r.right -= CONCENTRIC_STEP;\n r.bottom -= u;\n }\n break;\n case 3:\n paint.setStyle(Paint.Style.FILL);\n drawShape(canvas, shape);\n break;\n default:\n throw new IllegalArgumentException(\n \"Illegal filling characteristic.\");\n }\n }", "private void applyFill(Graphics2D graphic, Fill fill, Feature feature) {\n if (fill == null) {\n return;\n }\n \n graphic.setColor(Color.decode((String) fill.getColor().getValue(feature)));\n \n if (LOGGER.isLoggable(Level.FINER)) {\n LOGGER.finer(\"Setting fill: \" + graphic.getColor().toString());\n }\n \n Number value = (Number) fill.getOpacity().getValue(feature);\n float opacity = value.floatValue();\n graphic.setComposite(AlphaComposite.getInstance(AlphaComposite.SRC_OVER, opacity));\n \n Graphic grd = fill.getGraphicFill();\n \n if (grd != null) {\n setTexture(graphic, grd, feature);\n } else {\n if (LOGGER.isLoggable(Level.FINER)) {\n LOGGER.finer(\"no graphic fill set\");\n }\n }\n }", "public void setShouldFillShape(boolean shouldFillShape) {\n boolean oldShouldFillShape = this.shouldFillShape;\n this.shouldFillShape = shouldFillShape;\n propertyChangeSupport.firePropertyChange(\"shouldFillShape\", oldShouldFillShape, shouldFillShape);\n }", "public void fill(Color color)\n {\n Graphics2D g = (Graphics2D)getGraphics();\n g.setColor(color);\n g.fillRect(0, 0, width, height);\n }", "public RMFill getFill() { return _fill; }", "public void setVerticalFill(boolean vfill) {\n this.vfill = vfill;\n }", "public void fillColor() {\n\t\tSystem.out.println(\"Blue color\");\n\t}", "public void setColor(RMColor aColor)\n{\n // Set color\n if(aColor==null) setFill(null);\n else if(getFill()==null) setFill(new RMFill(aColor));\n else getFill().setColor(aColor);\n}", "private void setFillIndex() {\n\t\tint t = this.fillgingIndex + 1;\n\t\tif (t == NUMBEROFEACHCARD) {\n\t\t\tthis.fillgingIndex = 0;\n\t\t\tsetComponentsOfIndex();\n\t\t} else {\n\t\t\tthis.fillgingIndex = t;\n\t\t}\n\n\t}", "@Override\n public void fill(GL2 gl) {\n draw(gl);\n }", "public EpsShape(Shape shape, boolean filled) {\n\t\tsuper();\n\t\tthis.shape=shape;\n\t\tthis.filled=filled;\n\t}", "@Override\n public void setUilBoxFillColor(java.lang.Object uilBoxFillColor) throws G2AccessException {\n setAttributeValue (UIL_BOX_FILL_COLOR_, uilBoxFillColor);\n }", "@Override\n public void toggleFill() {\n // empty bc mock\n }", "@Override\n public void fill(GL2 gl) {\n super.draw(gl);\n }", "@Override public Polyline setFillColor(Color fillColor)\n {\n return (Polyline)super.setFillColor(fillColor);\n }", "public void fillOval(int x, int y, int width, int height) {\n this.paint.setStyle(Paint.Style.FILL_AND_STROKE);\n int left = x;\n int top = y;\n int right = x + width;\n int bottom = y + height;\n canvas.drawOval(new RectF(left, top, right, bottom), paint);\n }", "private void resetFill(Graphics2D graphic) {\n if (LOGGER.isLoggable(Level.FINER)) {\n LOGGER.finer(\"reseting the graphics\");\n }\n \n graphic.setComposite(DEFAULT_COMPOSITE);\n }", "@Override\n public void fillRect(double x, double y, double width, double height) {\n graphicsEnvironmentImpl.fillRect(canvas, x, y, width, height);\n }", "public void fill(int color){\n int len = width * height * 4;\n for(int i = 0; i < len; i += 4){\n pixels.putInt(i, color);\n }\n }", "public final native void setFill(RadialGradientFillStyle radialGradient) /*-{\n\t\t\n\t\t// Create array of colour stops\n\t\tvar theColourStops = [];\n var stopList = [email protected]::getColourStopPositions()();\n for (i=0; i < [email protected]::size()(); ++i) {\n \tvar stop = [email protected]::get(I)(i)[email protected]::doubleValue()();\n \ttheColourStops.push(stop);\n \ttheColourStops.push([email protected]::getColourforStopPosition(D)(stop)[email protected]::toString()());\n }\n\t\t\n\t\tthis.attrs.fill = ({\n\t\t\tstart: {\n\t\t\t\tx: [email protected]::getStart()()[email protected]::x, \n\t y: [email protected]::getStart()()[email protected]::y,\n\t radius: [email protected]::getStartRadius()()\n\t },\n\t end: {\n\t\t\t\tx: [email protected]::getEnd()()[email protected]::x, \n\t y: [email protected]::getEnd()()[email protected]::y,\n\t radius: [email protected]::getEndRadius()()\n\t },\n \t\tcolorStops: theColourStops\n\t\t});\n\t}-*/;", "public void fill() {\n\t\tfor (int x = 0; x < width; x++) {\n\t\t\tfor (int y = 0; y < height; y++) {\n\t\t\t\tmaze[x][y] = Block.WALL;\n\t\t\t}\n\t\t}\n\t}", "public boolean getIsFill(){\n\t\treturn isFill;\n\t}", "public boolean isFillArea() {\n\t\treturn fillArea;\n\t}", "public void setCenterCircleFill(){\n if(solvable){\n solvableCircle.setFill(Color.GREEN);\n }\n else{\n solvableCircle.setFill(Color.RED);\n }\n }", "private String setFill(Block block) {\r\n String color = null;\r\n if (fill.startsWith(\"color\")) {\r\n // Isolate the color string\r\n color = fill.substring(6, fill.length() - 1);\r\n String tempColor = (!color.startsWith(\"RGB\")) ? color : color.substring(4, color.length() - 1);\r\n Color fillColor = new ColorsParser().colorFromString(tempColor);\r\n block.getCollisionRectangle().setColors(fillColor);\r\n } else {\r\n // Isolate the image path\r\n String image = fill.substring(6, fill.length() - 1);\r\n InputStream is = ClassLoader.getSystemClassLoader().getResourceAsStream(image);\r\n try {\r\n Image img = ImageIO.read(is);\r\n block.setImages(img);\r\n } catch (IOException e) {\r\n System.out.println(e.getMessage());\r\n }\r\n }\r\n return color;\r\n }", "boolean getFill();", "public void fillRect(int x, int y, int width, int height);", "private void setColor() {\n cell.setStroke(Color.GRAY);\n\n if (alive) {\n cell.setFill(aliveColor);\n } else {\n cell.setFill(deadColor);\n }\n }", "@Override\n\tpublic void setOutLineFill(String outlinefill) {\n\t\tthis.outLineFill=outlinefill;\n\t}", "public Color<?> getFillColor(\n )\n {return fillColor;}", "@Override\n public void fillRectangle(int x, int y, int width, int height) {\n Rectangle2D rect = new Rectangle2D.Float(x + transX, y + transY, width - 1, height - 1);\n\n checkState();\n getGraphics2D().setPaint(getColor(getSWTGraphics().getBackgroundColor()));\n getGraphics2D().fill(rect);\n }", "public void setFill( final short foreground, final short background, \n \tfinal short pattern, int[] rowIndices, int[] colIndices )\n {\n modifyCellStyle(rowIndices, colIndices, new CellStyleModifier() {\n public void modify( CellStyle style ) {\n style.setFillPattern( pattern );\n style.setFillForegroundColor( foreground );\n style.setFillBackgroundColor( background );\n }\n } );\n }", "public void fill(Colour c) {\n int[] rgb = c.rgb();\r\n fill(rgb[0], rgb[1], rgb[2]);\r\n }", "public void initialSetting(AttributeSet attributeSet, int defStyleAttr){\n paint_brush.setAntiAlias(true);\n\n //Setting the color for the Paint Brush\n paint_brush.setColor(Color.BLACK);\n\n //Setting the corner display for the drawings done by the User\n //The corners will be seen circular in display\n paint_brush.setStrokeJoin(Paint.Join.ROUND);\n\n //Setting the style of the stroke of the paint brush\n paint_brush.setStyle(Paint.Style.STROKE);\n\n //Setting the width of the stroke of the paint brush\n paint_brush.setStrokeWidth(8f);\n }", "void fill(int rgb);", "public Builder clearFillBehavior() {\n bitField0_ = (bitField0_ & ~0x00000010);\n fillBehavior_ = null;\n if (fillBehaviorBuilder_ != null) {\n fillBehaviorBuilder_.dispose();\n fillBehaviorBuilder_ = null;\n }\n onChanged();\n return this;\n }", "public void fill( double val ) {\n try {\n ops.fill(mat, val);\n } catch (ConvertToDenseException e) {\n convertToDense();\n fill(val);\n }\n }", "DataFrameFill fill();", "public void fillRectangle(RectangleShape rectangle);", "public void drawFill(int[] rgb) {\n\t\tparent.fill(rgb[0], rgb[1], rgb[2]);\n\t}", "@Test\n\tpublic void colorCustomization() {\n\n\t\tset.setFill(1);\n\t\tassertTrue(set.hasFill());\n\t\tassertEquals(1, set.getColor());\n\t\tassertEquals(1, set.getFillColor());\n\n\t\tset.setColor(3);\n\t\tset.setFill(2);\n\t\tassertEquals(3, set.getColor());\n\n\t\tset.setGradientFill(new int[] {1, 2}, new float[] {1.f, 2.f});\n\t\tassertTrue(set.hasGradientFill());\n\t}", "public boolean isFilled ( ) {\r\n\t\treturn fill_flag;\r\n\t}", "Paint getFilling() {\n return bufFill;\n }", "protected abstract void fillRect(final float x, final float y,\n final float width, final float height);", "public boolean isShouldFillShape() {\n return this.shouldFillShape;\n }", "private void drawFill(Graphics2D g2, boolean pressed, int x, int y, int w, int h)\r\n/* 114: */ {\r\n/* 115: */ Color lowerRight;\r\n/* 116: */ Color upperLeft;\r\n/* 117: */ Color lowerRight;\r\n/* 118:158 */ if (pressed)\r\n/* 119: */ {\r\n/* 120:159 */ Color upperLeft = MetalLookAndFeel.getControlShadow();\r\n/* 121:160 */ lowerRight = PlasticLookAndFeel.getControlHighlight();\r\n/* 122: */ }\r\n/* 123: */ else\r\n/* 124: */ {\r\n/* 125:162 */ upperLeft = PlasticLookAndFeel.getControl();\r\n/* 126:163 */ lowerRight = PlasticLookAndFeel.getControlHighlight().brighter();\r\n/* 127: */ }\r\n/* 128:165 */ g2.setPaint(new GradientPaint(x, y, upperLeft, x + w, y + h, lowerRight));\r\n/* 129:166 */ g2.fillRect(x, y, w, h);\r\n/* 130: */ }", "private void drawFill(Graphics2D g2, boolean pressed, int x, int y, int w, int h)\r\n/* 218: */ {\r\n/* 219: */ Color lowerRight;\r\n/* 220: */ Color upperLeft;\r\n/* 221: */ Color lowerRight;\r\n/* 222:250 */ if (pressed)\r\n/* 223: */ {\r\n/* 224:251 */ Color upperLeft = MetalLookAndFeel.getControlShadow();\r\n/* 225:252 */ lowerRight = PlasticLookAndFeel.getControlHighlight();\r\n/* 226: */ }\r\n/* 227: */ else\r\n/* 228: */ {\r\n/* 229:254 */ upperLeft = PlasticLookAndFeel.getControl();\r\n/* 230:255 */ lowerRight = PlasticLookAndFeel.getControlHighlight().brighter();\r\n/* 231: */ }\r\n/* 232:257 */ g2.setPaint(new GradientPaint(x, y, upperLeft, x + w, y + h, lowerRight));\r\n/* 233:258 */ g2.fillOval(x, y, w, h);\r\n/* 234: */ }", "public void fillRectangle(int x, int y, int width, int height);", "public void setShape(ChamberShape theShape) {\n mySize = theShape;\n setExits();\n }", "public void resetColor(){\n myRectangle.setFill(PADDLE_COLOR);\n }", "public boolean isFillEnabled() {\n return mFillEnabled;\n }", "public void assignShape() {\n\t\t\n\t}", "protected abstract void updateColor(final Color col, final boolean fill);", "public void fill(int x, int y) {\n\tfor (int c = 0; c < yLen; c++){ \n\t set(x,c);\n\t}\n\tfor (int r = 0; r < xLen; r++) {\n\t set(r,y);\n\t}\n\tint x2 = x+1;\n\tint y2 = y+1;\n\twhile ( x2 < xLen && y2 < yLen ) {\n\t set(x2,y2);\n\t x2++;\n\t y2++;\n\t}\n\tx2 = x-1;\n\ty2 = y-1;\n\twhile ( x2 >= 0 && y2 >= 0 ) {\n\t set(x2,y2);\n\t x2--;\n\t y2--;\n\t}\n\tx2 = x-1;\n\ty2 = y+1;\n\twhile ( x2 >= 0 && y2 < yLen ) {\n\t set(x2,y2);\n\t x2--;\n\t y2++;\n\t}\n\tx2 = x+1;\n\ty2 = y-1;\n\twhile ( x2 < xLen && y2 >= 0 ) {\n\t set(x2,y2);\n\t x2++;\n\t y2--;\n\t}\n }", "public final native void setFill(LinearGradientFillStyle linearGradient) /*-{\n\t\t\n\t\t// Create array of colour stops\n\t\tvar theColourStops = [];\n var stopList = [email protected]::getColourStopPositions()();\n for (i=0; i < [email protected]::size()(); ++i) {\n \tvar stop = [email protected]::get(I)(i)[email protected]::doubleValue()();\n \ttheColourStops.push(stop);\n \ttheColourStops.push([email protected]::getColourforStopPosition(D)(stop)[email protected]::toString()());\n }\n\t\t\n\t\tthis.attrs.fill = ({\n\t\t\tstart: {\n\t\t\t\tx: [email protected]::getStart()()[email protected]::x, \n\t y: [email protected]::getStart()()[email protected]::y\n\t },\n\t end: {\n\t\t\t\tx: [email protected]::getEnd()()[email protected]::x, \n\t y: [email protected]::getEnd()()[email protected]::y\n\t },\n \t\tcolorStops: theColourStops\n\t\t});\n\t}-*/;", "private void fillAll() {\n this.fill_M0();\n this.fill_W();\n this.fill_C();\n }", "public mxStyleSheet getFillStyle()\n\t{\n\t\treturn fillStyle;\n\t}", "public boolean getVerticalFill() {\n return vfill;\n }", "@Override\n public void init() {\n head.setFill(getColor());\n body.setFill(getColor());\n update();\n }" ]
[ "0.7612409", "0.74906373", "0.7438535", "0.737912", "0.7277831", "0.7207706", "0.69786453", "0.6948553", "0.6934987", "0.6889662", "0.68509454", "0.6838997", "0.68167406", "0.67816514", "0.67491114", "0.66924125", "0.667807", "0.6660342", "0.665137", "0.66333133", "0.66054463", "0.6545403", "0.65204746", "0.64374924", "0.64311665", "0.6371109", "0.63327193", "0.63263077", "0.62829685", "0.62553686", "0.6237543", "0.6202232", "0.6186873", "0.6181264", "0.61809874", "0.617071", "0.61224055", "0.6116698", "0.6070207", "0.60688835", "0.60542005", "0.60462856", "0.602563", "0.6022205", "0.60114497", "0.6002709", "0.5999486", "0.5993545", "0.5992819", "0.5912637", "0.589108", "0.58903944", "0.58825046", "0.5855669", "0.58429015", "0.58361626", "0.58191174", "0.58059925", "0.5784157", "0.57675976", "0.57663995", "0.57234234", "0.5709456", "0.5709208", "0.56993335", "0.56739604", "0.56617385", "0.5634828", "0.5629736", "0.56256264", "0.5611776", "0.55985725", "0.5592653", "0.55875736", "0.5579865", "0.55530983", "0.55492735", "0.55313814", "0.55209845", "0.5518498", "0.5515114", "0.5506115", "0.5500326", "0.54979116", "0.54822916", "0.5468013", "0.5465059", "0.54634917", "0.54323345", "0.5419943", "0.54161847", "0.5409035", "0.54027253", "0.53981495", "0.5384772", "0.5382807", "0.5380693", "0.536861", "0.53660685", "0.5361487" ]
0.6849448
11
Returns the effect for this shape.
public RMEffect getEffect() { return _effect; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Effect getEffect();", "public String effect() {\n return this.effect;\n }", "public String getEffect() {\n\t\treturn effect;\n\t}", "public BGMTransition getEffect()\n\t{\n\t\treturn effect;\n\t}", "int getEffect();", "@Override\n\tpublic Effect getEffect() {\n\t\tthis.effect.setName(txtEffectName.getText());\n\t\tthis.effect.setValue(Integer.parseInt(txtEffectValue.getText()));\n\t\t((FeintActionEffect)this.effect).setDescription(txtaDescription.getText());\n\t\treturn this.effect;\n\t}", "public StatusEffect getEffect() {\n return effect;\n }", "public AreaEffect getEffectAt(Position pos) {\n return activeEffects.get(pos);\n }", "@Override\n public List<Effect> getEffect() {\n \treturn new ArrayList<Effect>(effects);\n }", "private String addEffect() {\n\t\t// One Parameter: EffectName\n\t\tStringBuilder tag = new StringBuilder();\n\t\ttag.append(\"|effect:\" + parameters[0]);\n\t\treturn tag.toString();\n\n\t}", "public int getEffectDuration() {\n\t\treturn effectDuration;\n\t}", "private VibrationEffect getVibrationEffect() {\n return VibrationEffect.startComposition()\n .addPrimitive(VibrationEffect.Composition.PRIMITIVE_THUD, 1.0f, 50)\n .compose();\n }", "public List<Effect> getEffects()\n {\n return m_effects;\n }", "public static EffectPane getEffectPane() {\n\t\tif (effectPane == null) {\n\t\t\tinitScene();\n\t\t}\n\t\treturn effectPane;\n\t}", "public int getEffectWidth() {\n return this.effectWidth;\n }", "public Map<Pair<ID, SpecialEffectT>, List<Image>> getAnimationsEffect() {\n return AnimationsEffect;\n }", "public void effect() {\n }", "public Color4 getEffectColorMul();", "public Integer getEffectSpeed() {\r\n return effectSpeed;\r\n }", "@Override\n\tpublic EffectEntry getCurrentEffect() {\n\t\treturn mCurrentEntry;\n\t}", "public Effect getEffect(String effectCode){\n return this.registry.get(effectCode);\n }", "public Color4 getEffectColorAdd();", "public int getTotalEffect() {\n\t\treturn totalEffect;\n\t}", "@Override\r\n public Effect getEffect(String effectDescription, int aggro) {\r\n return effectsDAO.getEffect(effectDescription, aggro);\r\n }", "PositionEffect getPositionEffect();", "public void setEffect(String effect){\n this.effect = effect;\n }", "@Override\n\tpublic int effect() {\n\t\treturn 0 ;\n\t}", "public AbstractEffectPanel getCurrentPanel() {\n\t\treturn mCurrentEffect;\n\t}", "@Override\n public void effect() {\n\n }", "public String getEffects() {\n \t\tString result = getEffects_j();\n \t\tString effectsStr_e = getEffects_e();\n \t\tif (!effectsStr_e.isEmpty()) {\n \t\t\tresult += \"\\n\" + effectsStr_e;\n \t\t}\n \t\treturn result;\n \t}", "@Override\n\tpublic double getReflexBlend() {\n\t\treturn m_reflectBlend;\n\t}", "@Override\n public BlockRenderLayer getRenderLayer() {\n // Since the effect block has no model rendering at all, which means we don't need blending, simply cutout is fine\n return BlockRenderLayer.CUTOUT;\n }", "public PDBorderEffectDictionary getBorderEffect() {\n/* 458 */ COSDictionary be = (COSDictionary)getCOSObject().getDictionaryObject(COSName.BE);\n/* 459 */ if (be != null)\n/* */ {\n/* 461 */ return new PDBorderEffectDictionary(be);\n/* */ }\n/* */ \n/* */ \n/* 465 */ return null;\n/* */ }", "public Effect getEffect(String effectCode, JsonValue payload){\n \treturn this.builderRegistry.get(effectCode).apply(payload);\n }", "void applyEffects();", "public ArrayList<BattleEffect> getEffectsToApply() {\n return effectsToApply;\n }", "final Effect[] getEffects() {\n/* 3082 */ if (this.effects != null) {\n/* 3083 */ return this.effects.<Effect>toArray(new Effect[this.effects.size()]);\n/* */ }\n/* 3085 */ return emptyEffects;\n/* */ }", "public BlendMode getMode() {\n return mMode;\n }", "@FloatRange(from = 0.0, to = 1.0)\n public float getTargetAlpha() {\n return mImpl.getTargetAlpha();\n }", "public abstract ArrayList<DamageEffect> getDamageEffects();", "public Shape getClip()\r\n\t{\r\n\t\treturn _g2.getClip();\r\n\t}", "@Deprecated\n public HashMap<Position, AreaEffect> getActiveEffects() {\n return activeEffects;\n }", "public int getCurrentEditEffectIndex() {\n return this.cGR;\n }", "public HashMap<Integer, Object> getEffectProperties( ) {\r\n\r\n return properties;\r\n }", "public DashPathEffect getDashPathEffectHighlight() { return this.mHighlightDashPathEffect; }", "public int getEffect(boolean friendly) {\r\n\t\tif (friendly) {\r\n\t\t\treturn balance;\r\n\t\t}\r\n\t\treturn weight - balance;\r\n\t}", "public Logic getBehaviorTarget ()\n {\n return _behavior.getCurrentTarget();\n }", "public interface ISubstanceEffect {\n\t\n\t/**\n\t * For an instant effect.\n\t * \n\t * @param world\n\t * @param dirt\n\t * @param rootPos \n\t * @return true for success. false otherwise\n\t */\n\tpublic boolean apply(World world, BlockPos rootPos);\n\t\n\t/**\n\t * For a continuously updating effect.\n\t * \n\t * @param world\n\t * @param dirt\n\t * @param rootPos\n\t * @param deltaTicks\n\t * @return true to stay alive. false to kill effector\n\t */\n\tpublic boolean update(World world, BlockPos rootPos, int deltaTicks);\n\t\n\t/**\n\t * Get the name of the effect. Used to compare existing effects in the environment.\n\t * \n\t * @return the name of the effect.\n\t */\n\tpublic String getName();\n\t\n\t/**\n\t * Determines if the effect is continuous or instant\n\t * \n\t * @return true if continuous, false if instant\n\t */\n\tpublic boolean isLingering();\n\t\n}", "public FireShapes getShape() {\r\n\t\treturn shape;\r\n\t}", "String effect(Dueler d) {\n\t\tif (d != null) {\n\t\t\treturn d.drinkPure();\n\t\t} else {\n\t\t\treturn \"No dueler in this position\";\n\t\t}\n\t}", "public Shape getShape()\n {\n return Shape.this;\n }", "public synchronized List<SpellEffect> getEffect(String effectName) {\n if (!hasEffect(effectName)) {\n return null;\n }\n \n List<SpellEffect> currentEffects = new ArrayList<>();\n \n for (SpellEffect effect : effects) {\n if (effect.getName().equals(effectName)) {\n currentEffects.add(effect);\n }\n }\n \n return currentEffects;\n }", "public abstract Tone getTone();", "public float getPower() {\n \t\treturn 1/rarity;\n \t}", "public Shape getShape();", "private void activeDrawEffects() {\n }", "public IEffectDefinition resolveEffect(IClassDefinition classDefinition, String effectName)\n {\n IWorkspace w = getWorkspace();\n\n Iterator<IClassDefinition> classIterator = classDefinition.classIterator(this, true);\n while (classIterator.hasNext())\n {\n IClassDefinition c = classIterator.next();\n IEffectDefinition effectDefinition = c.getEffectDefinition(w, effectName);\n if (effectDefinition != null)\n return effectDefinition;\n }\n\n return null;\n }", "public Shape getShape() { return shape; }", "public RMAnimator getAnimator() { return getAnimator(false); }", "public V1Toleration withEffect(String effect) {\n this.effect = effect;\n return this;\n }", "@Override\n\tpublic Affectation getAffectation(int idAff) {\n\t\treturn dao.getAffectation(idAff);\n\t}", "Effect getMoveEName();", "public ArrayList<StatusEffects> getStatusEffects()\n\t{\n\t\treturn this.listEffets;\n\t}", "public AbstractEffect stop() {\n\t\tTask task = effectData.getTask();\n\t\tif (task == null)\n\t\t\treturn this;\n\t\ttry {\n\t\t\ttask.cancel();\n\t\t\ttask = null;\n\t\t} catch (IllegalStateException exc) {\n\t\t}\n\t\treturn this;\n\t}", "public double getTransferEffeciency() {\n double w;\n w = (x < y ? x : y);\n return w / thickness;\n\n }", "@Override\n public Iterator<Effect> iterator() {\n return effects.iterator();\n }", "public Shape getShape() {\n\t\treturn this;\n\t}", "public int getLight();", "Behavior getBehavior();", "public float getOpacityDeep()\n{\n float op = getOpacity();\n for(RMShape s=_parent; s!=null; s=s._parent) op *= s.getOpacity();\n return op;\n}", "public Animation Animation() {\r\n return animation;\r\n }", "public interface ISoundEffect {\n\n ResourceReference getSoundReference();\n\n boolean canRepeat();\n\n int getRepeatDelay();\n\n float getVolume();\n\n float getPitch();\n\n Vect3d getPosition();\n\n AttenuationType getAttenuationType();\n\n default void play() {\n Game.getClientHandler().getSoundHandler().playSound(this);\n }\n\n enum AttenuationType {\n NONE(0),\n LINEAR(2);\n\n private int type;\n\n AttenuationType(int type) {\n this.type = type;\n }\n\n public int getType() {\n return this.type;\n }\n }\n}", "Color getCor();", "public T caseEffect(Effect object) {\r\n\t\treturn null;\r\n\t}", "@Override\n\tprotected Shape getShape() {\n\t\tRectangle2D ellipse = new Rectangle2D.Double(this.getX(), this.getY(), this.getDimension(), this.getDimension()/2);\n\t return ellipse;\n\t}", "public Shape getShape() {\n return shape;\n }", "public ArrayList<BattleEffect> getEffectsToRemove() {\n return effectsToRemove;\n }", "Shape getShape();", "public void setEffectType(int i) {\n this.mEffectType = i;\n }", "@Override\n public Boolean hasEffect() {\n\treturn false;\n }", "public Drawable getWaveArcDrawable() {\n if (this.waveDrawable != null) {\n if (this.waveDrawable.isLive()) {\n this.waveDrawable.reset();\n return null;\n }\n\n this.waveDrawable.reset();\n return this.waveDrawable;\n }\n\n if (this.sprite == null)\n return null;\n\n this.waveDrawable = new WaveArcDrawable(this.sprite, 40, Color.white, ImageLibRef.WAVE_PRIORITY, 1.0f, (byte) 3);\n return this.waveDrawable;\n }", "int getOpacity();", "@Override\n\tpublic void effectAdded(Effect effect) {\n\t}", "public abstract void setEffects(Tank t);", "public EffectInfoModel apZ() {\n if (this.dcA == null) {\n this.dcA = mo30002aG(QStyle.NONE_THEME_TEMPLATE_ID);\n }\n return this.dcA;\n }", "public Vector3f getAttenuation() {\r\n\t\treturn this.attenuation;\r\n \t}", "public Image getExplosion(){\n\t\treturn explosion;\n\t}", "public java.lang.String getSideEffects() {\n java.lang.Object ref = sideEffects_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n sideEffects_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getSideEffects() {\n java.lang.Object ref = sideEffects_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n sideEffects_ = s;\n return s;\n }\n }", "public Shape getShape() \n {\n return new EllipseShape(new Extent(3,3), Color.RED,true);\n }", "public Shape getShape() {\r\n\t\t\treturn shape;\r\n\t\t}", "public float getAlpha();", "public float getAlpha();", "public abstract BossStyle getStyle();", "@Override\n\tpublic String makeSound() {\n\t\treturn ANIMAL_SOUND;\n\t}", "String getMaterial();", "public Effect createEffect(Structure p_structure, String p_name) {\n\t\t// TODO Auto-generated method stub\n\t\tEffect effect = new Effect();\n\t\tint id = 0;\n\t\ttry\n\t\t{\n\t\t\tid = Integer.parseInt(p_name.substring(2));\n\t\t}\n\t\tcatch (Exception e)\n\t\t{\n\t\t\tLogger.getLogger(this.getClass()).warn(\"Invalid id creating a new one\");\n\t\t\treturn createEffect(p_structure);\n\t\t}\n\t\teffect .setId(id);\n\t\treturn effect;\n\t}", "public ArrayList<Effect> getEnemyEffects(int index){\n return enemyController.seeEnemyEffect(index);\n }", "public com.google.protobuf.ByteString\n getSideEffectsBytes() {\n java.lang.Object ref = sideEffects_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n sideEffects_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public String effect(Player player) {\n\tif (player.character.getAlignment() == Alignment.EVIL) {\n\t player.character.setCurrentLife(player.character.getLife() + 1);\n\t return \"You gain a life </html>\";\n\t} else if (player.character.getAlignment() == Alignment.GOOD) {\n\t player.character.setCurrentLife(player.character.getLife() - 1);\n\t return \"You loose a life </html>\";\n\t} else {\n\t return \"No effect </html\";\n\t}\n }" ]
[ "0.7861293", "0.7822394", "0.7502912", "0.73778594", "0.7160512", "0.7091682", "0.7030697", "0.64965725", "0.6300687", "0.6290478", "0.6267489", "0.62242854", "0.62234133", "0.6190261", "0.6109571", "0.61079997", "0.60941786", "0.603451", "0.60121906", "0.60054237", "0.5987297", "0.59157676", "0.5907368", "0.5874532", "0.5872555", "0.5778377", "0.57391065", "0.57357085", "0.57126427", "0.56974167", "0.56905407", "0.5682569", "0.5604858", "0.55649287", "0.5530361", "0.55173033", "0.55122626", "0.544829", "0.54114753", "0.5379024", "0.53614074", "0.5356269", "0.534702", "0.53436834", "0.53381526", "0.53065366", "0.5294181", "0.5234002", "0.52254033", "0.5214111", "0.52082145", "0.51855695", "0.51852924", "0.51540494", "0.5122101", "0.5111875", "0.5109409", "0.51076573", "0.5103666", "0.50978935", "0.5089105", "0.5086893", "0.50856507", "0.5075099", "0.5064035", "0.5061068", "0.50589633", "0.5057161", "0.5053729", "0.505337", "0.5041315", "0.504079", "0.50333226", "0.5029561", "0.5021116", "0.5017022", "0.50120276", "0.5010579", "0.5003765", "0.50036794", "0.5003281", "0.49991915", "0.49967945", "0.49944794", "0.49779403", "0.49725655", "0.49489805", "0.4935113", "0.49344194", "0.4929048", "0.49284673", "0.49280533", "0.49280533", "0.49249646", "0.49200702", "0.49146563", "0.4904324", "0.48882046", "0.48877427", "0.4884514" ]
0.74009293
3
Sets the effect for this shape.
public void setEffect(RMEffect anEffect) { if(RMUtils.equals(getEffect(), anEffect)) return; // If value already set, just return repaint(); // Register repaint if(_effect!=null) { _effect.removePropertyChangeListener(this); removePropertyChangeListener(_effect); removeDeepChangeListener(_effect); } firePropertyChange("Effect", _effect, _effect = anEffect, -1); // Set value and fire PropertyChange if(_effect!=null) { _effect.addPropertyChangeListener(this); addPropertyChangeListener(_effect); addDeepChangeListener(_effect); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setEffect(String effect){\n this.effect = effect;\n }", "public void setEffect(BGMTransition effect)\n\t{\n\t\tthis.effect = effect;\n\t}", "@Override\n\tpublic void setEffect(Effect effect) {\n\t\tthis.effect = effect;\n\t\tthis.txtEffectName.setText(this.effect.getName());\n\t\tthis.txtEffectValue.setText(Integer.toString(this.effect.getValue()));\n\t\tthis.txtaDescription.setText(((FeintActionEffect)this.effect).getDescription());\n\t}", "public void effect() {\n }", "public abstract void setEffects(Tank t);", "void setPositionEffect(PositionEffect inPositionEffect);", "public void setEffectType(int i) {\n this.mEffectType = i;\n }", "public String getEffect() {\n\t\treturn effect;\n\t}", "public void setEffectWidth(int effectWidth) {\n int oldEffectWidth = this.effectWidth;\n this.effectWidth = effectWidth;\n propertyChangeSupport.firePropertyChange(\"effectWidth\", oldEffectWidth, effectWidth);\n }", "public String effect() {\n return this.effect;\n }", "@Override\n public void effect() {\n\n }", "void applyEffects();", "public RMEffect getEffect() { return _effect; }", "private void applyEffect(Event.Effect effect) {\n\t\tint change = (int) effect.getValue();\n\t\t\n\t\tswitch(effect.getType()) {\t\t\n\t\tcase INCREASE_MONEY:\n\t\t\tplayer.setMoney(player.getMoney() + change);\n\t\t\tbreak;\n\t\tcase DECREASE_MONEY:\n\t\t\tplayer.setMoney(player.getMoney() - change);\n\t\t\tbreak;\n\t\tcase INCREASE_AGENTS:\n\t\t\tplayer.setAgentNumber(player.getAgentNumber() + change);\n\t\t\tbreak;\n\t\tcase DECREASE_AGENTS:\n\t\t\tplayer.setAgentNumber(player.getAgentNumber() - change);\n\t\t\tbreak;\n\t\tcase INCREASE_AGENT_SKILL:\n\t\t\tplayer.setAgentSkill(player.getAgentSkill() + change);\n\t\t\tbreak;\n\t\tcase DECREASE_AGENT_SKILL:\n\t\t\tplayer.setAgentSkill(player.getAgentSkill() - change);\t\t\t\n\t\t\tbreak;\n\t\tcase INCREASE_MEDIA_REACH:\n\t\t\tplayer.setMediaReach(player.getMediaReach() + change);\n\t\t\tbreak;\n\t\tcase DECREASE_MEDIA_REACH:\n\t\t\tplayer.setMediaReach(player.getMediaReach() - change);\t\t\t\n\t\t\tbreak;\n\t\tcase INCREASE_MEDIA_INFLUENCE:\n\t\t\tplayer.setMediaPerception(player.getMediaPerception() + change);\n\t\t\tbreak;\n\t\tcase DECREASE_MEDIA_INFLUENCE:\n\t\t\tplayer.setMediaPerception(player.getMediaPerception() - change);\t\t\t\n\t\t\tbreak;\n\t\tdefault:\n\t\t\t// TODO handle error\n\t\t}\n\t\t\n\t}", "Effect getEffect();", "public void setShapeEffectRenderer(ShapeEffectRenderer shapeEffectRenderer)\n\t{\n\t\tif (shapeEffectRenderer != null)\n\t\t{\n\t\t\tthis.shapeEffectRenderer = shapeEffectRenderer;\n\t\t}\n\t\telse\n\t\t\tthrow new NullPointerException(\"shapeEffectRenderer is null\");\n\t}", "public V1Toleration withEffect(String effect) {\n this.effect = effect;\n return this;\n }", "public void setInfluence(float val) {\n influence = val;\n }", "private static void playEffect(Clip effect) {\n\n\t\tif (GameFrame.settingsPanel.effectsOn() && effect != null) {\n\t\t\teffect.start();\n\t\t\teffect.setFramePosition(0);\n\t\t}\n\n\t}", "public BGMTransition getEffect()\n\t{\n\t\treturn effect;\n\t}", "public void registerEffect(IEnvironmentalEffect effect);", "public ApplyEffect(SnagliModel model) {\n\t\tApplyEffect.model = model;\n\t}", "public StatusEffect getEffect() {\n return effect;\n }", "protected void applyEffects()\n\t{\n\t\tfor(int i = 0; i < effects.length; i++)\n\t\t{\n\t\t\tif(effects[i] != null)\n\t\t\t{\n\t\t\t\teffects[i].applyEffect();\n\t\t\t}\n\t\t}\n\t}", "public void addEffect(BattleEffect btlEff) {\n effectsToApply.add(btlEff);\n effectsToRemove.add(btlEff);\n }", "@Override\n\tpublic void effectAdded(Effect effect) {\n\t}", "@Override\n\tpublic int effect() {\n\t\treturn 0 ;\n\t}", "@FXML\n\tprivate void desligarLuz(){\n\t boxEntity.setEffect(new Lighting()); \n\t\t\n\t\t\n\t\t\n\t}", "public ResistDamageAlterationEffect(Context context) {\n this.delayManager = context.get(DelayManager.class);\n }", "@Override\n\tpublic Effect getEffect() {\n\t\tthis.effect.setName(txtEffectName.getText());\n\t\tthis.effect.setValue(Integer.parseInt(txtEffectValue.getText()));\n\t\t((FeintActionEffect)this.effect).setDescription(txtaDescription.getText());\n\t\treturn this.effect;\n\t}", "public void apply() {\r\n\tif (currentEffect != null)\r\n\t currentEffect.removeFrom(kingdom);\r\n\r\n\tif (isVacant())\r\n\t currentEffect = penalty;\r\n\telse\r\n\t currentEffect = bonus;\r\n\r\n\tcurrentEffect.applyTo(kingdom);\r\n }", "public synchronized void addEffect(SpellEffect effect) {\n effects.add(effect);\n }", "public void setVoiceEffect(int effectIndex) {\n mRtcEngine.setAudioEffectPreset(VOICE_EFFECTS[effectIndex]);\n }", "public void addEffect(String e) {\n \t\tif (!e.isEmpty())\n \t\t\teffects.add(e);\n \t\t// TODO: process effects to make attributes\n \t}", "@Override\n public void setArmed(boolean state) {\n if (!shouldChangeArm(state))\n return;\n this.armed = state;\n changeArmedAppearance(state);\n ((WorkspaceView) canvas).invalidateElement(this);\n }", "@Override\n public void setEffect(AbstractGame abstractGame)\n {\n int life = abstractGame.getStatistic().getLife();\n\n abstractGame.getStatistic().setLife(life + 1);\n }", "private String addEffect() {\n\t\t// One Parameter: EffectName\n\t\tStringBuilder tag = new StringBuilder();\n\t\ttag.append(\"|effect:\" + parameters[0]);\n\t\treturn tag.toString();\n\n\t}", "private void activeDrawEffects() {\n }", "public void setShape( final FireShapes shape ) {\r\n\t\tthis.shape = shape;\r\n\t}", "int getEffect();", "public void setMaterial(Material mat)\r\n\t{\r\n\t\tgl.glMaterialfv(GL_FRONT_AND_BACK, GL_AMBIENT, mat.ambient);\r\n\t\tgl.glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, mat.diffuse);\r\n\t\tgl.glMaterialfv(GL_FRONT_AND_BACK, GL_SPECULAR, mat.specular);\r\n\t\tgl.glMaterialf(GL_FRONT_AND_BACK, GL_SHININESS, 0.8F);\r\n\t\tgl.glColor3f(mat.diffuse[0],mat.diffuse[1],mat.diffuse[2]);\r\n\t}", "public final void setImpact(java.lang.String impact)\r\n\t{\r\n\t\tsetImpact(getContext(), impact);\r\n\t}", "public abstract void setClip(Shape clip);", "public void setLight1(){\n }", "public void setGlow(final boolean GLOW) {\n glow = GLOW;\n init(getInnerBounds().width, getInnerBounds().height);\n repaint(getInnerBounds());\n }", "public void setSaturation ( float value ) {\n\t\texecute ( handle -> handle.setSaturation ( value ) );\n\t}", "void addEffect(Effect effect, boolean temp) {\n/* 1782 */ if (this.isTransition && this.surfaced) {\n/* */ \n/* 1784 */ getCaveTile().addEffect(effect, temp);\n/* */ \n/* */ return;\n/* */ } \n/* 1788 */ if (!temp) {\n/* */ \n/* 1790 */ if (this.effects == null)\n/* 1791 */ this.effects = new HashSet<>(); \n/* 1792 */ this.effects.add(effect);\n/* */ } \n/* */ \n/* 1795 */ if (this.watchers != null)\n/* */ {\n/* 1797 */ for (Iterator<VirtualZone> it = this.watchers.iterator(); it.hasNext();) {\n/* 1798 */ ((VirtualZone)it.next()).addEffect(effect, temp);\n/* */ }\n/* */ }\n/* 1801 */ effect.setSurfaced(this.surfaced);\n/* */ \n/* */ try {\n/* 1804 */ effect.save();\n/* */ }\n/* 1806 */ catch (IOException iox) {\n/* */ \n/* 1808 */ logger.log(Level.INFO, iox.getMessage(), iox);\n/* */ } \n/* */ }", "public void setBorderEffect(PDBorderEffectDictionary be) {\n/* 447 */ getCOSObject().setItem(COSName.BE, be);\n/* */ }", "@SuppressWarnings(\"unchecked\")\n\tpublic void setEffectsVolume(float volume){\n\t\tvolume = volume / 100;\n\t\tif (volume < 0){\n\t\t\tvolume = 0;\n\t\t}\t\n\t\tif (volume > 1){\n\t\t\tvolume = 1;\n\t\t}\n\t\t\n\t\tthis.mLeftVolume = this.mRightVolume = volume;\n\t\t\n\t\t// change the volume of playing sounds\n\t\tIterator<?> iter = this.mSoundIdStreamIdMap.entrySet().iterator();\n\t\twhile (iter.hasNext()){\n\t\t\tMap.Entry<Integer, Integer> entry = (Map.Entry<Integer, Integer>)iter.next();\n\t\t\tthis.mSoundPool.setVolume(entry.getValue(), mLeftVolume, mRightVolume);\n\t\t}\n\t}", "SoundEffect(final String soundEffectName) throws MediaException {\n audio = new AudioClip(Paths.get(SFX_PATH + soundEffectName).toUri().toString());\n }", "public void specialEffect() {\n if (getDefense() > 0) {\n setDefense(0);\n setCurrentHealth(currentHealth + 50);\n }\n\n }", "public void playIvtEffect() {\n if (this.isVibrateImplemented && 1 == Settings.System.getInt(this.mContext_Vibrate.getContentResolver(), \"touch_vibrate_mode\", 1)) {\n if (this.mContext_Vibrate.checkCallingOrSelfPermission(\"android.permission.VIBRATE\") != 0) {\n Log.e(TAG, \"playIvtEffect Method requires android.Manifest.permission.VIBRATE permission\");\n return;\n }\n try {\n Class<?> mClazz_vibetonzImpl = mClassLoader.loadClass(\"com.immersion.VibetonzImpl\");\n Object object_vibetonzImpl = mClazz_vibetonzImpl.getMethod(\"getInstance\", new Class[0]).invoke(null, new Object[0]);\n mClazz_vibetonzImpl.getMethod(\"playIvtEffect\", new Class[]{String.class}).invoke(object_vibetonzImpl, new Object[]{\"NUMBERPICKER_ITEMSCROLL\"});\n } catch (ClassNotFoundException e) {\n Log.e(TAG, \"ClassNotFoundException in reflect playIvtEffect in set object\");\n } catch (NoSuchMethodException e2) {\n Log.e(TAG, \"no field in reflect playIvtEffect in set object\");\n } catch (IllegalAccessException e3) {\n e3.printStackTrace();\n } catch (IllegalArgumentException e4) {\n Log.e(TAG, \"IllegalArgumentException in reflect playIvtEffect in set object\");\n } catch (InvocationTargetException e5) {\n Log.e(TAG, \"InvocationTargetException in reflect playIvtEffect in set object\");\n } catch (RuntimeException e6) {\n Log.e(TAG, \"RuntimeException in reflect playIvtEffect in set object\");\n } catch (Exception e7) {\n Log.e(TAG, \"Exception in reflect playIvtEffect in set object\");\n }\n }\n }", "public int getEffectDuration() {\n\t\treturn effectDuration;\n\t}", "public void setGlowing ( boolean flag ) {\n\t\texecute ( handle -> handle.setGlowing ( flag ) );\n\t}", "public void setShape(Shape shape) {\n validateShape(shape);\n\n this.shape = shape;\n this.shape.calculate();\n initializeScroller();\n resetScroll();\n }", "void effect(Entity e, BoardPosition bp);", "public Builder setSideEffects(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n sideEffects_ = value;\n onChanged();\n return this;\n }", "public void setAmbientLightIntensity(float i) {\n ambientLightIntensity = i;\n }", "public static void setSoundEffectsVolume(final double sfxVolume) {\n if (sfxVolume >= 0 && sfxVolume <= 1) {\n SoundEffect.sfxVolume = sfxVolume;\n }\n }", "public abstract void setForceLevel(int level);", "public void setEffect(int effectIndex, int filterIndex) {\n\t\talSource3i(musicSourceIndex, AL_AUXILIARY_SEND_FILTER, effectIndex, 0, AL_FILTER_NULL);\n\t\talSourcei(musicSourceIndex, AL_DIRECT_FILTER, filterIndex);\n\t\talSource3i(reverseSourceIndex, AL_AUXILIARY_SEND_FILTER, effectIndex, 0, AL_FILTER_NULL);\n\t\talSourcei(reverseSourceIndex, AL_DIRECT_FILTER, filterIndex);\n\t\talSource3i(flangeSourceIndex, AL_AUXILIARY_SEND_FILTER, effectIndex, 0, AL_FILTER_NULL);\n\t\talSourcei(flangeSourceIndex, AL_DIRECT_FILTER, filterIndex);\n\t\talSource3i(revFlangeSourceIndex, AL_AUXILIARY_SEND_FILTER, effectIndex, 0, AL_FILTER_NULL);\n\t\talSourcei(revFlangeSourceIndex, AL_DIRECT_FILTER, filterIndex);\n\t\talSource3i(wahSourceIndex, AL_AUXILIARY_SEND_FILTER, effectIndex, 0, AL_FILTER_NULL);\n\t\talSourcei(wahSourceIndex, AL_DIRECT_FILTER, filterIndex);\n\t\talSource3i(revWahSourceIndex, AL_AUXILIARY_SEND_FILTER, effectIndex, 0, AL_FILTER_NULL);\n\t\talSourcei(revWahSourceIndex, AL_DIRECT_FILTER, filterIndex);\n\t\talSource3i(wahFlangeSourceIndex, AL_AUXILIARY_SEND_FILTER, effectIndex, 0, AL_FILTER_NULL);\n\t\talSourcei(wahFlangeSourceIndex, AL_DIRECT_FILTER, filterIndex);\n\t\talSource3i(revWahFlangeSourceIndex, AL_AUXILIARY_SEND_FILTER, effectIndex, 0, AL_FILTER_NULL);\n\t\talSourcei(revWahFlangeSourceIndex, AL_DIRECT_FILTER, filterIndex);\n\t\talSource3i(distortSourceIndex, AL_AUXILIARY_SEND_FILTER, effectIndex, 0, AL_FILTER_NULL);\n\t\talSourcei(distortSourceIndex, AL_DIRECT_FILTER, filterIndex);\n\t\talSource3i(revDistortSourceIndex, AL_AUXILIARY_SEND_FILTER, effectIndex, 0, AL_FILTER_NULL);\n\t\talSourcei(revDistortSourceIndex, AL_DIRECT_FILTER, filterIndex);\n\t\talSource3i(distortFlangeSourceIndex, AL_AUXILIARY_SEND_FILTER, effectIndex, 0, AL_FILTER_NULL);\n\t\talSourcei(distortFlangeSourceIndex, AL_DIRECT_FILTER, filterIndex);\n\t\talSource3i(revDistortFlangeSourceIndex, AL_AUXILIARY_SEND_FILTER, effectIndex, 0, AL_FILTER_NULL);\n\t\talSourcei(revDistortFlangeSourceIndex, AL_DIRECT_FILTER, filterIndex);\n\t\talSource3i(wahDistortSourceIndex, AL_AUXILIARY_SEND_FILTER, effectIndex, 0, AL_FILTER_NULL);\n\t\talSourcei(wahDistortSourceIndex, AL_DIRECT_FILTER, filterIndex);\n\t\talSource3i(revWahDistortSourceIndex, AL_AUXILIARY_SEND_FILTER, effectIndex, 0, AL_FILTER_NULL);\n\t\talSourcei(revWahDistortSourceIndex, AL_DIRECT_FILTER, filterIndex);\n\t\talSource3i(wahDistortFlangeSourceIndex, AL_AUXILIARY_SEND_FILTER, effectIndex, 0, AL_FILTER_NULL);\n\t\talSourcei(wahDistortFlangeSourceIndex, AL_DIRECT_FILTER, filterIndex);\n\t\talSource3i(revWahDistortFlangeSourceIndex, AL_AUXILIARY_SEND_FILTER, effectIndex, 0, AL_FILTER_NULL);\n\t\talSourcei(revWahDistortFlangeSourceIndex, AL_DIRECT_FILTER, filterIndex);\n\t}", "public void pauseAllEffects(){\n\t\tpauseOrResumeAllEffects(true);\n\t}", "public void activateEffect( final EffectEntry tag ) {\n\t\tif ( !getEnabled() || !isClosed() || mBitmap == null ) return;\n\n\t\tif ( mCurrentEffect != null ) throw new IllegalStateException( \"There is already an active effect. Cannot activate new\" );\n\t\tif ( mEffectLoader == null ) mEffectLoader = (EffectLoaderService) getService( EffectLoaderService.class );\n\n\t\tfinal AbstractEffectPanel effect = mEffectLoader.load( tag );\n\n\t\tif ( effect != null ) {\n\t\t\tmCurrentEffect = effect;\n\t\t\tmCurrentEntry = tag;\n\n\t\t\tsetCurrentState( STATE.OPENING );\n\t\t\tprepareEffectPanel( effect, tag );\n\n\t\t\tTracker.recordTag( mCurrentEntry.name.name().toLowerCase( Locale.US ) + \": opened\" );\n\t\t\tmContext.getBottomBar().setOnPanelOpenListener( new OnPanelOpenListener() {\n\n\t\t\t\t@Override\n\t\t\t\tpublic void onOpened() {\n\t\t\t\t\tsetCurrentState( STATE.OPENED );\n\t\t\t\t\tmContext.getBottomBar().setOnPanelOpenListener( null );\n\t\t\t\t}\n\n\t\t\t\t@Override\n\t\t\t\tpublic void onOpening() {\n\t\t\t\t\tmCurrentEffect.onOpening();\n\t\t\t\t}\n\t\t\t} );\n\n\t\t\tmContext.getBottomBar().open();\n\t\t}\n\t}", "private void autofixEffect(int barra) {\n float val = barra / -20f + 5f;\n Log.i(\"kike\", \"valor efecte: \" + val + \" barra: \" + barra);\n EffectFactory factory = effectContext.getFactory();\n effect = factory.createEffect(EffectFactory.EFFECT_AUTOFIX);\n effect.setParameter(\"scale\", val);\n effect.apply(textures[0], photoWidth, photoHeight, textures[1]);\n }", "private void redeyeEffect(float[] f) {\n float val = 0;\n Log.i(\"kike\", \"valor efecte: \" + val + \" barra: \");\n EffectFactory factory = effectContext.getFactory();\n effect = factory.createEffect(EffectFactory.EFFECT_REDEYE);\n effect.setParameter(\"centers\", f);\n effect.apply(textures[0], photoWidth, photoHeight, textures[1]);\n }", "@Override\r\n\tpublic void setFlavor() {\n\t\thasFlavor = false;\r\n\t\tsetChanged();\r\n\t\tnotifyObservers(OBSERVABLE_EVENT_SET_FLAVOR);\r\n\t}", "public void executeEffect() {\n\t\texecuteEffect(myCard);\n\t}", "public Set<Effect> maskEffects(final Set<Effect> effects) {\r\n if (effects.isEmpty()) {\r\n return Collections.emptySet();\r\n } else {\r\n final ImmutableSet.Builder<Effect> newEffects = ImmutableSet.builder();\r\n for (final Effect e : effects) {\r\n final Effect masked = e.mask(binder);\r\n if (masked != null) newEffects.add(masked);\r\n }\r\n return newEffects.build();\r\n }\r\n }", "public void startEffect(Effect effect, EffectController controller) {\n int startRound = 0;\n if (Objects.nonNull(effect.getRoom())) {\n startRound = effect.getRoom().getRound();\n }\n effect.setStartRound(startRound);\n //effect.setEndTime(System.currentTimeMillis() + effect.getEffectResource().getDuration());\n effect.setEndRound(startRound + effect.getEffectResource().getDuration());\n }", "private void AnnulerEffect() {\n panImg.setImg(lstImg.getSelectImg(), lstImg.getSelectTitle());\n panImg.repaint();\n }", "private void addAdditionalEffects()\n {\n // make them fly so they do not fall from suspension\n FLYING flying = new FLYING(p, duration + 10, targetID);\n Ollivanders2API.getPlayers().playerEffects.addEffect(flying);\n additionalEffects.add(O2EffectType.FLYING);\n\n // add an immbolize effect with a duration slightly longer than this one so that they cannot move while suspended\n IMMOBILIZE immbobilize = new IMMOBILIZE(p, duration + 10, targetID);\n Ollivanders2API.getPlayers().playerEffects.addEffect(immbobilize);\n additionalEffects.add(O2EffectType.IMMOBILIZE);\n }", "public LightShot(AbstractGame world) {\n super(world);\n innerColor = Color.WHITE;\n myCircle = new Circle(3);\n myCircle.setCenterX(0);\n myCircle.setCenterY(0);\n myCircle.setFill(innerColor);\n myShape = myCircle;\n speed = 10;\n GaussianBlur blur = new GaussianBlur();\n blur.setRadius(5);\n myShape.setEffect(blur);\n FadeTransition fadeOut = new FadeTransition(Duration.seconds(2), myShape);\n fadeOut.setFromValue(1);\n fadeOut.setToValue(0);\n fadeOut.playFromStart();\n // new AudioClipPlayer(AudioClipPlayer.HEARTBEAT).start();\n }", "public void setParameter(String pEffectName, Float pEffectValue) throws DynamicCallException, ExecutionException{\n call(\"setParameter\", pEffectName, pEffectValue).get();\n }", "public ParticleSystemPainter(EffectManager effectManager) {\r\n\t\tthis.effectManager = effectManager;\r\n\t}", "void setCor(Color cor);", "EffectCommandPluto(Field field, Point aster) {\r\n\t\tthis.aster = aster;\r\n\t}", "private void sharpenEffect(int barra) {\n float val = barra / 100f;\n Log.i(\"kike\", \"valor efecte: \" + val + \" barra: \" + barra);\n EffectFactory factory = effectContext.getFactory();\n effect = factory.createEffect(EffectFactory.EFFECT_SHARPEN);\n effect.setParameter(\"scale\", val);\n effect.apply(textures[0], photoWidth, photoHeight, textures[1]);\n }", "void setSmoothening(boolean smoothShading) {\n\t\t\tif (true)\n\t\t\t\treturn;\n\t\t\tsmooth = smoothShading;\n\t\t\tmaterial.setAttribute(CommonAttributes.POLYGON_SHADER + \".\"\n\t\t\t\t\t+ CommonAttributes.SMOOTH_SHADING, smooth);\n\t\t}", "protected static void setLightUniform(@NotNull Shape shape) {\n\t\tshape.shaderProgram.setUniform2f(\"resolution\", Display.getSizeF());\n\t\tshape.shaderProgram.setUniform3f(\"ambient\", Lights.ambient);\n\n\t\tfor (int i = 0; i < 100; i++) {\n\t\t\tif (i >= Lights.lights.size()) break;\n\n\t\t\tLight l = Lights.lights.get(i);\n\t\t\tshape.shaderProgram.setUniform2f(\"lights[\"+i+\"].position\", l.getPosition());\n\t\t\tshape.shaderProgram.setUniform3f(\"lights[\"+i+\"].color\", l.getColor());\n\t\t\tshape.shaderProgram.setUniform1f(\"lights[\"+i+\"].intensity\", l.getIntensity());\n\t\t}\n\t}", "@Override\n\tpublic void ontick(Player p) {\n\t\tp.pos = move; // port to move vector\n\t\t\n\t\tfor(Effect ef:p.effects){\n\t\t\tef.ttl = 1;\n\t\t}\n\t}", "protected void enableActionSetFade()\n {\n Action action = new Action(\"SetFade\");\n action.addInputParameter(new ParameterRelated(\"Value\", iPropertyFade));\n iDelegateSetFade = new DoSetFade();\n enableAction(action, iDelegateSetFade);\n }", "public void setArmed(boolean b) {\n }", "void setVariation(double variation);", "public void setAlpha(float alpha);", "public HES_CatmullClark setBlendFactor(final double f) {\n\t\tblendFactor = new WB_ConstantScalarParameter(f);\n\t\treturn this;\n\t}", "public void initialSetting(AttributeSet attributeSet, int defStyleAttr){\n paint_brush.setAntiAlias(true);\n\n //Setting the color for the Paint Brush\n paint_brush.setColor(Color.BLACK);\n\n //Setting the corner display for the drawings done by the User\n //The corners will be seen circular in display\n paint_brush.setStrokeJoin(Paint.Join.ROUND);\n\n //Setting the style of the stroke of the paint brush\n paint_brush.setStyle(Paint.Style.STROKE);\n\n //Setting the width of the stroke of the paint brush\n paint_brush.setStrokeWidth(8f);\n }", "public void test_useCase_addEffect() throws UiObjectNotFoundException\n {\n executeTestCase(appPackageName, appLaunchIconText, \"addEffect\", 9, false);\n }", "public Builder setDamage(int value) {\n bitField0_ |= 0x00000080;\n damage_ = value;\n onChanged();\n return this;\n }", "private void fisheyeEffect(int barra) {\n float val = barra / 127f - 0.08f;\n Log.i(\"kike\", \"valor efecte: \" + val + \" barra: \" + barra);\n EffectFactory factory = effectContext.getFactory();\n effect = factory.createEffect(EffectFactory.EFFECT_FISHEYE);\n effect.setParameter(\"scale\", val);\n effect.apply(textures[0], photoWidth, photoHeight, textures[1]);\n }", "public void setSoftnessLength(float softShadowLength);", "void setModifier(Modifier modifier);", "@Override\n\tpublic void applyEffect(Player player) {\n\t\tplayer.setSightRange(7);\n\t}", "public Builder setDamage(int value) {\n bitField0_ |= 0x00000400;\n damage_ = value;\n onChanged();\n return this;\n }", "public Builder setDamage(int value) {\n bitField0_ |= 0x00000400;\n damage_ = value;\n onChanged();\n return this;\n }", "public Builder setDamage(int value) {\n bitField0_ |= 0x00000400;\n damage_ = value;\n onChanged();\n return this;\n }", "public void setFalloff(float falloff) throws IOException\n\t{\n\t\tif ((__io__pointersize == 8)) {\n\t\t\t__io__block.writeFloat(__io__address + 144, falloff);\n\t\t} else {\n\t\t\t__io__block.writeFloat(__io__address + 112, falloff);\n\t\t}\n\t}", "public SoundEffect adjust(float volume, float pitch) {\n \t\treturn new SoundEffect(this, volume, pitch);\n \t}", "public void reSurrect(){\n\t\tcanvas = Canvas.getInstance();\n\t\tfor(int i = 0; i < myEffects.size(); i++){\n\t\t\tmyEffects.get(i).reSurrect();\n\t\t}\n\t}", "public Builder setDamage(int value) {\n bitField0_ |= 0x00000200;\n damage_ = value;\n onChanged();\n return this;\n }", "public void addEffects() {\r\n\t\tfor (BlinkingButton effect : parameterLocation) {\r\n\t\t\t//Effects that are visible - should be added the the panel\r\n\t\t\tif (effect.isVisible()) {\r\n\t\t\t\tmainPanel.add(effect);\r\n\t\t\t}\r\n\t\t}\r\n\t}" ]
[ "0.69462377", "0.6673451", "0.6596681", "0.6479693", "0.623525", "0.59669", "0.58737814", "0.58524173", "0.5846943", "0.57422554", "0.57312465", "0.56905895", "0.5579064", "0.5536524", "0.54960096", "0.5487642", "0.5472317", "0.5453675", "0.54123604", "0.5404738", "0.53989697", "0.5317119", "0.5267137", "0.5144501", "0.5122502", "0.51102287", "0.5108285", "0.508429", "0.5077129", "0.505611", "0.50498915", "0.5045665", "0.50272745", "0.50219256", "0.49950674", "0.499124", "0.49590334", "0.4945388", "0.48845866", "0.48790872", "0.48580322", "0.48452353", "0.4842359", "0.48385143", "0.482455", "0.48230428", "0.47975332", "0.47940826", "0.47831333", "0.47806385", "0.47760433", "0.47710085", "0.47599545", "0.47597662", "0.47558975", "0.47551477", "0.4732145", "0.47283852", "0.47247055", "0.47035435", "0.47018367", "0.46900684", "0.4682425", "0.4677043", "0.46663505", "0.46641758", "0.4646782", "0.46424028", "0.4639929", "0.46376133", "0.46343327", "0.46257624", "0.46210447", "0.46119228", "0.46003595", "0.45993844", "0.45953795", "0.45862177", "0.45850894", "0.45743075", "0.4570028", "0.45645073", "0.4561617", "0.45573506", "0.4557309", "0.45509905", "0.45502722", "0.4549603", "0.454227", "0.45379272", "0.45346123", "0.4533895", "0.45279983", "0.45279983", "0.45264727", "0.45235547", "0.4521811", "0.45199054", "0.45112672", "0.45074475" ]
0.63319933
4
Returns the color of the shape.
public RMColor getColor() { return getFill()==null? RMColor.black : getFill().getColor(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Color getShapeColor() {\n\t\tif (_shape != null) return _shape.getColor();\n\t\telse return null;\n\t}", "@Override\n public ShapeColor getColor() {\n return new ShapeColor(this.r, this.g, this.b);\n }", "java.awt.Color getColor();", "Color getColor();", "Color getColor();", "Color getColor();", "Color getColor();", "Color getColor();", "public Color getColor() {\n\t\treturn (Color)p.getPaint();\n\t}", "public Color getColor() \n\t{\n\t\treturn color;\n\t}", "public GraphColor getColor( ) {\n return color;\n }", "public int getColor() {\n return color;\n }", "public Color getColor();", "public Color getColor();", "public Color getColor();", "public java.awt.Color getColor() {\r\n return color;\r\n }", "public int getColor();", "public int getColor();", "public final Color getColor() {\n return color;\n }", "public Color getColor()\n {\n return color;\n }", "public int getColor() {\n \t\treturn color;\n \t}", "public Integer getColor() {\n\t\treturn color;\n\t}", "public final Color getColor() {\r\n return color;\r\n }", "public final Color getColor() {\n\t\treturn color;\n\t}", "public int getColor() {\n return this.color;\n }", "public Vector4f getColor() {\n\t\treturn color;\n\t}", "public String getColor()\n {\n return color;\n }", "public String getColor()\n {\n return color;\n }", "public int getColor(){\n\t\treturn color;\n\t}", "public int getColor(){\n\t\treturn color;\n\t}", "public String getColor() {\n\t\treturn color;\n\t}", "public String getColor() {\n\t\treturn color;\n\t}", "public java.awt.Color getColor() {\n return this.color;\n }", "public java.awt.Color getColor() {\n return this.color;\n }", "public int getColor(){\r\n\t\treturn color;\r\n\t}", "public Color getColor() {\n return color;\r\n }", "public Color getColor()\n {\n return color;\n }", "public Color getColor()\n {\n return color;\n }", "public Color getColor()\n {\n return color;\n }", "public String getColor() {\r\n\t\treturn color;\r\n\t}", "public Color getColor() {\r\n\t\treturn color;\r\n\t}", "public Color getColor() {\r\n\t\treturn color;\r\n\t}", "public RMColor getColor()\n {\n return getStyle().getColor();\n }", "public Color getColor() {\n\t\treturn color;\n\t}", "public Color getColor() {\n\t\treturn color;\n\t}", "public Color getColor() {\n\t\treturn color;\n\t}", "public Color getColor() {\n\t\treturn color;\n\t}", "public Color getColor() {\n return color;\n }", "public Color getColor() {\n return color;\n }", "public Color getColor() {\n return color;\n }", "public Color getColor() {\n return color;\n }", "public Color getColor() {\n return color;\n }", "public Color getColor() {\n return color;\n }", "public java.awt.Color getColor() {\r\n return this.color;\r\n }", "public Color getColor() {\n \t\treturn color;\n \t}", "public int getColor() {\n\t\treturn getMappedColor(color);\n\t}", "public String getColor() {\n return color;\n }", "public String getColor() {\n return color;\n }", "public String getColor() {\n return color;\n }", "public String getColor() {\n return color;\n }", "public String getColor() {\n return color;\n }", "public String getColor() {\n return color;\n }", "public String getColor() {\n return color;\n }", "public String getColor() {\n return color;\n }", "public String getColor()\n {\n return this.color;\n }", "public Color getColor() {\n\t\treturn _color;\n\t}", "public Color getColor() {\r\n return color;\r\n }", "public Color getColor() {\r\n return color;\r\n }", "public Color getColor() {\r\n return color;\r\n }", "public Color getColor() {\n\t\treturn this.color;\n\t}", "public int getColor() {\r\n return Color;\r\n }", "public String getColor() {\r\n return color;\r\n }", "public Color getColor() {\n return color;\n }", "public String getColor(){\n\t\treturn color;\n\t}", "public Color getColor() {\n return this.color;\n }", "public Color getColor() {\n return this.color;\n }", "public Color getColor() {\n return this.color;\n }", "public int getColor()\r\n {\r\n return m_iColor;\r\n }", "public String obtenColor() {\r\n return color;\r\n }", "public Color getColor() {\n\treturn color;\n }", "public Color getColor() {\r\n return this.color;\r\n }", "public String getColor() {\n return this.color;\n }", "public Color getColor() {\n return this.color;\n }", "public Color getColor()\r\n\t{\r\n\t\treturn _g2.getColor();\r\n\t}", "public Color color() {\n r = 34;\n g = 0;\n b = 231;\n return color(r, g, b);\n }", "public Color<?> getFillColor(\n )\n {return fillColor;}", "public Color getColor()\n { \n return color;\n }", "public int getFillColor() {\n return (int) this.getValue(FILL_COLOR_PROPERTY_KEY);\n }", "public Color getColor() {\n return circleColor;\n\n }", "public String getColor(){\n return this._color;\n }", "public int color() {\n\t\treturn color;\n\t}", "public RGBColor getColor(){\r\n return this._color;\r\n }", "public Color getColor() {\r\n\t\tColor retVal = theColor;\r\n\t\treturn retVal;\r\n\t}", "public Color getColor() {\n\t\treturn couleur;\n\t}", "public Color getColor() { return color.get(); }", "public short getColor() {\n\t\treturn this.color;\n\t}", "public CMYKColors getColor() {\n return this.color;\n }", "public Color getColor(){\n return color;\n }", "public int getColorValue() {\r\n\t\treturn color;\r\n\t}", "public GameColor getColor();" ]
[ "0.8221535", "0.8102735", "0.7373826", "0.7333834", "0.7333834", "0.7333834", "0.7333834", "0.7333834", "0.72409767", "0.7159862", "0.7146429", "0.7144749", "0.7139911", "0.7139911", "0.7139911", "0.7127555", "0.71053857", "0.71053857", "0.70880204", "0.7067426", "0.70652115", "0.7064684", "0.70609725", "0.7060412", "0.7049755", "0.7048456", "0.704554", "0.704554", "0.70447046", "0.70447046", "0.70440316", "0.70440316", "0.7038292", "0.7038292", "0.7037267", "0.7036962", "0.7035736", "0.7035736", "0.7035736", "0.7025369", "0.70169497", "0.70169497", "0.70118", "0.7002625", "0.7002625", "0.7002625", "0.7002625", "0.699807", "0.699807", "0.699807", "0.699807", "0.699807", "0.699807", "0.6996427", "0.6992221", "0.69877154", "0.69830906", "0.69830906", "0.69830906", "0.69830906", "0.69830906", "0.69830906", "0.69830906", "0.69830906", "0.6976126", "0.69753355", "0.69733393", "0.69733393", "0.69733393", "0.6969464", "0.6963515", "0.69560814", "0.6946413", "0.6930191", "0.691775", "0.691775", "0.691775", "0.6913309", "0.6900627", "0.68907917", "0.688718", "0.6880359", "0.6877266", "0.68699354", "0.6868333", "0.68542635", "0.68477154", "0.6844878", "0.6818817", "0.68077815", "0.6807497", "0.6805611", "0.679999", "0.67939335", "0.6789938", "0.67887735", "0.6788245", "0.67692137", "0.6769026", "0.6764067" ]
0.7107432
16
Sets the color of the shape.
public void setColor(RMColor aColor) { // Set color if(aColor==null) setFill(null); else if(getFill()==null) setFill(new RMFill(aColor)); else getFill().setColor(aColor); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void setShapeColor(Color color) {\n\t\tthis.currentColor = color;\n\t}", "@Override\n\tpublic void setShapeColor(Color color) {\n\t\tthis.decorateComponent.setShapeColor(color);\n\t}", "public void setColor(Color c) { color.set(c); }", "public void setFillColor(Color color);", "public void setColor(Color color);", "public void setColor(Color c);", "@Override\n public ShapeColor setColor(int r, int g, int b) {\n return new ShapeColor(r, g, b);\n }", "protected abstract void updateShapeColor(Color color);", "void setColor(final java.awt.Color color);", "public void setColor(int color);", "public void setColor(int color);", "public void setColor(int color) {\n/* 77 */ this.color = color;\n/* 78 */ this.paint.setColor(this.color);\n/* */ }", "public void setColor()\n {\n if (wall != null) // only if it's painted already...\n {\n wall.changeColor(\"red\");\n window.changeColor(\"black\");\n roof.changeColor(\"green\");\n sun.changeColor(\"yellow\");\n }\n }", "public void setColor()\n {\n if(wall != null) // only if it's painted already...\n {\n wall.changeColor(\"red\");\n window.changeColor(\"black\");\n roof.changeColor(\"green\");\n sun.changeColor(\"yellow\");\n }\n }", "public void setColor()\n {\n if(wall != null) // only if it's painted already...\n {\n wall.changeColor(\"yellow\");\n window.changeColor(\"black\");\n roof.changeColor(\"red\");\n sun.changeColor(\"yellow\");\n }\n }", "public void setColor(int r, int g, int b);", "public void setColor(Color clr){\n color = clr;\n }", "public void setColor(Color color) {\n this.color = color;\n }", "public void setColor(Color newColor) ;", "public void setColor( Color color ) {\n\t\tgraphics.setColor( color );\n\t}", "public void setColor(Color c) {\n color = c;\n }", "public abstract void setColor(Color color);", "public abstract void setColor(Color color);", "public void setStrokeColor(Color color);", "public void setColor (Color color)\n {\n this.color = color;\n repaint();\n }", "public void setColor(int value);", "private void changeShapeColor(int r, int g, int b)\n\t{\n\t\tthis.red = r;\n\t\tthis.green = g;\n\t\tthis.blue = b;\n\t}", "void setColor(Vector color);", "public void setColor( GraphColor newVal ) {\n color = newVal;\n }", "void setColor(int r, int g, int b);", "public void setColor()\n {\n if(eyeL != null) // only if it's painted already...\n {\n eyeL.changeColor(\"yellow\");\n eyeR.changeColor(\"yellow\");\n nose.changeColor(\"green\");\n mouthM.changeColor(\"red\");\n mouthL.changeColor(\"red\");\n mouthR.changeColor(\"red\");\n }\n }", "public void setColor(Color color) {\n this.color = color;\r\n }", "public void setColor(float r, float g, float b, float a);", "public void setColor(Color color) {\r\n changeColor(color);\r\n oldSwatch.setForeground(currentColor);\r\n newSwatch.setForeground(currentColor);\r\n colorCanvas.setColor(currentColor);\r\n repaint();\r\n }", "public void setColor(Color color) {\n\t\t_color = color;\n\t\tnotifyObs(this);\n\t}", "public void setAreaColor(Color c)\r\n/* 53: */ {\r\n/* 54: 37 */ this.areaColor = c;repaint();\r\n/* 55: */ }", "public void setColor(Color c) {\n this.color = c;\n }", "public void setDrawingColor(int color){\n mPaintLine.setColor(color);\n }", "public void setColor(Color color) {\n this.color = color;\n }", "@Override\n public void setColor(Color color) {\n this.color = color;\n }", "public void setColor(Color choice) {\n circleColor = choice;\n\n }", "public void setColor(int c) {\n paint.setColor(c);\n invalidate();\n }", "public Shape(Color c) {\n\t\tcolor = c;\n\t}", "public void setColor(int color){\n this.color = color;\n }", "public void setColor(Color color_) {\r\n\t\tcolor = color_;\r\n\t}", "protected void setColor(Color color) {\r\n\t\tthis.color = color;\r\n\t}", "void setColor(){\n this.objectColour = new Color(rValue,gValue,bValue,timeToLive).brighter();\n }", "public void setColor(final Color theColor) {\n myColor = theColor;\n }", "@Override\r\n public void setColor(Llama.Color color) {\r\n this.color = color;\r\n }", "private void setColor() {\n cell.setStroke(Color.GRAY);\n\n if (alive) {\n cell.setFill(aliveColor);\n } else {\n cell.setFill(deadColor);\n }\n }", "public void setColor(String c)\n { \n color = c;\n draw();\n }", "public void setColor(Color color) {\n for (int i = 0; i < this.size(); i++) {\n DrawEvent event = (DrawEvent) this.elementAt(i);\n event.getShape().setColor(color);\n }\n }", "public void setColor(Color color) \n\t{\n\t\tthis.color = color;\n\t}", "public void setColour(Colour colour);", "public final native void setFill(Colour colour) /*-{\n\t\tthis.setFill([email protected]::toString()());\n\t}-*/;", "public void setColor(int color){\r\n\t\tthis.color=color;\r\n\t}", "public void setColor(int color) {\n this.color = color;\n }", "public void setPenColor(Color color){\n myPen.setPenColor(color);\n }", "@Override\n public void setColor(Color color) {\n super.setEdgeColor(color);\n }", "private void setPenColor() {\n\t}", "public void setColor(Color c)\n\t{\n\t\tthis.color = c;\n\t}", "public void setColor(int gnum, Color col);", "public void setColor(Color color) {\n\t\tthis.color = color;\n\t}", "public void setColor(Color color) {\n\t\tthis.color = color;\n\t}", "public void setColor(Color color) {\n\t\tthis.color = color;\n\t\tfireListenerSignal();\n\t}", "public void setColor(Color c) {\n\t\tthis.color = c;\n\t}", "public void setPenColor(int color) {\n mPaint.setColor(color);\n }", "public void setColor(IsColor color) {\n\t\tsetColor(IsColor.checkAndGetValue(color));\n\t}", "public void setColor(Color newColor)\n {\n this.color = newColor;\n conditionallyRepaint();\n }", "public void setColor(int color) {\n mColor = color;\n mPaint.setColor(mColor);\n }", "public void setColor(String c);", "public void setValue(Color value) {\n _color = value;\n _updateField(value);\n }", "public void setColor(int color){\n\t\tthis.color = color;\n\t}", "@NoProxy\n @NoWrap\n public void setColor(final String val) {\n color = val;\n }", "public void setColor(int color) {\r\n\t\tthis.color = color;\r\n\t}", "public void setStrokeColor(RMColor aColor)\n{\n // Set stroke color\n if(aColor==null) setStroke(null);\n else if(getStroke()==null) setStroke(new RMStroke(aColor, 1));\n else getStroke().setColor(aColor);\n}", "public void setColor(Color newColor) {\n color = newColor;\n Canvas.getInstance().repaint();\n }", "void setColor(@ColorInt int color);", "public void setDataColor(Color c)\r\n/* 48: */ {\r\n/* 49: 36 */ this.ballColor = c;repaint();\r\n/* 50: */ }", "public void setColor(int red, int green, int blue){\r\n this.red = red;\r\n this.green = green;\r\n this.blue = blue;\r\n }", "public void setColor(RGBColor color){\r\n this._color = new RGBColor(color);\r\n }", "public void set(Color inColor) {\n\n\t\tthis.r = inColor.r;\n\t\tthis.g = inColor.g;\n\t\tthis.b = inColor.b;\n\n\t}", "public void setColor(Color color) {\r\n Color.RGBtoHSB(color.getRed(), color.getGreen(), color.getBlue(),\r\n currentHSBColor);\r\n Point p = getColorPosition(currentHSBColor);\r\n colorX = p.x;\r\n colorY = p.y;\r\n repaint();\r\n }", "public void setColor(Color newColor) {\n\tcolor = newColor;\n }", "public void resetColor(){\n myRectangle.setFill(PADDLE_COLOR);\n }", "public void changeColor(Color color) {\n this.color = color;\n }", "@Override\n public void excute() {\n drawable.setColor(color);\n }", "public void setFillColor(Color c) {\n fillColor = c;\n }", "private void setRedBorder(Shape decoratedShape) {\n\t\tSystem.out.println(\"Border Color: Red\");\r\n\t}", "void setCurrentFillColour(Color colour) {\n int colourIndex = shapes.size();\n fillColours.set(colourIndex, colour);\n currentFillColour = colour;\n writeFile.writeFill(colour);\n }", "void setRed(int x, int y, int value);", "public void setColor(Color c){\n\t\t//do nothing\n\t}", "public void setColor(Color that){\r\n \t//set this to that\r\n this.theColor = that;\r\n if(this.theColor.getRed() == 255 && this.theColor.getGreen() == 0 && this.theColor.getBlue() == 0){\r\n this.theColor = Color.red;\r\n }\r\n if(this.theColor.getRed() == 0 && this.theColor.getGreen() == 0 && this.theColor.getBlue() == 255){\r\n this.theColor = Color.black;\r\n }\r\n if(this.theColor.getRed() == 0 && this.theColor.getGreen() == 255 && this.theColor.getBlue() == 0){\r\n this.theColor = Color.green;\r\n }\r\n }", "public void setColor(java.awt.Color color1) {\r\n this.color = color1;\r\n }", "public void setColor(Graphics2D g){\r\n if(color.equals(\"yellow\") || color.equals(\"Yellow\"))\r\n g.setColor(Color.yellow);\r\n if(color.equals(\"red\") || color.equals(\"Red\"))\r\n g.setColor(Color.red);\r\n if(color.equals(\"blue\") || color.equals(\"Blue\"))\r\n g.setColor(Color.blue);\r\n \r\n }", "public void setColor(Color another)\r\n {\r\n currentColor = another;\r\n }", "void setCor(Color cor);", "public void setColor(Color color) {\r\n\t\tthis.color = ColorUtil.convertColorToColorRGBA(color);\r\n\t}", "@Override\n\tpublic void setColour(float r, float g, float b) {\n\n\t}", "public void setColor(Color color) {\n\t\tp.setPaint(color);\n\t\tif (textArea!=null) {\n\t\t\tclear();\n\t\t\tcaretUpdate(null); // Force a highlight repaint.\n\t\t}\n\t}" ]
[ "0.79554456", "0.7801716", "0.7567411", "0.7539705", "0.7367287", "0.73647004", "0.73512924", "0.733284", "0.7269298", "0.7203161", "0.7203161", "0.72003263", "0.7129345", "0.71098983", "0.7097715", "0.7095993", "0.7083029", "0.7079369", "0.70543617", "0.703442", "0.7031675", "0.7021661", "0.7021661", "0.7013378", "0.70122725", "0.7004449", "0.69889754", "0.69864494", "0.6975387", "0.6968732", "0.69628954", "0.6950901", "0.6923293", "0.6913409", "0.6907287", "0.6867477", "0.68528557", "0.68422127", "0.6836815", "0.6812157", "0.67946684", "0.67802453", "0.6774021", "0.67666537", "0.6763736", "0.67574555", "0.67437696", "0.672626", "0.6720553", "0.6712168", "0.6669886", "0.6668324", "0.66559577", "0.6640578", "0.66386265", "0.6616924", "0.66123366", "0.6606629", "0.66008097", "0.6583278", "0.6576751", "0.6549351", "0.65460306", "0.65460306", "0.65454024", "0.65415", "0.6532589", "0.65169483", "0.65105474", "0.65083164", "0.6493976", "0.6488037", "0.6479028", "0.6477175", "0.6476394", "0.64648986", "0.64626575", "0.6450096", "0.64478683", "0.64137334", "0.6399951", "0.63697195", "0.6349084", "0.634315", "0.63360035", "0.6327911", "0.63250965", "0.63181925", "0.6308576", "0.6288044", "0.6286336", "0.6254108", "0.62516654", "0.6245744", "0.623042", "0.6222734", "0.6204596", "0.6199906", "0.6194537", "0.6181661" ]
0.69755965
28
Returns the stroke color of the shape.
public RMColor getStrokeColor() { return getStroke()==null? RMColor.black : getStroke().getColor(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Color<?> getStrokeColor(\n )\n {return strokeColor;}", "public int getStrokeColor() {\n return (int) this.getValue(STROKE_COLOR_PROPERTY_KEY);\n }", "public final native Colour getStroke() /*-{\n\t\treturn @net.edzard.kinetic.Colour::new(Ljava/lang/String;)(this.getStroke());\n\t}-*/;", "String getTextStrokeColorAsString();", "public final int getStrokeColor() {\n if (org.xms.g.utils.GlobalEnvSetting.isHms()) {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).getStrokeColor()\");\n return ((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).getStrokeColor();\n } else {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).getStrokeColor()\");\n return ((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).getStrokeColor();\n }\n }", "public ColorSpace<?> getStrokeColorSpace(\n )\n {return strokeColorSpace;}", "public DirectShapeRenderer stroke() {\n \t\treturn renderer.stroke();\n \t}", "public Stroke<R> getStroke() {\n if (stroke == null) {\n stroke = factory.createStroke();\n }\n return stroke;\n }", "public Color getShapeColor() {\n\t\tif (_shape != null) return _shape.getColor();\n\t\telse return null;\n\t}", "@Override\n public ShapeColor getColor() {\n return new ShapeColor(this.r, this.g, this.b);\n }", "public RMStroke getStroke() { return _stroke; }", "public void strokeShape(Shape shape);", "public Stroke getStroke()\r\n\t{\r\n\t\treturn _g2.getStroke();\r\n\t}", "public Stroke getStroke() {\n\t\tStroke theStroke = stroke;\n\t\tif (theStroke == null) {\n\t\t\ttheStroke = new BasicStroke(strokeWidth);\n\t\t\tstroke = theStroke;\n\t\t}\n\t\treturn theStroke;\n\t}", "public void setStrokeColor(Color color);", "public final ObjectProperty<StrokeType> strokeTypeProperty() {\n return getStrokeAttributes().typeProperty();\n }", "public String getOutlineColor();", "public final Stroke getOutlineStroke() {\n return outlineStroke;\n }", "public final native double getStrokeWidth() /*-{\n\t\tif (this.getStrokeWidth() != null) return this.getStrokeWidth();\n\t\telse return 0;\n\t}-*/;", "public float getStrokeWidth() { return getStroke()==null? 0 : getStroke().getWidth(); }", "public float getStrokeWidth() {\n\t\treturn strokeWidth;\n\t}", "public final org.xms.g.maps.model.PolygonOptions strokeColor(int param0) {\n if (org.xms.g.utils.GlobalEnvSetting.isHms()) {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).strokeColor(param0)\");\n com.huawei.hms.maps.model.PolygonOptions hReturn = ((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).strokeColor(param0);\n return ((hReturn) == null ? null : (new org.xms.g.maps.model.PolygonOptions(new org.xms.g.utils.XBox(null, hReturn))));\n } else {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).strokeColor(param0)\");\n com.google.android.gms.maps.model.PolygonOptions gReturn = ((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).strokeColor(param0);\n return ((gReturn) == null ? null : (new org.xms.g.maps.model.PolygonOptions(new org.xms.g.utils.XBox(gReturn, null))));\n }\n }", "public int getDrawingsColor(){\n return mPaintLine.getColor();\n }", "public Color getNodeStrokeDestinationColor() {\n return (_nodeStrokeDestinationColor);\n }", "public void setStrokeColor(int strokeColor) {\n this.setValue(STROKE_COLOR_PROPERTY_KEY, strokeColor);\n }", "java.awt.Color getColor();", "int getTextStrokeWidth();", "public void setStrokeColor(RMColor aColor)\n{\n // Set stroke color\n if(aColor==null) setStroke(null);\n else if(getStroke()==null) setStroke(new RMStroke(aColor, 1));\n else getStroke().setColor(aColor);\n}", "public void setStroke(Stroke stroke);", "public Color getDrawColor() {\n\t\treturn drawColor;\n\t}", "public int getFillColor() {\n return (int) this.getValue(FILL_COLOR_PROPERTY_KEY);\n }", "public Color<?> getFillColor(\n )\n {return fillColor;}", "public final Paint getOutlinePaint() {\n return outlinePaint;\n }", "public RMColor getColor() { return getFill()==null? RMColor.black : getFill().getColor(); }", "public final native void setStroke(Colour colour) /*-{\n\t\tthis.setStroke([email protected]::toString()());\n\t}-*/;", "public float getStrokeWidth() {\n return (float) this.getValue(STROKE_WIDTH_PROPERTY_KEY);\n }", "public Color getColor() {\n\t\treturn (Color)p.getPaint();\n\t}", "public final float getStrokeWidth() {\n if (org.xms.g.utils.GlobalEnvSetting.isHms()) {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).getStrokeWidth()\");\n return ((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).getStrokeWidth();\n } else {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).getStrokeWidth()\");\n return ((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).getStrokeWidth();\n }\n }", "StrokeMatcher strokeMatcher() {\n return mStrokeMatcher;\n }", "public String getFillColor();", "public RMColor getColor()\n {\n return getStyle().getColor();\n }", "public native final String fontColor() /*-{\n\t\treturn this.fontColor;\n\t}-*/;", "public Color getFillColor() {\n return fillColor;\n }", "@Override\n public Paint getInitialValue(Shape node) {\n return node.impl_cssGetStrokeInitialValue();\n }", "public final int getFillColor() {\n if (org.xms.g.utils.GlobalEnvSetting.isHms()) {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).getFillColor()\");\n return ((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).getFillColor();\n } else {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).getFillColor()\");\n return ((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).getFillColor();\n }\n }", "public String getColor() {\n\t\treturn color;\n\t}", "public String getColor() {\n\t\treturn color;\n\t}", "String getColor();", "public String getColor() {\r\n\t\treturn color;\r\n\t}", "public String getColor()\n {\n return color;\n }", "public String getColor()\n {\n return color;\n }", "public Color getNodeStrokeSourceColor() {\n return (_nodeStrokeSourceColor);\n }", "public String getColor() {\n return color;\n }", "public String getColor() {\n return color;\n }", "public String getColor() {\n return color;\n }", "public String getColor() {\n return color;\n }", "public String getColor() {\n return color;\n }", "public String getColor() {\n return color;\n }", "public String getColor() {\n return color;\n }", "public String getColor() {\n return color;\n }", "private int getFillColor() {\n \t\tint id = this.area.getMode() == GPSFilterMode.INCLUDE ? POLYGON_INCLUDE_FILL_COLOR : POLYGON_EXCLUDE_FILL_COLOR;\n \t\treturn adjustAlpha( this.getResources().getColor( id ), 255 * 0.5f );\n \t}", "public Color getLineColor();", "public final LineStyle getStyle(){\n return LineStyleUtils.getLineStyle(stroke);\n }", "public String getColor() {\r\n return color;\r\n }", "Color getColor();", "Color getColor();", "Color getColor();", "Color getColor();", "Color getColor();", "public CMYKColors getColor() {\n return this.color;\n }", "public GraphColor getColor( ) {\n return color;\n }", "@Nonnull\n @Override\n public DyeColor getColor() {\n return this.getMushroomType().getColor();\n }", "@Override public Polyline setStrokeColor(Color strokeColor)\n {\n return (Polyline)super.setStrokeColor(strokeColor);\n }", "@Override\n Color getColor() {\n return new Color(32, 83, 226, 255);\n }", "public String getColor()\n {\n return this.color;\n }", "public Color getColor()\r\n\t{\r\n\t\treturn _g2.getColor();\r\n\t}", "public java.awt.Color getColor() {\r\n return color;\r\n }", "public String getColor() {\n return (String)getAttributeInternal(COLOR);\n }", "@Override\n public void stroke() {\n graphicsEnvironmentImpl.stroke(canvas);\n }", "public java.awt.Color getColor() {\n return this.color;\n }", "public java.awt.Color getColor() {\n return this.color;\n }", "public abstract void setStroke(BasicStroke stroke);", "public String getColor() {\n\t\treturn null;\n\t}", "public java.awt.Color getColor() {\r\n return this.color;\r\n }", "public String getColor() {\n return this.color;\n }", "public String getColor(){\n\t\treturn color;\n\t}", "public final Color getBorderColor() {\n\t\treturn borderColor;\n\t}", "public short getColor()\n {\n return font.getColorPaletteIndex();\n }", "public final Color getColor() {\n return color;\n }", "public Color getColor();", "public Color getColor();", "public Color getColor();", "public int getCircleFillColor() {\r\n\t\treturn mCircleFillColor;\r\n\t}", "public Color getBorderColor();", "public RecodedColor getLineColor(){\n return ps == null ? null :(RecodedColor) ps.getFillLegend().getFillColorLegend();\n }", "public Stroke getInnerStroke() {\n return null;\n }", "public Pen() {\n color = Color.BLACK;\n stroke = new BasicStroke();\n }", "public final Color getColor() {\n\t\treturn color;\n\t}", "public int getColor();", "public int getColor();" ]
[ "0.8535741", "0.81747746", "0.7660809", "0.7535009", "0.73908556", "0.7170358", "0.6977222", "0.6735162", "0.6691471", "0.6588969", "0.65008277", "0.6497721", "0.6486803", "0.6474467", "0.6405695", "0.6357715", "0.6321706", "0.6312397", "0.62362003", "0.6202815", "0.61468536", "0.61397785", "0.6084454", "0.59912795", "0.5875831", "0.5832125", "0.57789785", "0.5778238", "0.57674253", "0.5743055", "0.57317156", "0.57295465", "0.5707789", "0.56946003", "0.56907123", "0.566154", "0.56607676", "0.56464076", "0.5632137", "0.56319755", "0.5611123", "0.558436", "0.55736303", "0.5542741", "0.5533335", "0.5505404", "0.5505404", "0.549025", "0.54898196", "0.5489139", "0.5489139", "0.54764044", "0.54568434", "0.54568434", "0.54568434", "0.54568434", "0.54568434", "0.54568434", "0.54568434", "0.54568434", "0.545567", "0.54416865", "0.5426101", "0.54257876", "0.54246074", "0.54246074", "0.54246074", "0.54246074", "0.54246074", "0.5417847", "0.54066384", "0.54043186", "0.54008526", "0.5396689", "0.5392087", "0.53880256", "0.53860766", "0.5384163", "0.5375182", "0.5369518", "0.5369518", "0.5340556", "0.5330006", "0.5314995", "0.53136826", "0.5312166", "0.53001016", "0.5289722", "0.5288916", "0.5281894", "0.5281894", "0.5281894", "0.5281117", "0.5275384", "0.5272572", "0.52667207", "0.5265725", "0.5261145", "0.5261105", "0.5261105" ]
0.7874005
2
Sets the stroke color of the shape.
public void setStrokeColor(RMColor aColor) { // Set stroke color if(aColor==null) setStroke(null); else if(getStroke()==null) setStroke(new RMStroke(aColor, 1)); else getStroke().setColor(aColor); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setStrokeColor(Color color);", "public void setStrokeColor(int strokeColor) {\n this.setValue(STROKE_COLOR_PROPERTY_KEY, strokeColor);\n }", "public void setStroke(Stroke stroke);", "public final native void setStroke(Colour colour) /*-{\n\t\tthis.setStroke([email protected]::toString()());\n\t}-*/;", "public abstract void setStroke(BasicStroke stroke);", "public Color<?> getStrokeColor(\n )\n {return strokeColor;}", "public RMColor getStrokeColor() { return getStroke()==null? RMColor.black : getStroke().getColor(); }", "public void setStrokeStyle(STYLE style);", "public int getStrokeColor() {\n return (int) this.getValue(STROKE_COLOR_PROPERTY_KEY);\n }", "public void strokeShape(Shape shape);", "public void setStroke(RMStroke aStroke)\n{\n if(RMUtils.equals(getStroke(), aStroke)) return; // If value already set, just return\n repaint(); // Register repaint\n if(_stroke!=null) _stroke.removePropertyChangeListener(this);\n firePropertyChange(\"Stroke\", _stroke, _stroke = aStroke, -1); // Set value and fire PropertyChange\n if(_stroke!=null) _stroke.addPropertyChangeListener(this); // Set shape\n}", "private void setPenColor() {\n\t}", "@Override\n public void stroke() {\n graphicsEnvironmentImpl.stroke(canvas);\n }", "@Override public Polyline setStrokeColor(Color strokeColor)\n {\n return (Polyline)super.setStrokeColor(strokeColor);\n }", "@Override\n\tpublic void setShapeColor(Color color) {\n\t\tthis.decorateComponent.setShapeColor(color);\n\t}", "public void setPenColor(Color color){\n myPen.setPenColor(color);\n }", "private void setStroke(Block block) {\r\n if (stroke != null) {\r\n // Isolate the color string.\r\n String color = stroke.substring(6, stroke.length() - 1);\r\n if (stroke.startsWith(\"color\")) {\r\n String tempColor = (!color.startsWith(\"RGB\")) ? color : color.substring(4, color.length() - 1);\r\n Color strokeColor = new ColorsParser().colorFromString(tempColor);\r\n block.getCollisionRectangle().setFrameColor(strokeColor);\r\n }\r\n }\r\n }", "private void setColor() {\n cell.setStroke(Color.GRAY);\n\n if (alive) {\n cell.setFill(aliveColor);\n } else {\n cell.setFill(deadColor);\n }\n }", "@Override\n\tpublic void setShapeColor(Color color) {\n\t\tthis.currentColor = color;\n\t}", "public void setSelectOvalStrokeColor(@ColorInt int color) {\n this.mSelectOvalStrokeColor = color;\n }", "public void setFillColor(Color color);", "public void setStroke(Stroke s)\r\n\t{\r\n\t\tif (s instanceof BasicStroke)\r\n\t\t{\r\n\t\t\tBasicStroke bs = (BasicStroke) s;\r\n\t\t\tthis.setLineWidth(bs.getLineWidth());\r\n\r\n\t\t\tif (bs.getDashArray() != null)\r\n\t\t\t{\r\n\t\t\t\tthis.setLineStyle(CanvasType.SHORT_DASHES);\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\tthis.setLineStyle(CanvasType.SOLID);\r\n\t\t\t}\r\n\r\n\t\t}\r\n\t\t// else\r\n\t\t// System.out.println(\"setStroke not a BasicStroke\");\r\n\t}", "public Pen(@Nullable BasicStroke stroke, @Nullable Color color) {\n Color c = Color.BLACK;\n if (color != null) {\n c = color;\n }\n this.color = c;\n BasicStroke s = new BasicStroke();\n if (stroke != null) {\n s = stroke;\n }\n this.stroke = s;\n }", "public final native Colour getStroke() /*-{\n\t\treturn @net.edzard.kinetic.Colour::new(Ljava/lang/String;)(this.getStroke());\n\t}-*/;", "public void setPenColor(int color) {\n mPaint.setColor(color);\n }", "@Override\n public ShapeColor setColor(int r, int g, int b) {\n return new ShapeColor(r, g, b);\n }", "public void setStrokeGradient(Gradient gradient);", "public void stroke() throws IOException\n {\n\tif (_closedPath == true) {\n\t Paint strokingPaint = getGraphicsState().getStrokingColor().getJavaColor();\n\t if ( strokingPaint == null ) {\n\t\tstrokingPaint = getGraphicsState().getStrokingColor().getPaint(pageSize.height);\n\t }\n\t if ( strokingPaint == null ) {\n\t\tLOG.info(\"ColorSpace \"+getGraphicsState().getStrokingColor().getColorSpace().getName() +\" doesn't provide a stroking color, using white instead!\");\n\t\tstrokingPaint = Color.WHITE;\n\t }\n\t if (strokingPaint != Color.WHITE) {\n\t\tfor(Line line : _currentPath) {\n\t\t if(line.isVertical() || line.isHorizontal()) {\n\t\t\t_path.add(line);\n\t\t }\n\t\t}\n\t }\n\t}\n\t_currentPath.clear();\n }", "public void setDrawingColor(int color){\n mPaintLine.setColor(color);\n }", "public void setStrokeWidth(float aValue)\n{\n // Set line width\n if(getStroke()==null) setStroke(new RMStroke(RMColor.black, aValue));\n else getStroke().setWidth(aValue);\n}", "public DirectShapeRenderer stroke() {\n \t\treturn renderer.stroke();\n \t}", "protected void setForegroundColor(Color color) {\r\n\t\tif (primaryShape != null) {\r\n\t\t\tprimaryShape.setForegroundColor(color);\r\n\t\t}\r\n\t}", "public void setCurrentStrokeValue(float value,int color) {\n currentStrokeValue = value;\n if(strokeWidthView != null) {\n strokeWidthView.setProgress((int) value,color);\n strokeWidthView.invalidate();\n }\n }", "public Pen() {\n color = Color.BLACK;\n stroke = new BasicStroke();\n }", "String getTextStrokeColorAsString();", "void setStrokeWidth(float strokeWidth) {\n/* 180 */ this.mStrokeWidth = strokeWidth;\n/* */ }", "public void setStrokeWidth(float strokeWidth) {\n this.setValue(STROKE_WIDTH_PROPERTY_KEY, strokeWidth);\n }", "public void setPenColor(int color) {\n mPenColor = color;\n if (color == 0) {\n mPaint.setXfermode(new PorterDuffXfermode(PorterDuff.Mode.DST_OUT));\n mPaint.setColor(Color.BLACK);\n } else {\n mPaint.setXfermode(null);\n \n mPaint.setColor(Color.BLACK); // or collor? or color & (mInkDensity << 24)?\n mPaint.setAlpha(mInkDensity);\n \n mPaint.setColorFilter(new PorterDuffColorFilter(color, PorterDuff.Mode.SRC_ATOP));\n }\n }", "public void setNormalOvalStrokeColor(@ColorInt int color) {\n this.mNormalOvalStrokeColor = color;\n }", "public void drawStroke(Canvas canvas, Paint eraser, Shape shape, int xPosition, int yPosition, int shapePadding) {\n }", "public final native void setStrokeWidth(double width) /*-{\n\t\tthis.setStrokeWidth(width);\n\t}-*/;", "public final int getStrokeColor() {\n if (org.xms.g.utils.GlobalEnvSetting.isHms()) {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).getStrokeColor()\");\n return ((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).getStrokeColor();\n } else {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).getStrokeColor()\");\n return ((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).getStrokeColor();\n }\n }", "public final native void setFill(Colour colour) /*-{\n\t\tthis.setFill([email protected]::toString()());\n\t}-*/;", "private void setRedBorder(Shape decoratedShape) {\n\t\tSystem.out.println(\"Border Color: Red\");\r\n\t}", "public void setColor()\n {\n if (wall != null) // only if it's painted already...\n {\n wall.changeColor(\"red\");\n window.changeColor(\"black\");\n roof.changeColor(\"green\");\n sun.changeColor(\"yellow\");\n }\n }", "public void setStrokeWidth(Float strokeWidth) {\n\t\tthis.strokeWidth = strokeWidth;\n\t\tstroke = null;\n\t}", "public void setFillColor(Color c) {\n fillColor = c;\n }", "public void setColor()\n {\n if(eyeL != null) // only if it's painted already...\n {\n eyeL.changeColor(\"yellow\");\n eyeR.changeColor(\"yellow\");\n nose.changeColor(\"green\");\n mouthM.changeColor(\"red\");\n mouthL.changeColor(\"red\");\n mouthR.changeColor(\"red\");\n }\n }", "public void setColor()\n {\n if(wall != null) // only if it's painted already...\n {\n wall.changeColor(\"yellow\");\n window.changeColor(\"black\");\n roof.changeColor(\"red\");\n sun.changeColor(\"yellow\");\n }\n }", "public void setColor()\n {\n if(wall != null) // only if it's painted already...\n {\n wall.changeColor(\"red\");\n window.changeColor(\"black\");\n roof.changeColor(\"green\");\n sun.changeColor(\"yellow\");\n }\n }", "public void resetColor(){\n myRectangle.setFill(PADDLE_COLOR);\n }", "public void setErrorIndicatorStroke(Stroke stroke) {\n/* 188 */ this.errorIndicatorStroke = stroke;\n/* 189 */ fireChangeEvent();\n/* */ }", "public RMStroke getStroke() { return _stroke; }", "@Override\n\tpublic void setBasicStroke(String basicStroke) {\n\t\tthis.basicStroke=basicStroke;\n\t}", "@Override\n public void setStrokeStyle(Style style) {\n Object nativeStrokeStyle = graphicsEnvironmentImpl.setStrokeStyle(canvas, style, style.getCached());\n style.cache(nativeStrokeStyle);\n }", "public void setColor(Color c) { color.set(c); }", "void setCurrentPenColour(Color colour) {\n int colourIndex = shapes.size();\n lineColours.set(colourIndex, colour);\n currentPenColour = colour;\n writeFile.writePen(colour);\n }", "public Pen(@Nullable Color color) {\n Color c = Color.BLACK;\n if (color != null) {\n c = color;\n }\n this.color = c;\n this.stroke = new BasicStroke();\n }", "public void changePenColor(Color color) {\n\t\tscreen.changePenColor(color);\n\t}", "void setColor(final java.awt.Color color);", "public void setColor( GraphColor newVal ) {\n color = newVal;\n }", "public void drawStroke(int[] rgb) {\n\t\tparent.stroke(rgb[0], rgb[1], rgb[2]);\n\t}", "public void setColor(String c)\n { \n color = c;\n draw();\n }", "public final void setOutlineStroke(final Stroke outlineStroke) {\n if (outlineStroke == null) {\n throw new IllegalArgumentException(\"outlineStroke must not be null\");\n }\n Stroke oldOutlineStroke = this.outlineStroke;\n this.outlineStroke = outlineStroke;\n firePropertyChange(-1, \"outlineStroke\", oldOutlineStroke,\n this.outlineStroke);\n }", "public void setColor(Color color) {\r\n changeColor(color);\r\n oldSwatch.setForeground(currentColor);\r\n newSwatch.setForeground(currentColor);\r\n colorCanvas.setColor(currentColor);\r\n repaint();\r\n }", "protected abstract void updateShapeColor(Color color);", "@Override\n public ShapeColor getColor() {\n return new ShapeColor(this.r, this.g, this.b);\n }", "private void changeShapeColor(int r, int g, int b)\n\t{\n\t\tthis.red = r;\n\t\tthis.green = g;\n\t\tthis.blue = b;\n\t}", "public final org.xms.g.maps.model.PolygonOptions strokeColor(int param0) {\n if (org.xms.g.utils.GlobalEnvSetting.isHms()) {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).strokeColor(param0)\");\n com.huawei.hms.maps.model.PolygonOptions hReturn = ((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).strokeColor(param0);\n return ((hReturn) == null ? null : (new org.xms.g.maps.model.PolygonOptions(new org.xms.g.utils.XBox(null, hReturn))));\n } else {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).strokeColor(param0)\");\n com.google.android.gms.maps.model.PolygonOptions gReturn = ((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).strokeColor(param0);\n return ((gReturn) == null ? null : (new org.xms.g.maps.model.PolygonOptions(new org.xms.g.utils.XBox(gReturn, null))));\n }\n }", "public void setColor( Color color ) {\n\t\tgraphics.setColor( color );\n\t}", "public void setmLinePaint(Paint color){\n this.mLinePaint = color;\n }", "public void setColor(Color color);", "public void setColor(int c) {\n paint.setColor(c);\n invalidate();\n }", "public void setColor(Color c);", "public void paint(Graphics2D g){\n g.setColor(color);\n g.fill(shape);\n }", "public void setNodeStrokeDestinationColor(Color color) {\n _nodeStrokeDestinationColor = color;\n }", "public void setColor(int color) {\n/* 77 */ this.color = color;\n/* 78 */ this.paint.setColor(this.color);\n/* */ }", "public final Pen changeColor(Color lineColor) {\n return new Pen(stroke, lineColor);\n }", "public void setColor(int r, int g, int b);", "public void setColor(RMColor aColor)\n{\n // Set color\n if(aColor==null) setFill(null);\n else if(getFill()==null) setFill(new RMFill(aColor));\n else getFill().setColor(aColor);\n}", "@Override public Polyline setFillColor(Color fillColor)\n {\n return (Polyline)super.setFillColor(fillColor);\n }", "public void setFill(boolean fill) {\r\n if (fill) {\r\n \tmPaint.setStyle(Paint.Style.FILL);\r\n }else{\r\n \tmPaint.setStyle(Paint.Style.STROKE);\r\n }\r\n }", "@NoProxy\n @NoWrap\n public void setColor(final String val) {\n color = val;\n }", "public ColorSpace<?> getStrokeColorSpace(\n )\n {return strokeColorSpace;}", "public Pen(float thickness, @Nullable Color color) {\n Color c = Color.BLACK;\n if (color != null) {\n c = color;\n }\n this.color = c;\n this.stroke = new BasicStroke(thickness);\n }", "public final void setOutlinePaint(final Paint outlinePaint) {\n Paint oldOutlinePaint = this.outlinePaint;\n this.outlinePaint = outlinePaint;\n firePropertyChange(-1, \"outlinePaint\", oldOutlinePaint,\n this.outlinePaint);\n }", "@Override\n public void setColor(Color color) {\n super.setEdgeColor(color);\n }", "@Override\n\tpublic void setOutLineFill(String outlinefill) {\n\t\tthis.outLineFill=outlinefill;\n\t}", "public void strokeRectangle(RectangleShape rectangle);", "public void setFillColor(Color c) {\n setValue(c, PROP_FILL_COLOR);\n }", "public void setColor(Color clr){\n color = clr;\n }", "private synchronized void strokeStyle(Rule rule, InstanceWaypoint context){\t\n \t\t\n \t\t// retrieve stroke\n \t\tStroke stroke = null;\n \t\t\n \t\t//try the Symbolizers from the Rule\n \t\tint i = -1;\n \t\twhile(rule != null && stroke == null && i < rule.getSymbolizers().length){\n \t\t\ti++;\n \t\t\tif (rule.getSymbolizers()[i] instanceof LineSymbolizer){\n \t\t\t\tstroke = SLD.stroke((LineSymbolizer)rule.getSymbolizers()[i]);\t\t\t\t\n \t\t\t\t}\n \t\t\telse if (rule.getSymbolizers()[i] instanceof PolygonSymbolizer){\n \t\t\t\tstroke = SLD.stroke((PolygonSymbolizer)rule.getSymbolizers()[i]);\t\t\t\t\n \t\t\t\t}\n \t\t\telse if (rule.getSymbolizers()[i] instanceof PointSymbolizer){\n \t\t\t\tstroke = SLD.stroke((PointSymbolizer)rule.getSymbolizers()[i]);\t\t\t\t\n \t\t\t\t}\n \t\t\t}\n \t\t\n \t\n \t\t//if we have a stroke now\n \t\tif (stroke != null) {\n \t\t\t//XXX is there any Geotools stroke to AWT stroke lib/code somewhere?!\n \t\t\t//XXX have a look at the renderer code (StreamingRenderer)\n \t\t\t\n \t\t\t// stroke color\n \t\t\tColor sldColor = SLD.color(stroke);\n \t\t\tdouble opacity = SLD.opacity(stroke);\n \t\t\tif (Double.isNaN(opacity)) {\n \t\t\t\t// fall back to default opacity\n \t\t\t\topacity = StyleHelper.DEFAULT_FILL_OPACITY;\n \t\t\t}\n \t\t\tif (sldColor != null) {\n \t\t\t\tstyleStrokeColor = new Color(sldColor.getRed(), sldColor.getGreen(), \n \t\t\t\t\t\tsldColor.getBlue(), (int) (opacity * 255));\n \t\t\t}\n \t\t\telse {\n \t\t\t\tstyleStrokeColor = super.getBorderColor(context);\n \t\t\t}\n \t\t\t\n \t\t\t// stroke width\n \t\t\tint strokeWidth = SLD.width(stroke);\n \t\t\tif (strokeWidth == SLD.NOTFOUND) {\n \t\t\t\t// fall back to default width\n \t\t\t\tstrokeWidth = StylePreferences.getDefaultWidth(); \n \t\t\t}\n \t\t\tstyleStroke = new BasicStroke(strokeWidth);\n \t\t}\n \t\telse {\n \t\t\tstyleStroke = null;\n \t\t\tstyleStrokeColor = null;\n \t\t}\n \t}", "public void setColor(Color color) {\n for (int i = 0; i < this.size(); i++) {\n DrawEvent event = (DrawEvent) this.elementAt(i);\n event.getShape().setColor(color);\n }\n }", "public void setScrimColor(int color) {\n mScrimColor = color;\n invalidate();\n }", "public void setColor(Color choice) {\n circleColor = choice;\n\n }", "private void resetStroke(Graphics2D graphic) {\n if (LOGGER.isLoggable(Level.FINER)) {\n LOGGER.finer(\"reseting the graphics\");\n }\n \n graphic.setStroke(DEFAULT_STROKE);\n }", "public void magenta() {\n g2.setPaint(Color.magenta);\r\n }", "public void setColor(Color newColor) ;", "public String getOutlineColor();", "public void setColor(String value) {\n setAttributeInternal(COLOR, value);\n }" ]
[ "0.84701395", "0.7804627", "0.7762083", "0.7505391", "0.7356149", "0.7219768", "0.7011084", "0.68581116", "0.68433756", "0.6824064", "0.67378986", "0.6612682", "0.65935314", "0.6551068", "0.6469123", "0.64515", "0.63983274", "0.6374226", "0.63477474", "0.6342626", "0.63186634", "0.627836", "0.6183369", "0.6112042", "0.6090913", "0.608497", "0.6069632", "0.60449326", "0.6014423", "0.5997089", "0.5995911", "0.59633505", "0.5924282", "0.58756953", "0.58108145", "0.578299", "0.57661223", "0.5766101", "0.5756829", "0.5748155", "0.5747975", "0.57336366", "0.5724183", "0.57195956", "0.5660729", "0.5658539", "0.5653045", "0.5644786", "0.56433487", "0.5629349", "0.5627655", "0.56130135", "0.5605424", "0.56044865", "0.56035465", "0.55751795", "0.5558691", "0.5555805", "0.5548303", "0.5530447", "0.5493661", "0.5481518", "0.5477829", "0.5477116", "0.5473711", "0.5469795", "0.5446378", "0.5446002", "0.543364", "0.54311085", "0.54289234", "0.5428213", "0.5426301", "0.54061234", "0.5405244", "0.54049146", "0.53989506", "0.53966445", "0.5391011", "0.5384442", "0.53660405", "0.5358977", "0.5356222", "0.53544587", "0.5346139", "0.53260434", "0.5325518", "0.5322846", "0.5305221", "0.5293129", "0.5289394", "0.5286887", "0.5280376", "0.52789754", "0.5275019", "0.52720064", "0.5263291", "0.5251762", "0.5232973", "0.5222284" ]
0.7829845
1
Returns the stroke width of the shape's stroke in printer points.
public float getStrokeWidth() { return getStroke()==null? 0 : getStroke().getWidth(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final DoubleProperty strokeWidthProperty() {\n return getStrokeAttributes().widthProperty();\n }", "public float getStrokeWidth() {\n\t\treturn strokeWidth;\n\t}", "public float getStrokeWidth() {\n return (float) this.getValue(STROKE_WIDTH_PROPERTY_KEY);\n }", "public float getLineWidth()\r\n\t{\r\n\t\treturn g.getPenWidth();\r\n\t}", "protected float getLineWidth(Graphics2D g2d) {\n float lineWidth = 1.0f;\n Stroke stroke = g2d.getStroke();\n if (stroke instanceof BasicStroke) {\n BasicStroke bs = (BasicStroke)stroke;\n lineWidth = bs.getLineWidth();\n }\n return lineWidth;\n }", "public final native double getStrokeWidth() /*-{\n\t\tif (this.getStrokeWidth() != null) return this.getStrokeWidth();\n\t\telse return 0;\n\t}-*/;", "public double getEdgeStrokeDestinationWidth() {\n return (_edgeStrokeDestinationWidth);\n }", "double width () {\n Text text = new Text(this.getText());\n text.setStyle(this.getStyle());\n return text.getBoundsInLocal().getWidth() * 1.5;\n }", "public double getLineWidth(\n )\n {return lineWidth;}", "int getTextStrokeWidth();", "String getWidth();", "String getWidth();", "public int getLineWidth ( ) {\r\n\t\treturn line_width;\r\n\t}", "public int getLineWidth() {\n return (int) mPaintLine.getStrokeWidth();\n }", "@Override\n public double getLineWidth() {\n return graphicsEnvironmentImpl.getLineWidth(canvas);\n }", "public double getNodeStrokeDestinationWidth() {\n return (_nodeStrokeDestinationWidth);\n }", "public final float getStrokeWidth() {\n if (org.xms.g.utils.GlobalEnvSetting.isHms()) {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).getStrokeWidth()\");\n return ((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).getStrokeWidth();\n } else {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).getStrokeWidth()\");\n return ((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).getStrokeWidth();\n }\n }", "public double getWidth();", "public double getWidth();", "public int getLineWidth() {\r\n return LineWidth;\r\n }", "public double getEdgeStrokeSourceWidth() {\n return (_edgeStrokeSourceWidth);\n }", "public double getWidth() {\n\t\tdouble width = Math.round(sideLength + (2 * sideLength * \n\t\t\t\tMath.sin(Math.PI / 4)));\n\t\treturn width;\n\t}", "double width () {\n Text text = new Text(event.name);\n text.setStyle(this.getStyle());\n return text.getBoundsInLocal().getWidth() * 1.5;\n }", "Length getWidth();", "double getWidth();", "double getWidth();", "public int getWidth () {\r\n\tcheckWidget();\r\n\tint [] args = {OS.Pt_ARG_WIDTH, 0, 0};\r\n\tOS.PtGetResources (handle, args.length / 3, args);\r\n\treturn args [1];\r\n}", "protected int measureWidth(int measureSpec) {\n int specMode = MeasureSpec.getMode(measureSpec);\n int specSize = MeasureSpec.getSize(measureSpec);\n int result;\n if (specMode == MeasureSpec.EXACTLY) {\n result = specSize;\n } else {\n result = (int) (2 * radius) + getPaddingLeft() + getPaddingRight() + (int) (2 * strokeWidth);\n if (specMode == MeasureSpec.AT_MOST) {\n result = Math.min(result, specSize);\n }\n }\n return result;\n }", "public String getWidth() {\n return width;\n }", "public double getNodeStrokeSourceWidth() {\n return (_nodeStrokeSourceWidth);\n }", "public double getWidth() {\n\t\t\treturn width.get();\n\t\t}", "public int getOutlinePickWidth()\n {\n return this.outlinePickWidth;\n }", "public double getWidth() {\n return getElement().getWidth();\n }", "public int getLength ()\r\n {\r\n return glyph.getBounds().width;\r\n }", "public int getGlyphCount() {\n\t\tSet<Key<?>> keys = properties.keys(ObservableProperties.DEFAULT);\n\t\tint ctr = 0;\n\t\tfor (Key<?> key : keys) {\n\t\t\tObject t = properties.get(key);\n\t\t\tif (t instanceof WritingShape && key.toString().length() == 1)\n\t\t\t\tctr++;\n\t\t}\n\t\treturn ctr;\n\t}", "public double getWidth() {\r\n\r\n\t\treturn w;\r\n\r\n\t}", "public java.lang.String getWidth()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(WIDTH$20);\n if (target == null)\n {\n return null;\n }\n return target.getStringValue();\n }\n }", "public double getWidth() {\r\n \tif (this.x1 >= this.x3) {\r\n \t\tif (this.y1 >= this.y3) {\r\n \t\t\twidth = Math.sqrt(Math.pow((this.x1 - this.x3), 2) + Math.pow((this.y1 - this.y3), 2));\r\n \t\t} else {\r\n \t\t\twidth = Math.sqrt(Math.pow((this.x1 - this.x3), 2) + Math.pow((this.y3 - this.y1), 2));\r\n \t\t}\r\n \t} else if (this.x1 < this.x3) {\r\n \t\tif (this.y1 >= this.y3) {\r\n \t\t\twidth = Math.sqrt(Math.pow((this.x3 - this.x1), 2) + Math.pow((this.y1 - this.y3), 2));\r\n \t\t} else {\r\n \t\t\twidth = Math.sqrt(Math.pow((this.x3 - this.x1), 2) + Math.pow((this.y3 - this.y1), 2));\r\n \t\t}\r\n \t}\r\n \treturn(width);\r\n }", "public double getWidth()\r\n {\r\n return width;\r\n }", "public double getRectWidth() {\n double baseWidth = Hex.INNER_DIAMETER * hexWidth;\n double offset = Hex.INNER_RADIUS * (hexHeight - 1);\n return baseWidth + offset;\n }", "public int getThickness ()\r\n {\r\n return glyph.getBounds().height;\r\n }", "public abstract float getLineWidth();", "public float palmWidth() {\r\n\t\treturn LeapJNI.Hand_palmWidth(this.swigCPtr, this);\r\n\t}", "public double getWidth()\n {\n return width;\n }", "public double getWidth() {\n return width;\n }", "public double getWidth() {\n return width;\n }", "public double getWidth() {\n return width;\n }", "public int getWidth(CharSequence text) {\r\n\t\tint width = 0, lineWidth = 0;\r\n\t\t\r\n\t\tfor (int i = 0; i < text.length(); i++) {\r\n\t\t\tchar character = text.charAt(i);\r\n\t\t\t\r\n\t\t\tif (character == '\\n') { // New line\r\n\t\t\t\twidth = Math.max(width, lineWidth);\r\n\t\t\t\tlineWidth = 0;\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t// Ignore carriage returns\r\n\t\t\tif (character == '\\r') continue;\r\n\t\t\t\r\n\t\t\tGlyph glyph = glyphs.get(character);\r\n\t\t\tif (glyph == null) continue;\r\n\t\t\t\r\n\t\t\tlineWidth += glyph.getWidth();\r\n\t\t}\r\n\t\t\r\n\t\twidth = Math.max(width, lineWidth);\r\n\t\treturn width;\r\n\t}", "public double getWidth() {\n\t\treturn width;\n\t}", "public double getWidth() {\n\t\treturn width;\n\t}", "public double getWidth() {\n\t\treturn width;\n\t}", "public double getWidth() {\r\n\t\treturn width;\r\n\t}", "public double getWidth() {\r\n return width;\r\n }", "public SVGLength getWidth() {\n return width;\n }", "public double drawLength() { return drawLength; }", "public double getWidth () {\n return width;\n }", "private double getWidth() {\n\t\treturn width;\n\t}", "public final native double getWidth() /*-{\n return this.getWidth();\n }-*/;", "int getPointLength();", "public Stroke getStroke() {\n\t\tStroke theStroke = stroke;\n\t\tif (theStroke == null) {\n\t\t\ttheStroke = new BasicStroke(strokeWidth);\n\t\t\tstroke = theStroke;\n\t\t}\n\t\treturn theStroke;\n\t}", "public Number getWidth() {\n\t\treturn getAttribute(WIDTH_TAG);\n\t}", "public int getWidth() {\n return (int) Math.round(width);\n }", "public int getWidth() {\n return ((int) this.rectangle.getWidth());\n }", "public int getGraphicsWidth(Graphics g);", "public String getwidth()\n\t{\n\t\treturn width.getText();\n\t}", "public final org.xms.g.maps.model.PolygonOptions strokeWidth(float param0) {\n if (org.xms.g.utils.GlobalEnvSetting.isHms()) {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).strokeWidth(param0)\");\n com.huawei.hms.maps.model.PolygonOptions hReturn = ((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).strokeWidth(param0);\n return ((hReturn) == null ? null : (new org.xms.g.maps.model.PolygonOptions(new org.xms.g.utils.XBox(null, hReturn))));\n } else {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).strokeWidth(param0)\");\n com.google.android.gms.maps.model.PolygonOptions gReturn = ((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).strokeWidth(param0);\n return ((gReturn) == null ? null : (new org.xms.g.maps.model.PolygonOptions(new org.xms.g.utils.XBox(gReturn, null))));\n }\n }", "public double getWidth ( ) {\n\t\t// TODO: backwards compatibility required\n\t\treturn invokeSafe ( \"getWidth\" );\n\t}", "public Integer getWidth()\n {\n return (Integer) getStateHelper().eval(PropertyKeys.width, null);\n }", "final public double getWidth()\n\t{\n\t\treturn width;\n\t}", "public int getWidth() {\r\n if ( fontMetrics != null && lbl != null ) {\r\n return fontMetrics.stringWidth(lbl) + 12; \r\n } else {\r\n return 10;\r\n }\r\n }", "public float getWidth() {\n\t\t\n\t\tfloat width= 0;\n\t\tfor(int i = 0; i < text.length(); i++) {\n\t\t\twidth += font.getChar(text.charAt(i)).X_ADVANCE * size;\n\t\t}\n\t\t\n\t\treturn width;\n\t}", "public double getWidth() {\n\treturn width;\n }", "@Override\n public int getWidth() {\n return graphicsEnvironmentImpl.getWidth(canvas);\n }", "public short getWidth() {\n\n\t\treturn getShort(ADACDictionary.X_DIMENSIONS);\n\t}", "public int getNowLineStrokeWidth() {\n return config.nowLineStrokeWidth;\n }", "@Nullable\n public DpProp getWidth() {\n if (mImpl.hasWidth()) {\n return DpProp.fromProto(mImpl.getWidth());\n } else {\n return null;\n }\n }", "public float getWidth();", "public double getWidth() {\n return this.size * 2.0; \n }", "public String getWidth() {\r\n if (width != null) {\r\n return width;\r\n }\r\n ValueBinding vb = getValueBinding(\"width\");\r\n return vb != null ? (String) vb.getValue(getFacesContext()) :\r\n DEFAULT_WIDTH;\r\n }", "public RMStroke getStroke() { return _stroke; }", "public int getWidth() {\n return mySize.getWidth();\n }", "public RecodedReal getLineWidth(){\n return ps == null ? null :ps.getWidthLegend();\n }", "public double getWidth() {\n return location.width();\n }", "public void setEdgeStrokeDestinationWidth(double value) {\n _edgeStrokeDestinationWidth = value;\n }", "long getWidth();", "public byte getWidth();", "public int getWidth() {\n return type.getWidth();\n }", "public double getWidthInInches()\n {\n return width;\n }", "public int getWidth();", "public int getWidth();", "public int getWidth();", "public Integer getWidth() {\n\t\t\treturn width;\n\t\t}", "public int getWidthWeight()\n {\n int ret = 1;\n if (!isFixedWidth() && hasProperty(UIFormFieldProperty.WIDTH.value())) {\n ret = Integer.valueOf(getProperty(UIFormFieldProperty.WIDTH.value()));\n }\n return ret;\n }", "public String getWidthAttribute() {\n if (wrapWidth) {\n return VALUE_WRAP_CONTENT;\n } else if (fillWidth) {\n //return mRule.getFillParentValueName();\n return VALUE_MATCH_PARENT;\n } else {\n return AndroidDesignerUtils.pxToDpWithUnits(myArea, bounds.width);\n }\n }", "public static int getTerminalWidth() {\n int w = out().getTerminalWidth();\n if (w <= 0) {\n w = err().getTerminalWidth();\n }\n return w;\n }", "@Override\n public int getWidth() {\n colorSpaceType.assertNumElements(buffer.getFlatSize(), height, width);\n return width;\n }", "public static int getWidth()\r\n\t{\r\n\t\treturn width;\r\n\t}", "@Override\n\tpublic int getWidth() {\n\t\treturn POWER_STATION_WIDTH;\n\t}", "public Number getWidth() {\n GroupingExpression w = getArg(1);\n return (w instanceof LongValue) ? ((LongValue)w).getValue() : ((DoubleValue)w).getValue();\n }", "public int getWidth() {\n return bala.getWidth();\n }" ]
[ "0.7736984", "0.7729944", "0.7484774", "0.7201291", "0.7143169", "0.7056583", "0.6872093", "0.6837334", "0.67547405", "0.6683702", "0.6675686", "0.6675686", "0.664466", "0.65959865", "0.65933967", "0.65496767", "0.6519966", "0.64735395", "0.64735395", "0.6462853", "0.6461232", "0.6444279", "0.6410895", "0.6332121", "0.6309794", "0.6309794", "0.6281262", "0.62700546", "0.6215633", "0.6206617", "0.61490864", "0.6133859", "0.6120991", "0.61110264", "0.61071277", "0.6086673", "0.6085894", "0.60768443", "0.6065876", "0.6061247", "0.6053642", "0.6050934", "0.60508436", "0.60507345", "0.60494345", "0.60494345", "0.60494345", "0.60487294", "0.60354674", "0.60354674", "0.60354674", "0.60354465", "0.6028641", "0.60192305", "0.60140777", "0.60094464", "0.59944826", "0.5994227", "0.5988639", "0.59819925", "0.59565586", "0.5950361", "0.5934179", "0.59290445", "0.591567", "0.59154916", "0.59136826", "0.5908471", "0.58955914", "0.58948654", "0.58899415", "0.58758235", "0.5868273", "0.5864572", "0.5861622", "0.58546054", "0.58487445", "0.5835945", "0.5831592", "0.58212566", "0.58198744", "0.58156455", "0.5813166", "0.58084524", "0.5807313", "0.5802155", "0.57916707", "0.57797474", "0.5778381", "0.5778381", "0.5778381", "0.57759166", "0.57728213", "0.57671976", "0.5765838", "0.576467", "0.57593715", "0.57577693", "0.57522994", "0.57500774" ]
0.70759565
5
Sets the stroke width of the shape's stroke in printer points.
public void setStrokeWidth(float aValue) { // Set line width if(getStroke()==null) setStroke(new RMStroke(RMColor.black, aValue)); else getStroke().setWidth(aValue); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final native void setStrokeWidth(double width) /*-{\n\t\tthis.setStrokeWidth(width);\n\t}-*/;", "public void setStrokeWidth(float strokeWidth) {\n this.setValue(STROKE_WIDTH_PROPERTY_KEY, strokeWidth);\n }", "void setStrokeWidth(float strokeWidth) {\n/* 180 */ this.mStrokeWidth = strokeWidth;\n/* */ }", "protected void setLineWidth(int width) {\r\n\t\tif (primaryShape instanceof Shape) {\r\n\t\t\t((Shape) primaryShape).setLineWidth(width);\r\n\t\t}\r\n\t}", "public void setStrokeWidth(Float strokeWidth) {\n\t\tthis.strokeWidth = strokeWidth;\n\t\tstroke = null;\n\t}", "public final DoubleProperty strokeWidthProperty() {\n return getStrokeAttributes().widthProperty();\n }", "public void setLineWidth(float lineWidth);", "public void setLineWidth(int width)\n {\n if (width > 0)\n lineWidth = width;\n else \n lineWidth = 1;\n }", "public float getStrokeWidth() {\n\t\treturn strokeWidth;\n\t}", "public void setEdgeStrokeDestinationWidth(double value) {\n _edgeStrokeDestinationWidth = value;\n }", "@Override\n public void setLineWidth(double width) {\n graphicsEnvironmentImpl.setLineWidth(canvas, width);\n }", "@Override public Polyline setStrokeWidth(double strokeWidth)\n {\n return (Polyline)super.setStrokeWidth(strokeWidth);\n }", "public void setLineWidth(float width)\r\n\t{\r\n\t\t// not implemented\r\n\t\tg.setPenWidth((int) width);\r\n\t}", "public void setLineWidth(int width) {\n mPaintLine.setStrokeWidth(width);\n }", "public final Pen changeWidth(float width) {\n Color resultColor = this.color;\n LineStyle style = LineStyleUtils.getLineStyle(stroke);\n BasicStroke resultStroke = LineStyleUtils.getStroke(style, width);\n return new Pen(resultStroke, resultColor);\n }", "public abstract void setLineWidth(float lineWidth);", "public void setLineWidth ( int width ) {\r\n\t\tline_width = width;\r\n\t}", "public void setStroke(Stroke stroke);", "public void setLineWidth(Integer width) {\n style.setBorderWidth(width);\n }", "public double getLineWidth(\n )\n {return lineWidth;}", "public abstract void setStroke(BasicStroke stroke);", "public void setNodeStrokeDestinationWidth(double value) {\n _nodeStrokeDestinationWidth = value;\n }", "private void setBorderWidth(int width) {\n this.borderWidth = width;\n Rectangle r = (Rectangle) this.getChildren().get(0);\n r.setStrokeWidth(width);\n }", "public void strokeShape(Shape shape);", "public float getStrokeWidth() {\n return (float) this.getValue(STROKE_WIDTH_PROPERTY_KEY);\n }", "public float getStrokeWidth() { return getStroke()==null? 0 : getStroke().getWidth(); }", "public void setStrokeStyle(STYLE style);", "public void setEdgeStrokeSourceWidth(double value) {\n _edgeStrokeSourceWidth = value;\n }", "public void setWidth(double value) {\n this.width = value;\n }", "public float getLineWidth()\r\n\t{\r\n\t\treturn g.getPenWidth();\r\n\t}", "public final Marking setLineWidth( int lineWidth )\n {\n put( LINE_WIDTH_KEY, lineWidth );\n return this;\n }", "public void setPenSize(int penSize) {\r\n\t\t\r\n\t\tthis.penSize = penSize;\r\n\t}", "public int getLineWidth() {\r\n return LineWidth;\r\n }", "public void setSelectOvalStrokeWidth(int width) {\n this.mSelectOvalStrokeWidth = width;\n }", "public int getLineWidth ( ) {\r\n\t\treturn line_width;\r\n\t}", "public void setStroke(RMStroke aStroke)\n{\n if(RMUtils.equals(getStroke(), aStroke)) return; // If value already set, just return\n repaint(); // Register repaint\n if(_stroke!=null) _stroke.removePropertyChangeListener(this);\n firePropertyChange(\"Stroke\", _stroke, _stroke = aStroke, -1); // Set value and fire PropertyChange\n if(_stroke!=null) _stroke.addPropertyChangeListener(this); // Set shape\n}", "public void setNormalOvalStrokeWidth(int width) {\n this.mNormalOvalStrokeWidth = width;\n }", "@Override\n public double getLineWidth() {\n return graphicsEnvironmentImpl.getLineWidth(canvas);\n }", "public void setGestureLineWidth(int width) {\n this.mGestureLineWidth = width;\n }", "public void setThickness(float thickness){\n this.thickness = thickness;\n }", "public void setWidth(double width) {\n this.width = width;\n }", "public void setStroke(Stroke s)\r\n\t{\r\n\t\tif (s instanceof BasicStroke)\r\n\t\t{\r\n\t\t\tBasicStroke bs = (BasicStroke) s;\r\n\t\t\tthis.setLineWidth(bs.getLineWidth());\r\n\r\n\t\t\tif (bs.getDashArray() != null)\r\n\t\t\t{\r\n\t\t\t\tthis.setLineStyle(CanvasType.SHORT_DASHES);\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\tthis.setLineStyle(CanvasType.SOLID);\r\n\t\t\t}\r\n\r\n\t\t}\r\n\t\t// else\r\n\t\t// System.out.println(\"setStroke not a BasicStroke\");\r\n\t}", "public void setWidth(double width) {\r\n this.width = width;\r\n }", "public void setBorderWidth(float borderWidth) {\n mPolygonShapeSpec.setBorderWidth(borderWidth * (getResources().getDisplayMetrics().density));\n updateBorderSpecs();\n }", "public void setPenThickness(double index) {\n\t\tpenThickness = index;\n\t}", "public void setWidth(double width) {\n this.width = width;\n }", "public final org.xms.g.maps.model.PolygonOptions strokeWidth(float param0) {\n if (org.xms.g.utils.GlobalEnvSetting.isHms()) {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).strokeWidth(param0)\");\n com.huawei.hms.maps.model.PolygonOptions hReturn = ((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).strokeWidth(param0);\n return ((hReturn) == null ? null : (new org.xms.g.maps.model.PolygonOptions(new org.xms.g.utils.XBox(null, hReturn))));\n } else {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).strokeWidth(param0)\");\n com.google.android.gms.maps.model.PolygonOptions gReturn = ((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).strokeWidth(param0);\n return ((gReturn) == null ? null : (new org.xms.g.maps.model.PolygonOptions(new org.xms.g.utils.XBox(gReturn, null))));\n }\n }", "public final native double getStrokeWidth() /*-{\n\t\tif (this.getStrokeWidth() != null) return this.getStrokeWidth();\n\t\telse return 0;\n\t}-*/;", "public void setNodeStrokeSourceWidth(double value) {\n _nodeStrokeSourceWidth = value;\n }", "public void setArcwidth(double aw) {\n\t\t\tarcwidth.set(aw);\n\t\t}", "public void setWidth(double w)\n { this.widthDefault = w; }", "int getTextStrokeWidth();", "public abstract float getLineWidth();", "double width () {\n Text text = new Text(this.getText());\n text.setStyle(this.getStyle());\n return text.getBoundsInLocal().getWidth() * 1.5;\n }", "public final native void setStroke(Colour colour) /*-{\n\t\tthis.setStroke([email protected]::toString()());\n\t}-*/;", "public double getEdgeStrokeDestinationWidth() {\n return (_edgeStrokeDestinationWidth);\n }", "public void setStrokeColor(Color color);", "public void setPenSize(int pixelSize){\n myPen.setPenSize(pixelSize);\n }", "public void setWidth(double width) {\n\t\tthis.width = width;\n\t}", "public void setWidth(double width) {\n\t\tthis.width = width;\n\t}", "public int getLineWidth() {\n return (int) mPaintLine.getStrokeWidth();\n }", "public void setWidth(int w){ widthRadius = w; }", "private void setPenRadius() {\n\t}", "public void resetPaddleWidth(){\n myRectangle.setWidth(myLength);\n }", "public void setWidth(Double width) {\n\t\tthis.width = width;\n\t}", "public void setWidth(Integer width) {\n this.width = width;\n control.draw();\n }", "public void setThickness(String s)\n\t{\n\t\tthis.lineThickness = Integer.parseInt(s.substring(0, 1));\n\t}", "public void setWidth(int w)\n {\n width = w;\n }", "public void setWidth(final String value)\n {\n width = value;\n }", "public void setWidth(int w) {\n this.width = w;\n }", "protected float getLineWidth(Graphics2D g2d) {\n float lineWidth = 1.0f;\n Stroke stroke = g2d.getStroke();\n if (stroke instanceof BasicStroke) {\n BasicStroke bs = (BasicStroke)stroke;\n lineWidth = bs.getLineWidth();\n }\n return lineWidth;\n }", "public RMStroke getStroke() { return _stroke; }", "public DirectShapeRenderer stroke() {\n \t\treturn renderer.stroke();\n \t}", "@Override\n @SimpleProperty()\n public void Width(int width) {\n if (width == LENGTH_PREFERRED) {\n width = LENGTH_FILL_PARENT;\n }\n super.Width(width);\n }", "public int getOutlinePickWidth()\n {\n return this.outlinePickWidth;\n }", "private void setSizeBox() {\n\t\t\tthis.leftX = pointsSubStroke.get(0).getX();\n\t\t\tthis.righX = pointsSubStroke.get(0).getX();\n\t\t\tthis.topY = pointsSubStroke.get(0).getY();\n\t\t\tthis.bottomY = pointsSubStroke.get(0).getY();\n\t\t\t\n\t\t\tfor(int i = 0; i < pointsSubStroke.size();i++) {\n\t\t\t\tdouble x = pointsSubStroke.get(i).getX();\n\t\t\t\tdouble y = pointsSubStroke.get(i).getX();\n\t\t\t\t\n\t\t\t\tthis.leftX = Math.min(x, leftX);\n\t\t\t\tthis.righX = Math.max(x, righX);\n\t\t\t\tthis.topY = Math.min(y, topY);\n\t\t\t\tthis.bottomY = Math.max(y, bottomY);\n\t\t\t}\n\t\t}", "public void yBindWidth(String bind_name, ObservableValue<? extends Number> width, boolean stroke_included);", "public void setWitdh(int newValue)\n {\n width = newValue;\n }", "public void setThickness(int thickness) {\n\t\tthis.thickness = thickness;\n\t\tint ht = thickness;\n\t\tht = ht - ht / 2 + 2;\n\t\tif (thickness % 2 != 0)\n\t\t\tht -= 1;\n\t\trectF = new RectF(ht, ht, getWidth() - ht, getHeight() - ht);\n\t\tinvalidate();\n\t}", "void setPaperSize(short size);", "public final native void setWidth(double width) /*-{\n this.setWidth(width);\n }-*/;", "public double getEdgeStrokeSourceWidth() {\n return (_edgeStrokeSourceWidth);\n }", "public void strokeRectangle(int x, int y, int width, int height);", "public void setWidth(int w){\n \twidth = w;\n }", "@Override\n public void stroke() {\n graphicsEnvironmentImpl.stroke(canvas);\n }", "public int getNowLineStrokeWidth() {\n return config.nowLineStrokeWidth;\n }", "@Override\n public void strokeRect(double x, double y, double width, double height) {\n graphicsEnvironmentImpl.strokeRect(canvas, x, y, width, height);\n }", "void setWidth(int width);", "void setWidth(int width);", "@Override\r\n public void setWidth(String width) {\n }", "public Stroke getStroke() {\n\t\tStroke theStroke = stroke;\n\t\tif (theStroke == null) {\n\t\t\ttheStroke = new BasicStroke(strokeWidth);\n\t\t\tstroke = theStroke;\n\t\t}\n\t\treturn theStroke;\n\t}", "public void setWidth(int w) {\n this.W = w;\n }", "public void setCurrentStrokeValue(float value,int color) {\n currentStrokeValue = value;\n if(strokeWidthView != null) {\n strokeWidthView.setProgress((int) value,color);\n strokeWidthView.invalidate();\n }\n }", "public void setStrokeColor(RMColor aColor)\n{\n // Set stroke color\n if(aColor==null) setStroke(null);\n else if(getStroke()==null) setStroke(new RMStroke(aColor, 1));\n else getStroke().setColor(aColor);\n}", "public void drawStroke(Canvas canvas, Paint eraser, Shape shape, int xPosition, int yPosition, int shapePadding) {\n }", "public void setWidth(String width) {\r\n this.width = width;\r\n }", "void setBorder(Color color, int thickness);", "public void strokeRectangle(RectangleShape rectangle);", "public void setOutlinePickWidth(int outlinePickWidth)\n {\n if (outlinePickWidth < 0)\n {\n String message = Logging.getMessage(\"generic.ArgumentOutOfRange\", \"width < 0\");\n Logging.logger().severe(message);\n throw new IllegalArgumentException(message);\n }\n\n this.outlinePickWidth = outlinePickWidth;\n }", "public final float getStrokeWidth() {\n if (org.xms.g.utils.GlobalEnvSetting.isHms()) {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).getStrokeWidth()\");\n return ((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).getStrokeWidth();\n } else {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).getStrokeWidth()\");\n return ((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).getStrokeWidth();\n }\n }" ]
[ "0.7287077", "0.7130444", "0.70813775", "0.69910747", "0.69619924", "0.6933977", "0.68670636", "0.6785736", "0.6766107", "0.6758188", "0.6757582", "0.6733951", "0.67325586", "0.6710135", "0.6687813", "0.65792847", "0.6570641", "0.65682787", "0.6539011", "0.6372573", "0.63204736", "0.6275562", "0.6265556", "0.62646115", "0.62628233", "0.62296194", "0.6171679", "0.6171251", "0.6086824", "0.60704607", "0.59811974", "0.59539735", "0.5939428", "0.59339184", "0.59291357", "0.5910658", "0.58801585", "0.58718085", "0.5827272", "0.58095384", "0.57895803", "0.57838976", "0.57433134", "0.57328665", "0.572869", "0.57227206", "0.571544", "0.568365", "0.565987", "0.5659192", "0.56565005", "0.56466806", "0.5617071", "0.56056887", "0.5584294", "0.55791557", "0.55685616", "0.55536103", "0.5549398", "0.5549398", "0.55486184", "0.55398446", "0.55316067", "0.55254906", "0.5525353", "0.550204", "0.550135", "0.5492086", "0.54894567", "0.54878986", "0.54856676", "0.54855365", "0.54825634", "0.54824984", "0.54816437", "0.54708713", "0.5456434", "0.5429861", "0.5424105", "0.53910846", "0.5390724", "0.5383039", "0.537806", "0.53720564", "0.5372053", "0.537172", "0.5368341", "0.5360146", "0.5360146", "0.5360134", "0.5356921", "0.53534955", "0.53510934", "0.53435904", "0.5342026", "0.5338262", "0.5333091", "0.5328204", "0.5327891", "0.53130907" ]
0.6781997
8
Returns the opacity of the shape (1 for opaque, 0 for transparent).
public float getOpacity() { Number n = (Number)get("Opacity"); return n!=null? n.floatValue() : 1; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getOpacity();", "@Override\n\tpublic int getOpacity() {\n\t\treturn PixelFormat.OPAQUE;\n\t}", "public Integer getOpacity() {\n return opacity;\n }", "@Override\n public int getOpacity() {\n return DrawableUtils.getOpacityFromColor(DrawableUtils.multiplyColorAlpha(mColor, mAlpha));\n }", "public float getOpacityDeep()\n{\n float op = getOpacity();\n for(RMShape s=_parent; s!=null; s=s._parent) op *= s.getOpacity();\n return op;\n}", "public int getPaintAlpha(){\n return Math.round((float)paintAlpha/255*100);\n }", "public RecodedReal getFillOpacity(){\n return (RecodedReal) fill.getFillOpacityLegend();\n }", "public float getAlpha() {\n if (this.isConnectedToGame)\n return 1.0f;\n else\n return 0.5f;\n }", "public float getOpacity(){\n\t\t\n\t\tif(this.isDestroyed()){\n\t\t\treturn 0;\n\t\t}\n\t\tlong time = System.currentTimeMillis() - creationTime;\n\t\t\n\t\tfloat opacity;\n\t\tif(time == 0 || time == visibleTime){\n\t\t\topacity = 0;\n\t\t}else if(time < visibleTime/4){\n\t\t\topacity = (float)easingInOut(time, 0, 1 , visibleTime/4);\n\t\t}else if (time > (visibleTime/4)*3){\n\t\t\topacity = (float)easingInOut(visibleTime - time, 0, 1,visibleTime/4);\n\t\t}else{\n\t\t\topacity = 1;\n\t\t}\n\t\treturn Math.max(0, Math.min(1,opacity));\n\t}", "public int getPointOpacity()\n {\n return myPointOpacity;\n }", "public float getAlpha();", "public float getAlpha();", "@Override\r\n\t\tpublic int getOpacity()\r\n\t\t{\n\t\t\treturn 0;\r\n\t\t}", "public int getAlpha()\n {\n return getColor().alpha();\n }", "@Override\n\tpublic int getOpacity() {\n\t\treturn 0;\n\t}", "public float getConstantOpacity() {\n/* 185 */ return getCOSObject().getFloat(COSName.CA, 1.0F);\n/* */ }", "@Override\n\t\t\tpublic int getOpacity() {\n\t\t\t\treturn 0;\n\t\t\t}", "public RecodedReal getLineOpacity(){\n return ps == null ? null :(RecodedReal) ps.getFillLegend().getFillOpacityLegend();\n }", "float getAlpha();", "double getTransparency();", "public float getAlpha() {\n \t\treturn alpha;\n\t}", "protected int getShadeAlpha() {\n int a = currAlpha - 80;\n if (a < 0)\n a = 0;\n return a;\n }", "public native void setOpacity(int opacity);", "public int getGridOpacity() {\n return this.gridOpacity;\n }", "private float calculateAlpha() {\n float alpha = 1.2f*(myCamera.getViewportWidth()/(2*Const.WORLD_WIDTH-myCamera.getViewportWidth()))-0.2f;\n if(alpha < 0) alpha = 0;\n if(alpha > 1) alpha = 1;\n return alpha;\n }", "@Override\n public int getAlpha() {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {\n return patternDrawable.getAlpha();\n }\n\n return 0xFF;\n }", "@Override\n public double getGlobalAlpha() {\n return graphicsEnvironmentImpl.getGlobalAlpha(canvas);\n }", "@SuppressWarnings(\"unchecked\")\n public PropertyValue<Float> getLineOpacity() {\n return (PropertyValue<Float>) new PropertyValue(nativeGetLineOpacity());\n }", "private float getAlphaForView(float position, float referenceHeight) {\n if (position < 0) {\n return 0;\n }\n\n if (position > referenceHeight) {\n return 1;\n }\n return position / referenceHeight;\n }", "public int getTransparency() {\n return Color.TRANSLUCENT;\n }", "public static Vector4 alpha()\n {\n return new Vector4(0,0,0,1);\n }", "public void setAlpha(float alpha);", "protected void fading(float alpha) { }", "public int getTransparency() {\n/* 148 */ return this.bufImg.getColorModel().getTransparency();\n/* */ }", "public double getAlpha();", "public double getAlpha();", "public double getAlpha() {\n return alpha;\n }", "public String getTransparency() {\n return transparency;\n }", "public final double getAlpha() {\n\t\treturn alpha;\n\t}", "private int getFillColor() {\n \t\tint id = this.area.getMode() == GPSFilterMode.INCLUDE ? POLYGON_INCLUDE_FILL_COLOR : POLYGON_EXCLUDE_FILL_COLOR;\n \t\treturn adjustAlpha( this.getResources().getColor( id ), 255 * 0.5f );\n \t}", "public double getAlpha()\n {\n return alpha;\n }", "public void setPointOpacity(int pointOpacity)\n {\n myPointOpacity = pointOpacity;\n }", "public float getColorFadeLevel() {\n return mColorFadeLevel;\n }", "public void setAlphaF(float p_82338_1_) {\n/* 102 */ if (this.particleAlpha == 1.0F && p_82338_1_ < 1.0F) {\n/* */ \n/* 104 */ (Minecraft.getMinecraft()).effectRenderer.func_178928_b(this);\n/* */ }\n/* 106 */ else if (this.particleAlpha < 1.0F && p_82338_1_ == 1.0F) {\n/* */ \n/* 108 */ (Minecraft.getMinecraft()).effectRenderer.func_178931_c(this);\n/* */ } \n/* */ \n/* 111 */ this.particleAlpha = p_82338_1_;\n/* */ }", "@Override\n public int getAlpha() {\n return mAlpha;\n }", "public CXformWithAlpha getColorTransform() {\n return colorTransform;\n }", "public void setOpacity(float opacity)\n\t{\n\t\tthis.particleColor.setA(opacity);\n\t}", "public Color4 getEffectColorAdd();", "protected int getColor() {\n return Color.TRANSPARENT;\n }", "public Shape getShape() \n {\n return new EllipseShape(new Extent(3,3), Color.RED,true);\n }", "@SuppressWarnings(\"unchecked\")\n public AnimatorType alpha(int alpha)\n {\n addTransformer(new AlphaTransformer(getShape(), alpha));\n return (AnimatorType) this;\n }", "public static double getAlpha()\n\t{\n\t\treturn alpha;\n\t}", "public double getAlpha()\n\t{\n\t\treturn Math.toRadians(alpha);\n\t}", "public Animation inAlpha() {\n\t\treturn getAlphaInAnim(mInDuration, false);\n\t}", "@Field(1) \n\tpublic ValuedEnum<D2D1_ALPHA_MODE> alphaMode() {\n\t\treturn this.io.getEnumField(this, 1);\n\t}", "double getAlpha() {\n return alpha;\n }", "int getShade(){\n return getPercentageValue(\"shade\");\n }", "@Override\n public ShapeColor getColor() {\n return new ShapeColor(this.r, this.g, this.b);\n }", "@FloatRange(from = 0.0, to = 1.0)\n public float getInitialAlpha() {\n return mImpl.getInitialAlpha();\n }", "public float getDayOpacity() {\r\n //Gdx.app.debug(\"Clock\", \"h: \" + (24f * (seconds / 60f)));\r\n if (dayOpacity < 0.25) {\r\n return 0;\r\n } else if (dayOpacity < 0.5) {\r\n return (dayOpacity - 0.25f) / 0.25f;\r\n } else {\r\n return 1;\r\n }\r\n }", "@Override\n\tpublic void setTransparency(float transparency) {\n\t\t\n\t}", "String getTransparencyAsString();", "public Color getShapeColor() {\n\t\tif (_shape != null) return _shape.getColor();\n\t\telse return null;\n\t}", "public boolean getTransparent() {\n\t\treturn _transparent;\n\t}", "public void setConstantOpacity(float ca) {\n/* 195 */ getCOSObject().setFloat(COSName.CA, ca);\n/* */ }", "public float getWallsAlpha() {\n return this.wallsAlpha;\n }", "private static float m36211g(View view) {\n float alpha = view.getAlpha();\n while (view != null && view.getParent() != null && ((double) alpha) != 0.0d && (view.getParent() instanceof View)) {\n alpha *= ((View) view.getParent()).getAlpha();\n view = (View) view.getParent();\n }\n return alpha;\n }", "public int getFadeLevel() {\r\n\t\treturn fadeLevel;\r\n\t}", "private AlphaComposite makeTransparent(float alpha){\n return(AlphaComposite.getInstance(AlphaComposite.SRC_OVER,alpha));\n }", "public void setAlpha(double alpha);", "public Shape getAreaColision();", "public static VisualAlpha get(Visualization vis) {\n return (VisualAlpha)findNamed(VISUAL, vis);\n }", "public int getPropertyFade();", "public void setPaintAlpha(int newAlpha){\n paintAlpha=Math.round((float)newAlpha/100*255);\n drawPaint.setColor(paintColor);\n drawPaint.setAlpha(paintAlpha);\n }", "public String getFillColor();", "public void setAlpha(float alpha) {\n\t\tthis.alpha = alpha;\n\t}", "@Override\n public void fade(float delta) {\n colour.a *= (1f - (delta * Constants.COLOURCYCLESPEED));\n\n //Gdx.app.log(TAG, \"Alpha:\" + colour.a);\n //alpha *= (1f - (delta * Constants.COLOURCYCLESPEED));\n //colour.add(0.0f, 0.0f, 0.0f, alpha);\n }", "@IcalProperty(pindex = PropertyInfoIndex.TRANSP,\n jname = \"transp\",\n eventProperty = true)\n public void setTransparency(final String val) {\n transparency = val;\n }", "@Field(1) \n\tpublic D2D1_PIXEL_FORMAT alphaMode(ValuedEnum<D2D1_ALPHA_MODE> alphaMode) {\n\t\tthis.io.setEnumField(this, 1, alphaMode);\n\t\treturn this;\n\t}", "public int getPropertyFade()\n {\n return iPropertyFade.getValue();\n }", "public static int getAlpha(int color) {\n return (color >> 24) & 0xFF;\n }", "public void setAlpha(int a)\n { \n alpha = (float) a / 100.0F;\n repaint();\n }", "public int getAlpha() {\r\n return this.alpha = getInstanceOf(int.class, this.alpha);\r\n }", "public float getStartAlpha() {\n return startAlpha;\n }", "public Color4 getEffectColorMul();", "int getAlphaOff(){\n return getPercentageValue(\"alphaOff\");\n }", "public boolean getExpandGrayAlpha() {\n/* 296 */ return this.expandGrayAlpha;\n/* */ }", "private static boolean setGraphicsTransparency(Graphics g, float alpha) {\r\n\t\tif (g instanceof Graphics2D) {\r\n\t\t\tGraphics2D g2d = (Graphics2D) g;\r\n\t\t\tComposite comp = g2d.getComposite();\r\n\t\t\tif (comp instanceof AlphaComposite) {\r\n\t\t\t\tAlphaComposite acomp = (AlphaComposite) comp;\r\n\r\n\t\t\t\tif (acomp.getAlpha() != alpha) {\r\n\t\t\t\t\tif (alpha < 1.0f) {\r\n\t\t\t\t\t\tg2d.setComposite(AlphaComposite.getInstance(\r\n\t\t\t\t\t\t\t\tAlphaComposite.SRC_OVER, alpha));\r\n\t\t\t\t\t\treturn true;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tg2d.setComposite(AlphaComposite.SrcOver);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "public DraggableBehavior setOpacity(float opacity)\n\t{\n\t\tthis.options.put(\"opacity\", opacity);\n\t\treturn this;\n\t}", "int getColour();", "@Override\n public void paint(Graphics g) {\n AlphaComposite ac = AlphaComposite.getInstance(AlphaComposite.SRC_OVER,\n .8f);\n Color old = g.getColor();\n Graphics2D g2d = (Graphics2D) g;\n g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING,\n RenderingHints.VALUE_ANTIALIAS_ON);\n Composite composite = g2d.getComposite();\n g2d.setColor(new Color(0, 0, 0, 0));\n g2d.fillRect(0, 0, getWidth(), getHeight());\n g2d.setColor(Color.blue);\n g2d.setComposite(ac);\n g2d.fillPolygon(new int[]{3, 3, 7, 7}, new int[]{0, 8, 8, 0}, 4);\n g2d.fillPolygon(new int[]{0, 10, 5}, new int[]{8, 8, 12}, 3);\n g2d.setComposite(composite);\n g2d.setColor(old);\n\n }", "public void setOpacity(float aValue)\n{\n if(getOpacity()==aValue) return; // If value already set, just return\n repaint(); // Register repaint\n Object oldValue = getOpacity(); // Cache old value, set new value and fire PropertyChange\n put(\"Opacity\", aValue==1? null : aValue);\n firePropertyChange(\"Opacity\", oldValue, aValue, -1);\n}", "public static Color getColor(double wavelength, double opacity) {\n wavelength = wavelength * 1000000.0;\n double Gamma = 0.80;\n int IntensityMax = 255;\n double red, green, blue, factor;\n\n if ((wavelength >= 380) && (wavelength < 440)) {\n red = -(wavelength - 440.0) / (440 - 380);\n green = 0.0;\n blue = 1.0;\n } else if ((wavelength >= 440) && (wavelength < 490)) {\n red = 0.0;\n green = (wavelength - 440.0) / (490 - 440);\n blue = 1.0;\n } else if ((wavelength >= 490) && (wavelength < 510)) {\n red = 0.0;\n green = 1.0;\n blue = -(wavelength - 510.0) / (510 - 490);\n } else if ((wavelength >= 510) && (wavelength < 580)) {\n red = (wavelength - 510) / (580 - 510);\n green = 1.0;\n blue = 0.0;\n } else if ((wavelength >= 580) && (wavelength < 645)) {\n red = 1.0;\n green = -(wavelength - 645.0) / (645 - 580);\n blue = 0.0;\n } else if ((wavelength >= 645) && (wavelength < 781)) {\n red = 1.0;\n green = 0.0;\n blue = 0.0;\n } else {\n red = 0.0;\n green = 0.0;\n blue = 0.0;\n }\n // Let the intensity fall off near the vision limits\n if ((wavelength >= 380) && (wavelength < 420)) {\n factor = 0.3 + 0.7 * (wavelength - 380) / (420 - 380);\n } else if ((wavelength >= 420) && (wavelength < 701)) {\n factor = 1.0;\n } else if ((wavelength >= 701) && (wavelength < 781)) {\n factor = 0.3 + 0.7 * (780 - wavelength) / (780 - 700);\n } else {\n factor = 0.0;\n }\n if (red != 0) {\n red = (IntensityMax * Math.pow(red * factor, Gamma)) / 255.0;\n }\n if (green != 0) {\n green = (IntensityMax * Math.pow(green * factor, Gamma)) / 255.0;\n }\n if (blue != 0) {\n blue = (IntensityMax * Math.pow(blue * factor, Gamma)) / 255.0;\n }\n //System.out.printf(\"%f, %f, %f,\", red, green, blue);\n return new Color(red, green, blue, opacity);\n }", "public Colour getColour();", "public PDColor getInteriorColor() {\n/* 435 */ return getColor(COSName.IC);\n/* */ }", "@FloatRange(from = 0.0, to = 1.0)\n public float getTargetAlpha() {\n return mImpl.getTargetAlpha();\n }", "public boolean isTransparencySupported() {\n return transparencySupported;\n }", "public E3DVector4F getVertexColorA(){\r\n\t\treturn vertices[0].getVertexColor();\r\n\t}", "public int getColor(Vertex v);", "public native boolean transparentImage(PixelPacket color, int opacity)\n\t\t\tthrows MagickException;" ]
[ "0.74946487", "0.7114733", "0.70863575", "0.692005", "0.6898824", "0.6758076", "0.67359775", "0.67196953", "0.6707886", "0.66588914", "0.66034305", "0.66034305", "0.65821964", "0.6555615", "0.6490612", "0.6477024", "0.6441779", "0.6349002", "0.6271322", "0.61849064", "0.6152932", "0.6106608", "0.60854745", "0.6030703", "0.59969115", "0.598925", "0.59018475", "0.58848923", "0.58793646", "0.5857139", "0.580824", "0.5666553", "0.55986494", "0.5563455", "0.5539523", "0.5539523", "0.55112857", "0.54893607", "0.5453777", "0.5432442", "0.5410005", "0.5397913", "0.5397281", "0.53688496", "0.5354079", "0.53424156", "0.5300524", "0.5288933", "0.5288053", "0.52669704", "0.5261486", "0.5248769", "0.5225093", "0.52225494", "0.5222178", "0.51962394", "0.5190843", "0.51845634", "0.51719856", "0.5171131", "0.5142536", "0.51357657", "0.5112551", "0.5102152", "0.5092008", "0.506477", "0.5044804", "0.5038029", "0.50058615", "0.49597958", "0.49507138", "0.49445453", "0.49397525", "0.49376926", "0.49334478", "0.4928531", "0.49194133", "0.49177477", "0.49115005", "0.49065238", "0.49003953", "0.48966223", "0.48956499", "0.48821008", "0.48539892", "0.48463875", "0.48366332", "0.48358387", "0.48263592", "0.47919387", "0.4788499", "0.47790173", "0.47783595", "0.47582304", "0.47454196", "0.47447205", "0.47422713", "0.47296306", "0.4721322", "0.46992773" ]
0.70972896
2
Sets the opacity of the shape (1 for opaque, 0 for transparent).
public void setOpacity(float aValue) { if(getOpacity()==aValue) return; // If value already set, just return repaint(); // Register repaint Object oldValue = getOpacity(); // Cache old value, set new value and fire PropertyChange put("Opacity", aValue==1? null : aValue); firePropertyChange("Opacity", oldValue, aValue, -1); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public native void setOpacity(int opacity);", "public void setAlpha(float alpha);", "public void setOpacity(float opacity)\n\t{\n\t\tthis.particleColor.setA(opacity);\n\t}", "public void setPointOpacity(int pointOpacity)\n {\n myPointOpacity = pointOpacity;\n }", "public void setPaintAlpha(int newAlpha){\n paintAlpha=Math.round((float)newAlpha/100*255);\n drawPaint.setColor(paintColor);\n drawPaint.setAlpha(paintAlpha);\n }", "public DraggableBehavior setOpacity(float opacity)\n\t{\n\t\tthis.options.put(\"opacity\", opacity);\n\t\treturn this;\n\t}", "@Override\n\tpublic void setTransparency(float transparency) {\n\t\t\n\t}", "public void setGridOpacity(int opacity) {\n this.gridOpacity = opacity;\n this.repaint();\n }", "public void setAlpha(int a)\n { \n alpha = (float) a / 100.0F;\n repaint();\n }", "public void setAlpha(int newAlpha)\n {\n setColor(getColor().withAlpha(newAlpha));\n }", "protected void fading(float alpha) { }", "protected void setScrimAlpha(float alpha) {\n mShowScrim = alpha > 0f;\n mRenderer.getPaint().setAlpha((int) (alpha * 255));\n invalidate();\n }", "public void setOpacity(float newOpacity) {\n\t\tthis.opacity = newOpacity;\n\t}", "public void setAlpha(double alpha);", "int getOpacity();", "@Override\n public void setAlpha(int alpha) {\n if (alpha != mAlpha) {\n mAlpha = alpha;\n invalidateSelf();\n }\n }", "public void setAlpha(float alpha) {\n\t\tthis.alpha = alpha;\n\t}", "@Override\n\tpublic int getOpacity() {\n\t\treturn 0;\n\t}", "public void setAlphaF(float p_82338_1_) {\n/* 102 */ if (this.particleAlpha == 1.0F && p_82338_1_ < 1.0F) {\n/* */ \n/* 104 */ (Minecraft.getMinecraft()).effectRenderer.func_178928_b(this);\n/* */ }\n/* 106 */ else if (this.particleAlpha < 1.0F && p_82338_1_ == 1.0F) {\n/* */ \n/* 108 */ (Minecraft.getMinecraft()).effectRenderer.func_178931_c(this);\n/* */ } \n/* */ \n/* 111 */ this.particleAlpha = p_82338_1_;\n/* */ }", "@Override\r\n\t\tpublic int getOpacity()\r\n\t\t{\n\t\t\treturn 0;\r\n\t\t}", "public void setConstantOpacity(float ca) {\n/* 195 */ getCOSObject().setFloat(COSName.CA, ca);\n/* */ }", "@Override\n public void setAlpha(float alpha) {\n super.setAlpha(alpha);\n\n int newVisibility = alpha <= 0f ? View.GONE : View.VISIBLE;\n setVisibility(newVisibility);\n }", "@Override\n public void setAlpha(int alpha) {\n patternDrawable.setAlpha(alpha);\n }", "@Override\n\t\t\tpublic int getOpacity() {\n\t\t\t\treturn 0;\n\t\t\t}", "@IcalProperty(pindex = PropertyInfoIndex.TRANSP,\n jname = \"transp\",\n eventProperty = true)\n public void setTransparency(final String val) {\n transparency = val;\n }", "@Override\n\tpublic int getOpacity() {\n\t\treturn PixelFormat.OPAQUE;\n\t}", "public Integer getOpacity() {\n return opacity;\n }", "@Generated\n @Selector(\"setOpacity:atTime:\")\n public native void setOpacityAtTime(float opacity, @ByValue CMTime time);", "public void loadOpacity(float opacity) {\r\n\t\tsetFloat(uniform_opacity, opacity);\r\n\t}", "protected int setPaintAlpha(Paint paint, int alpha) {\n final int prevAlpha = paint.getAlpha();\n paint.setAlpha(Ui.modulateAlpha(prevAlpha, alpha));\n return prevAlpha;\n }", "@Override\n\t\t\tpublic void setAlpha(int alpha) {\n\t\t\t\t\n\t\t\t}", "void setAlpha(double alpha) {\n this.alpha = alpha;\n }", "public void setAlpha(int alpha)\n {\n \tthis.alpha=alpha; \n }", "@Override\n\tpublic void setAlpha(int alpha) {\n\n\t}", "public float getOpacityDeep()\n{\n float op = getOpacity();\n for(RMShape s=_parent; s!=null; s=s._parent) op *= s.getOpacity();\n return op;\n}", "@Override\n public int getOpacity() {\n return DrawableUtils.getOpacityFromColor(DrawableUtils.multiplyColorAlpha(mColor, mAlpha));\n }", "public void setAlpha(double aAlpha);", "@SuppressWarnings(\"unchecked\")\n public AnimatorType alpha(int alpha)\n {\n addTransformer(new AlphaTransformer(getShape(), alpha));\n return (AnimatorType) this;\n }", "public void setTransparent(final boolean transparent) {\n\t\t_transparent = transparent;\n\t}", "public void setTransparent(boolean a) {\n\t\tthis.transparent = a;\n\t}", "public RecodedReal getFillOpacity(){\n return (RecodedReal) fill.getFillOpacityLegend();\n }", "public void enablePropertyFade()\n {\n iPropertyFade = new PropertyInt(new ParameterInt(\"Fade\"));\n addProperty(iPropertyFade);\n }", "@Override\n public void init() {\n glEnable( GL_BLEND );\n glBlendFunc( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA );\n glEnable( GL_LINE_SMOOTH );\n glEnable( GL_POINT_SMOOTH );\n }", "public float getOpacity() { Number n = (Number)get(\"Opacity\"); return n!=null? n.floatValue() : 1; }", "public int getPointOpacity()\n {\n return myPointOpacity;\n }", "public RecodedReal getLineOpacity(){\n return ps == null ? null :(RecodedReal) ps.getFillLegend().getFillOpacityLegend();\n }", "public Fade()\n\t\t{\n\t\t\ttransforms = new GLGroupTransform(color = new Color(0, 0, 0),\n\t\t\t\t\t\t\t\t\t\t\t\tnew GLReset());\n\t\t\tfadeRate = 0.0001f;\n\t\t}", "public void changeAlpha(double d, float f, boolean bl) {\n block2: {\n void difference;\n void dragging;\n if (dragging == false) break block2;\n if (difference == Double.longBitsToDouble(Double.doubleToLongBits(7.977172206938858E307) ^ 0x7FDC6651265A7509L)) {\n this.setting.setValue(new Color(this.setting.getValue().getRed(), this.setting.getValue().getGreen(), this.setting.getValue().getBlue(), 0));\n } else {\n void alpha;\n this.setting.setValue(new Color(this.setting.getValue().getRed(), this.setting.getValue().getGreen(), this.setting.getValue().getBlue(), (int)(alpha * Float.intBitsToFloat(Float.floatToIntBits(0.015395311f) ^ 0x7F033C9D))));\n }\n }\n }", "public void setAmbientAlpha(float alpha) {\n\t\tambientColor.a = alpha;\n\t\trayHandler.setAmbientLight(ambientColor);\n\t}", "public TransparencyDemo() {\r\n super();\r\n view3DButton.addItemListener(this);\r\n drawBehindButton.addItemListener(this);\r\n transparencySlider.addChangeListener(this);\r\n }", "public StockEvent setBorderAlpha(Double borderAlpha) {\n this.borderAlpha = borderAlpha;\n return this;\n }", "public void setSymbolAlpha(int alpha) {\n symbol.setAlpha(alpha);\n }", "public static void setAlpha(double alp)\n\t{\n\t\talpha = alp;\t\n\t}", "private void TextFieldEditableProperty(boolean booleanEditProperty,double opacity){\n txtCategoryNo.setEditable(booleanEditProperty);\n txtCategoryName.setEditable(booleanEditProperty);\n btnSave.setDisable(!booleanEditProperty);\n\n txtCategoryNo.setOpacity(opacity);\n txtCategoryName.setOpacity(opacity);\n\n }", "public void setPointerAlpha(int alpha) {\r\n\t\tif (alpha >=0 && alpha <= 255) {\r\n\t\t\tmPointerAlpha = alpha;\r\n\t\t\tmPointerHaloPaint.setAlpha(mPointerAlpha);\r\n\t\t\tinvalidate();\r\n\t\t}\r\n\t}", "public void setFillColor(Color color);", "@Override\n public void paint(Graphics g) {\n AlphaComposite ac = AlphaComposite.getInstance(AlphaComposite.SRC_OVER,\n .8f);\n Color old = g.getColor();\n Graphics2D g2d = (Graphics2D) g;\n g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING,\n RenderingHints.VALUE_ANTIALIAS_ON);\n Composite composite = g2d.getComposite();\n g2d.setColor(new Color(0, 0, 0, 0));\n g2d.fillRect(0, 0, getWidth(), getHeight());\n g2d.setColor(Color.blue);\n g2d.setComposite(ac);\n g2d.fillPolygon(new int[]{3, 3, 7, 7}, new int[]{0, 8, 8, 0}, 4);\n g2d.fillPolygon(new int[]{0, 10, 5}, new int[]{8, 8, 12}, 3);\n g2d.setComposite(composite);\n g2d.setColor(old);\n\n }", "public void drawAlpha(ItemListener item) {\n if (this.mFocus != null) {\n AlphaParams alphaParams = this.mFocus.getParams().getAlphaParams();\n float dstAlpha = alphaParams.getFromAlpha();\n float diffAlpha = alphaParams.getToAlpha() - alphaParams.getFromAlpha();\n float coef = ((float) this.mFrame) / ((float) alphaParams.getAlphaFrameRate());\n Interpolator alphaInterpolator = this.mFocus.getParams().getAlphaParams().getAlphaInteroplator();\n if (alphaInterpolator == null) {\n alphaInterpolator = new LinearInterpolator();\n }\n float dstAlpha2 = dstAlpha + (diffAlpha * alphaInterpolator.getInterpolation(coef));\n if (this.mLastItem == item) {\n dstAlpha2 = alphaParams.getToAlpha();\n }\n if (this.mConvertSelector != null) {\n this.mConvertSelector.setAlpha(dstAlpha2);\n if (this.mSelector != null) {\n this.mSelector.setAlpha(0.0f);\n }\n } else if (this.mSelector != null) {\n this.mSelector.setAlpha(dstAlpha2);\n }\n }\n }", "public boolean setPropertyFade(int aValue);", "public int getPaintAlpha(){\n return Math.round((float)paintAlpha/255*100);\n }", "@Override\n public void fade(float delta) {\n colour.a *= (1f - (delta * Constants.COLOURCYCLESPEED));\n\n //Gdx.app.log(TAG, \"Alpha:\" + colour.a);\n //alpha *= (1f - (delta * Constants.COLOURCYCLESPEED));\n //colour.add(0.0f, 0.0f, 0.0f, alpha);\n }", "private void setPenColor() {\n\t}", "public int getGridOpacity() {\n return this.gridOpacity;\n }", "public float getAlpha() {\n if (this.isConnectedToGame)\n return 1.0f;\n else\n return 0.5f;\n }", "public void applyFadingEffectInHideseat() {\n final Drawable drawable = getIconDrawable();\n if (drawable == null) return;\n /* YUNOS BEGIN */\n //## modules(Home Shell)\n //## date: 2015/12/25 ## author: wangye.wy\n //## BugID: 7721715: set alpha of whole layer\n Paint paint = new Paint();\n paint.setColorFilter(FADING_EFFECT_FILTER);\n paint.setAlpha(FADING_EFFECT_ALPHA);\n setLayerType(LAYER_TYPE_HARDWARE, paint);\n /*\n if (drawable instanceof FancyDrawable) {\n // for fancy icon, turn into gray immediately\n Paint paint = new Paint();\n paint.setColorFilter(FADING_EFFECT_FILTER);\n paint.setAlpha(FADING_EFFECT_ALPHA);\n setLayerType(LAYER_TYPE_HARDWARE, paint);\n return;\n }\n // for normal bitmap icon, play a transition animation\n final AnimatorSet as = new AnimatorSet();\n final ValueAnimator va = ValueAnimator.ofFloat(1f, 0f);\n va.setDuration(350);\n final ColorMatrix matrix = new ColorMatrix();\n va.addUpdateListener(new AnimatorUpdateListener(){\n @Override\n public void onAnimationUpdate(ValueAnimator animation) {\n float value = ((Float) animation.getAnimatedValue()).floatValue();\n matrix.setSaturation(value);\n mAnimatedIconFadingFilter = new ColorMatrixColorFilter(matrix);\n drawable.setAlpha(255 - (int) ((255 - FADING_EFFECT_ALPHA) * (1 - value)));\n invalidate();\n }\n });\n va.addListener(new AnimatorListenerAdapter() {\n @Override\n public void onAnimationEnd(Animator arg0) {\n mAnimatedIconFadingFilter = null;\n drawable.setAlpha(FADING_EFFECT_ALPHA);\n invalidate();\n }\n @Override\n public void onAnimationCancel(Animator arg0) {\n onAnimationEnd(arg0);\n }\n });\n as.play(va);\n as.setStartDelay(400);\n matrix.setSaturation(1);\n mAnimatedIconFadingFilter = new ColorMatrixColorFilter(matrix);\n drawable.setAlpha(255);\n invalidate();\n as.start();\n */\n /* YUNOS END */\n }", "public void showFadingOverlay() {\n if (mOverlayFadeInAnimator == null) {\n mOverlayFadeInAnimator = ObjectAnimator.ofFloat(this, ALPHA, 1f);\n mOverlayFadeInAnimator.setDuration(FADE_DURATION_MS);\n mOverlayFadeInAnimator.setInterpolator(\n BakedBezierInterpolator.FADE_IN_CURVE);\n }\n\n runFadeOverlayAnimation(mOverlayFadeInAnimator);\n }", "@Override\r\n\tpublic void draw() {\n\t\tdecoratedShape.draw();\r\n\t\tsetRedBorder(decoratedShape);\r\n\t}", "public void setBackgroundTranslucence(float alpha) {\n\t\tthis.bgAC = AlphaComposite.getInstance(AlphaComposite.SRC_OVER, alpha);\n\t}", "public float getAlpha();", "public float getAlpha();", "private static boolean setGraphicsTransparency(Graphics g, float alpha) {\r\n\t\tif (g instanceof Graphics2D) {\r\n\t\t\tGraphics2D g2d = (Graphics2D) g;\r\n\t\t\tComposite comp = g2d.getComposite();\r\n\t\t\tif (comp instanceof AlphaComposite) {\r\n\t\t\t\tAlphaComposite acomp = (AlphaComposite) comp;\r\n\r\n\t\t\t\tif (acomp.getAlpha() != alpha) {\r\n\t\t\t\t\tif (alpha < 1.0f) {\r\n\t\t\t\t\t\tg2d.setComposite(AlphaComposite.getInstance(\r\n\t\t\t\t\t\t\t\tAlphaComposite.SRC_OVER, alpha));\r\n\t\t\t\t\t\treturn true;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tg2d.setComposite(AlphaComposite.SrcOver);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "public void blur(JFXTextField field){\n field.setStyle(\"-fx-opacity:.5;\");\n }", "protected void fade(View v) {\n\n v.setVisibility(View.VISIBLE);\n\n AlphaAnimation a = new AlphaAnimation(0.0f, 1.0f);\n a.setDuration(300);\n a.setFillAfter(true);\n v.startAnimation(a);\n }", "@Override public void draw(){\n // this take care of applying all styles (colors/stroke)\n super.draw();\n // draw our shape\n pg.ellipseMode(PGraphics.CORNER); // TODO: make configurable\n pg.ellipse(0,0,getSize().x,getSize().y);\n }", "public void fade(View view)\n {\n\n ImageView iv1=findViewById(R.id.iv1);\n ImageView iv2=findViewById(R.id.iv2);\n /*alpha value ranges between 0 to 1\n 0 to make image invisible\n in between value changes visibility\n 1 to make image visible*/\n iv1.animate().alpha(0).setDuration(2000);\n iv2.animate().alpha(1).setDuration(2000);\n iv2.bringToFront();//it brings iv2 front\n iv1.invalidate();//it makes iv1 invalidate\n }", "public CommonPopWindow setBackgroundAlpha(@FloatRange(from = 0.0D, to = 1.0D) float dackAlpha) {\n/* 174 */ this.mDarkAlpha = dackAlpha;\n/* 175 */ return this;\n/* */ }", "private void setAlphaAnimation() {\n\n AlphaAnimation alphaAnim = new AlphaAnimation(1.0f,0.0f);\n alphaAnim.setStartOffset(5000); // start in 5 seconds\n alphaAnim.setDuration(400);\n alphaAnim.setAnimationListener(new Animation.AnimationListener()\n {\n @Override\n public void onAnimationStart(Animation animation) {\n\n }\n\n public void onAnimationEnd(Animation animation)\n {\n // make invisible when animation completes, you could also remove the view from the layout\n txtNotifications.setVisibility(View.INVISIBLE);\n imgNotifications.setImageResource(0);\n }\n\n @Override\n public void onAnimationRepeat(Animation animation) {\n\n }\n });\n txtNotifications.setAnimation(alphaAnim);\n imgNotifications.setAnimation(alphaAnim);\n }", "public void setColorTransform(CXformWithAlpha colorTransform) {\n this.colorTransform = colorTransform;\n }", "public void setColor()\n {\n if(eyeL != null) // only if it's painted already...\n {\n eyeL.changeColor(\"yellow\");\n eyeR.changeColor(\"yellow\");\n nose.changeColor(\"green\");\n mouthM.changeColor(\"red\");\n mouthL.changeColor(\"red\");\n mouthR.changeColor(\"red\");\n }\n }", "public void setColor(float r, float g, float b, float a);", "public float getConstantOpacity() {\n/* 185 */ return getCOSObject().getFloat(COSName.CA, 1.0F);\n/* */ }", "@Override\n public void excute() {\n drawable.setColor(color);\n }", "public static void ocultar_lineas()\n {\n for (int i = 0; i < array_lineas.size(); i++)\n array_lineas.get(i).setAlpha(Constantes.IMAGE_ALPHA);\n }", "public void saveLayerAlpha(int sx, int sy, int i, int j, int multipliedAlpha) {\n\t\t\n\t}", "@Override\n\tpublic void setPaint() {\n\t\tisPaint = true;\n\t}", "@Override\n public double getGlobalAlpha() {\n return graphicsEnvironmentImpl.getGlobalAlpha(canvas);\n }", "protected void enableActionSetFade()\n {\n Action action = new Action(\"SetFade\");\n action.addInputParameter(new ParameterRelated(\"Value\", iPropertyFade));\n iDelegateSetFade = new DoSetFade();\n enableAction(action, iDelegateSetFade);\n }", "public void setAlpha(double newAlpha) {\n\t\talpha = newAlpha;\n\t}", "public void paint(Graphics2D g){\n g.setColor(color);\n g.fill(shape);\n }", "@Override\n\tprotected void onInitializeParticle(final Particle pParticle, final float pAlpha) {\n\t\tpParticle.setAlpha(pAlpha);\n\t}", "public void setDefaultAlpha(double alpha) {\n defaultAlpha = alpha;\n invalidate();\n }", "public void set_as_bezier() {\n surface_type = 1;\n }", "@Override\n public void draw(Batch batch, float parentAlpha) {\n batch.end();\n\n\n //do custom shape rendering\n shape.setProjectionMatrix(batch.getProjectionMatrix());\n\n shape.begin(ShapeRenderer.ShapeType.Filled);\n //setBounds(getParent().getX(), getParent().getY(), getParent().getWidth(), getParent().getWidth());\n\n\n shape.setColor(Color.GREEN);\n Vector2 coords = new Vector2(getX(), getY());\n localToStageCoordinates(coords);\n shape.circle(coords.x + getWidth()/2, coords.y + getHeight()/2, 10);\n\n shape.circle(coords.x, coords.y, 10);\n shape.circle(coords.x, coords.y+getHeight(), 10);\n shape.circle(coords.x + getWidth(), coords.y, 10);\n shape.circle(coords.x + getWidth(), coords.y + getHeight(), 10);\n\n shape.end();\n shape.setColor(Color.WHITE);\n\n //continue batch\n batch.begin();\n }", "@Override\n\tpublic void paintObject(Graphics g) {\n\t\tg.setColor(this.color);\n\t\tGraphics2D g2d = (Graphics2D) g;\n\t\tg2d.setStroke(new BasicStroke(3));\n\t\tg2d.drawOval(x, y, width, height);\n\t\tg2d.fillOval(x, y, width, height);\n\t}", "public void fade() {\n if (scene != 4) {\n // checks whether fade is true\n if (fade == true) {\n\n //begins to degrees the transparency variable by 20\n transparency -= fadeSpeed;\n\n // increment the transparency variable back to normal if fade equeals false\n } else if (transparency < 255) {\n transparency += fadeSpeed;\n }\n\n //determines when to change picture and begin to fade it back in\n if (transparency < fadeBoundary) {\n fade = false;\n\n // changes to next image in the slideshow\n slider = (slider + 1) % slideAmount[scene];\n }\n }\n }", "private void crossFade() {\n robotIv.setAlpha(0f);\n robotIv.setVisibility(View.VISIBLE);\n\n // Animate the content view to 100% opacity, and clear any animation\n // listener set on the view.\n robotIv.animate()\n .alpha(1f)\n .setDuration(1800)\n .setListener(new AnimatorListenerAdapter() {\n @Override\n public void onAnimationEnd(Animator animation) {\n welcomeTv.setVisibility(View.VISIBLE);\n }\n });\n\n }", "@Override\n\tpublic void draw() {\n\t\tdecoratedShape.draw();\n\t}", "public abstract void setBackgroundHover(final int rgba);", "@SuppressWarnings(\"unchecked\")\n public PropertyValue<Float> getLineOpacity() {\n return (PropertyValue<Float>) new PropertyValue(nativeGetLineOpacity());\n }", "public void setForegroundTranslucence(float alpha) {\n\t\tthis.fgAC = AlphaComposite.getInstance(AlphaComposite.SRC_OVER, alpha);\n\t}" ]
[ "0.74089134", "0.6947665", "0.68509907", "0.67389673", "0.64322585", "0.64130604", "0.63444936", "0.6272846", "0.6218823", "0.6191087", "0.61637163", "0.6153177", "0.6145187", "0.6037859", "0.60206544", "0.60046023", "0.5994645", "0.59880936", "0.59705204", "0.5955986", "0.5948446", "0.5938456", "0.59255457", "0.5923775", "0.59096223", "0.590236", "0.5824196", "0.5783465", "0.5688831", "0.5679008", "0.5592332", "0.5581829", "0.5569498", "0.5553846", "0.5531036", "0.5527767", "0.55014515", "0.5497746", "0.5455032", "0.54361004", "0.5435234", "0.5391522", "0.53909105", "0.53766644", "0.53380996", "0.5327663", "0.53120196", "0.53107846", "0.5309706", "0.5300659", "0.5272714", "0.5256006", "0.52064586", "0.51910824", "0.51789165", "0.5145957", "0.51443964", "0.51146567", "0.5109751", "0.50980353", "0.5084648", "0.50785315", "0.5051212", "0.5049409", "0.50466", "0.5039784", "0.50397223", "0.5022138", "0.5017048", "0.5017048", "0.5004178", "0.50015247", "0.495361", "0.49508378", "0.4923672", "0.49202526", "0.4916371", "0.4912008", "0.49095306", "0.49077812", "0.48971355", "0.48948014", "0.48945242", "0.48669857", "0.4850737", "0.48498493", "0.48381352", "0.48296064", "0.48162743", "0.48133922", "0.48093224", "0.48084748", "0.48002708", "0.47976282", "0.47873056", "0.47774345", "0.47725838", "0.47723073", "0.4760789", "0.4760115" ]
0.62335867
8
Returns the combined opacity of this shape and its parent.
public float getOpacityDeep() { float op = getOpacity(); for(RMShape s=_parent; s!=null; s=s._parent) op *= s.getOpacity(); return op; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Integer getOpacity() {\n return opacity;\n }", "@Override\n public int getOpacity() {\n return DrawableUtils.getOpacityFromColor(DrawableUtils.multiplyColorAlpha(mColor, mAlpha));\n }", "int getOpacity();", "@Override\n\tpublic int getOpacity() {\n\t\treturn PixelFormat.OPAQUE;\n\t}", "@Override\r\n\t\tpublic int getOpacity()\r\n\t\t{\n\t\t\treturn 0;\r\n\t\t}", "@Override\n\t\t\tpublic int getOpacity() {\n\t\t\t\treturn 0;\n\t\t\t}", "public float getOpacity() { Number n = (Number)get(\"Opacity\"); return n!=null? n.floatValue() : 1; }", "@Override\n\tpublic int getOpacity() {\n\t\treturn 0;\n\t}", "public float getOpacity(){\n\t\t\n\t\tif(this.isDestroyed()){\n\t\t\treturn 0;\n\t\t}\n\t\tlong time = System.currentTimeMillis() - creationTime;\n\t\t\n\t\tfloat opacity;\n\t\tif(time == 0 || time == visibleTime){\n\t\t\topacity = 0;\n\t\t}else if(time < visibleTime/4){\n\t\t\topacity = (float)easingInOut(time, 0, 1 , visibleTime/4);\n\t\t}else if (time > (visibleTime/4)*3){\n\t\t\topacity = (float)easingInOut(visibleTime - time, 0, 1,visibleTime/4);\n\t\t}else{\n\t\t\topacity = 1;\n\t\t}\n\t\treturn Math.max(0, Math.min(1,opacity));\n\t}", "public int getPointOpacity()\n {\n return myPointOpacity;\n }", "public float getAlpha() {\n if (this.isConnectedToGame)\n return 1.0f;\n else\n return 0.5f;\n }", "public RecodedReal getFillOpacity(){\n return (RecodedReal) fill.getFillOpacityLegend();\n }", "@SuppressWarnings(\"unchecked\")\n public PropertyValue<Float> getLineOpacity() {\n return (PropertyValue<Float>) new PropertyValue(nativeGetLineOpacity());\n }", "public float getConstantOpacity() {\n/* 185 */ return getCOSObject().getFloat(COSName.CA, 1.0F);\n/* */ }", "public RecodedReal getLineOpacity(){\n return ps == null ? null :(RecodedReal) ps.getFillLegend().getFillOpacityLegend();\n }", "public int getAlpha()\n {\n return getColor().alpha();\n }", "public int getPaintAlpha(){\n return Math.round((float)paintAlpha/255*100);\n }", "public int getGridOpacity() {\n return this.gridOpacity;\n }", "public float getAlpha();", "public float getAlpha();", "public float getAlpha() {\n \t\treturn alpha;\n\t}", "public float getColorFadeLevel() {\n return mColorFadeLevel;\n }", "public int getTransparency() {\n return Color.TRANSLUCENT;\n }", "double getTransparency();", "protected int getShadeAlpha() {\n int a = currAlpha - 80;\n if (a < 0)\n a = 0;\n return a;\n }", "@Override\n public double getGlobalAlpha() {\n return graphicsEnvironmentImpl.getGlobalAlpha(canvas);\n }", "public CXformWithAlpha getColorTransform() {\n return colorTransform;\n }", "public Animation inAlpha() {\n\t\treturn getAlphaInAnim(mInDuration, false);\n\t}", "public String getTransparency() {\n return transparency;\n }", "@Override\n public void draw(Batch batch, float parentAlpha) {\n batch.end();\n\n\n //do custom shape rendering\n shape.setProjectionMatrix(batch.getProjectionMatrix());\n\n shape.begin(ShapeRenderer.ShapeType.Filled);\n //setBounds(getParent().getX(), getParent().getY(), getParent().getWidth(), getParent().getWidth());\n\n\n shape.setColor(Color.GREEN);\n Vector2 coords = new Vector2(getX(), getY());\n localToStageCoordinates(coords);\n shape.circle(coords.x + getWidth()/2, coords.y + getHeight()/2, 10);\n\n shape.circle(coords.x, coords.y, 10);\n shape.circle(coords.x, coords.y+getHeight(), 10);\n shape.circle(coords.x + getWidth(), coords.y, 10);\n shape.circle(coords.x + getWidth(), coords.y + getHeight(), 10);\n\n shape.end();\n shape.setColor(Color.WHITE);\n\n //continue batch\n batch.begin();\n }", "@Override\n public int getAlpha() {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {\n return patternDrawable.getAlpha();\n }\n\n return 0xFF;\n }", "public Color getColor() {\n Block b = Block.getBlock(getParents().iterator().next());\n if (b == null){\n b = this;\n }\n RenderableBlock rb = RenderableBlock.getRenderableBlock(b.getBlockID());\n return rb == null ? Color.BLACK : rb.getColor();\n }", "public native void setOpacity(int opacity);", "float getAlpha();", "public Colourizer getParentColour() {\n return parentLineColour;\n }", "public int getFadeLevel() {\r\n\t\treturn fadeLevel;\r\n\t}", "private float calculateAlpha() {\n float alpha = 1.2f*(myCamera.getViewportWidth()/(2*Const.WORLD_WIDTH-myCamera.getViewportWidth()))-0.2f;\n if(alpha < 0) alpha = 0;\n if(alpha > 1) alpha = 1;\n return alpha;\n }", "public boolean isOpaque()\n/* */ {\n/* 83 */ Color back = getBackground();\n/* 84 */ Component p = getParent();\n/* 85 */ if (p != null) {\n/* 86 */ p = p.getParent();\n/* */ }\n/* */ \n/* 89 */ boolean colorMatch = (back != null) && (p != null) && (back.equals(p.getBackground())) && (p.isOpaque());\n/* */ \n/* */ \n/* 92 */ return (!colorMatch) && (super.isOpaque());\n/* */ }", "public RMParentShape getParent() { return _parent; }", "private float getAlphaForView(float position, float referenceHeight) {\n if (position < 0) {\n return 0;\n }\n\n if (position > referenceHeight) {\n return 1;\n }\n return position / referenceHeight;\n }", "public DraggableBehavior setOpacity(float opacity)\n\t{\n\t\tthis.options.put(\"opacity\", opacity);\n\t\treturn this;\n\t}", "public boolean getTransparent() {\n\t\treturn _transparent;\n\t}", "private AlphaComposite makeTransparent(float alpha){\n return(AlphaComposite.getInstance(AlphaComposite.SRC_OVER,alpha));\n }", "public Colourizer getChildColour() {\n return childLineColour;\n }", "String getTransparencyAsString();", "public Color getColor() {\n return internalGroup.getColor();\n }", "protected int getColor() {\n return Color.TRANSPARENT;\n }", "public double getAlpha() {\n return alpha;\n }", "public final double getAlpha() {\n\t\treturn alpha;\n\t}", "public RMParentShape getOwner() { return _owner; }", "public void setOpacity(float opacity)\n\t{\n\t\tthis.particleColor.setA(opacity);\n\t}", "public Shape getClip()\r\n\t{\r\n\t\treturn _g2.getClip();\r\n\t}", "public final ShapeParent getShapeParent()\n {\n return parent;\n }", "public Color4 getEffectColorAdd();", "@FloatRange(from = 0.0, to = 1.0)\n public float getTargetAlpha() {\n return mImpl.getTargetAlpha();\n }", "public float getDayOpacity() {\r\n //Gdx.app.debug(\"Clock\", \"h: \" + (24f * (seconds / 60f)));\r\n if (dayOpacity < 0.25) {\r\n return 0;\r\n } else if (dayOpacity < 0.5) {\r\n return (dayOpacity - 0.25f) / 0.25f;\r\n } else {\r\n return 1;\r\n }\r\n }", "private static float m36211g(View view) {\n float alpha = view.getAlpha();\n while (view != null && view.getParent() != null && ((double) alpha) != 0.0d && (view.getParent() instanceof View)) {\n alpha *= ((View) view.getParent()).getAlpha();\n view = (View) view.getParent();\n }\n return alpha;\n }", "protected void fading(float alpha) { }", "private int getFillColor() {\n \t\tint id = this.area.getMode() == GPSFilterMode.INCLUDE ? POLYGON_INCLUDE_FILL_COLOR : POLYGON_EXCLUDE_FILL_COLOR;\n \t\treturn adjustAlpha( this.getResources().getColor( id ), 255 * 0.5f );\n \t}", "public CarrierShape parent()\n\t{\n\t\treturn parent;\n\t}", "public double getAlpha()\n {\n return alpha;\n }", "int getShade(){\n return getPercentageValue(\"shade\");\n }", "public MaterialOverlay getOverlay() {\n return overlay;\n }", "@Override\n public int getAlpha() {\n return mAlpha;\n }", "public Shape getShape() \n {\n return new EllipseShape(new Extent(3,3), Color.RED,true);\n }", "public static Vector4 alpha()\n {\n return new Vector4(0,0,0,1);\n }", "public int getPropertyFade()\n {\n return iPropertyFade.getValue();\n }", "@Override\n public ShapeColor getColor() {\n return new ShapeColor(this.r, this.g, this.b);\n }", "@FloatRange(from = 0.0, to = 1.0)\n public float getInitialAlpha() {\n return mImpl.getInitialAlpha();\n }", "public Color getColor() {\n\t\treturn (Color)p.getPaint();\n\t}", "public int getTransparency() {\n/* 148 */ return this.bufImg.getColorModel().getTransparency();\n/* */ }", "@Override\r\n\tpublic Color backgroundColor() {\n\t\tProperty<IntegerPropertyType> colorDiff = this.getProperty(PROPERTY_NAME_COLOR_DIFFERENCE);\r\n\t\tColor c = labs[colorDiff.getValue().intValue() % labs.length].getColor();\r\n\t\t\r\n\t\treturn c;\r\n\t}", "public Figure getFigure() {\n\t\treturn _parentFigure;\n\t}", "@Override\n public Color getColor() {\n return super.getEdgeColor();\n }", "@Override public void draw(Batch batch, float parentAlpha) {\n updateStartPos();\n updateEndPos();\n\n final TextureRegion segmentImage = highlightState.getStrokeImage(getSegmentImage(),\n connectedSegmentImage,\n unconnectedSegmentImage);\n float segmentLength = getSegmentImage().getRegionWidth() * (1f / SEGMENT_DENSITY);\n\n // Determine connection color based on type\n Color sourcePropertyColor = getPropertyColor(source);\n Color targetPropertyColor = getPropertyColor(target);\n if (sourcePropertyColor == null) sourcePropertyColor = targetPropertyColor;\n if (targetPropertyColor == null) targetPropertyColor = sourcePropertyColor;\n startColor.set(sourcePropertyColor);\n endColor.set(targetPropertyColor);\n highlightState.updateColor(startColor);\n highlightState.updateColor(endColor);\n\n final Color oldColor = batch.getColor();\n\n final float segmentW = segmentImage.getRegionWidth() * segmentScale;\n final float segmentH = segmentImage.getRegionHeight() * segmentScale;\n\n // Determine number of segments to use\n final float distance = distance(start, end);\n int segmentCount = MathUtils.clamp((int)(distance / segmentLength), MIN_SEGMENT_COUNT, MAX_SEGMENT_COUNT);\n\n if (end.x < start.x) {\n segmentCount *= 2;\n }\n\n // Draw segments\n oldPos.set(start);\n for (int i = 0; i < segmentCount; i++) {\n float relPos = (float) i / (segmentCount - 1);\n\n // Calculate color\n color.set(startColor);\n color.lerp(endColor, relPos);\n color.a *= parentAlpha;\n batch.setColor(color);\n\n // Calculate dot position\n float swing = MathUtils.clamp(distance + (start.x - end.x), segmentLength * 2, segmentLength * 10);\n pos.x = interpolate(relPos, start.x, end.x, Interpolation.sine) + swing *(float) Math.sin(relPos * Math.PI*2);\n pos.y = interpolate(relPos, start.y, end.y, Interpolation.fade);\n\n // Calculate angle\n t.set(pos).sub(oldPos);\n float angle = t.angle();\n oldPos.set(pos);\n\n // Draw dot\n batch.draw(segmentImage,\n pos.x - segmentW * 0.5f,\n pos.y - segmentH * 0.5f,\n segmentW*0.5f,\n segmentH*0.5f,\n segmentW, segmentH,\n 1f, 1f,\n angle);\n }\n\n // Draw start and end connectors\n drawEndpoint(batch, startColor, start, true, source != null);\n drawEndpoint(batch, endColor, end, false, target != null);\n\n batch.setColor(oldColor);\n }", "public float getZ(){\n\t\tif(!isRoot()){\n\t\t\treturn getParent().getZ() + z;\n\t\t}else{\n\t\t\treturn z;\n\t\t}\n\t}", "@SuppressWarnings(\"unchecked\")\n public AnimatorType alpha(int alpha)\n {\n addTransformer(new AlphaTransformer(getShape(), alpha));\n return (AnimatorType) this;\n }", "public DrawingComposite getParent() {\n\t\treturn parent;\n\t}", "public OverlayLayer getOverlay(){\r\n\t\treturn overlayLayer_;\r\n\t}", "public final Paint getOutlinePaint() {\n return outlinePaint;\n }", "public OverlayLayer getOverlayLayer () {\r\n\t\t\treturn _overlayLayer;\r\n \t}", "public double getAlpha();", "public double getAlpha();", "double getAlpha() {\n return alpha;\n }", "public Paint getPaint()\r\n\t{\r\n\t\treturn _g2.getPaint();\r\n\t}", "public static double getAlpha()\n\t{\n\t\treturn alpha;\n\t}", "public Paint getBlockColor() {\n return rectangle.getFill();\n }", "public E3DVector4F getVertexColorA(){\r\n\t\treturn vertices[0].getVertexColor();\r\n\t}", "@Override\n\tpublic double getReflexBlend() {\n\t\treturn m_reflectBlend;\n\t}", "@Override\n public void paint(Graphics g) {\n AlphaComposite ac = AlphaComposite.getInstance(AlphaComposite.SRC_OVER,\n .8f);\n Color old = g.getColor();\n Graphics2D g2d = (Graphics2D) g;\n g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING,\n RenderingHints.VALUE_ANTIALIAS_ON);\n Composite composite = g2d.getComposite();\n g2d.setColor(new Color(0, 0, 0, 0));\n g2d.fillRect(0, 0, getWidth(), getHeight());\n g2d.setColor(Color.blue);\n g2d.setComposite(ac);\n g2d.fillPolygon(new int[]{3, 3, 7, 7}, new int[]{0, 8, 8, 0}, 4);\n g2d.fillPolygon(new int[]{0, 10, 5}, new int[]{8, 8, 12}, 3);\n g2d.setComposite(composite);\n g2d.setColor(old);\n\n }", "public float getOverlayBrightness()\n\t{\n\t\treturn overlayBrightness;\n\t}", "public float getStartAlpha() {\n return startAlpha;\n }", "public float getStartingTransparentHeightRatio() {\n return getTransparentHeightRatio(mTransparentStartHeight);\n }", "public Color getColor()\r\n\t{\r\n\t\treturn _g2.getColor();\r\n\t}", "public double getCurrentAlphaFraction() {\n return alphaFraction;\n }", "public void setAlpha(float alpha);", "@Override\n\tpublic void setTransparency(float transparency) {\n\t\t\n\t}", "public void setOpacity(float aValue)\n{\n if(getOpacity()==aValue) return; // If value already set, just return\n repaint(); // Register repaint\n Object oldValue = getOpacity(); // Cache old value, set new value and fire PropertyChange\n put(\"Opacity\", aValue==1? null : aValue);\n firePropertyChange(\"Opacity\", oldValue, aValue, -1);\n}", "public IAxisAlignedCollider getCompositeCollider() {\n\t\treturn compositeCollider;\n\t}", "public void setAlphaF(float p_82338_1_) {\n/* 102 */ if (this.particleAlpha == 1.0F && p_82338_1_ < 1.0F) {\n/* */ \n/* 104 */ (Minecraft.getMinecraft()).effectRenderer.func_178928_b(this);\n/* */ }\n/* 106 */ else if (this.particleAlpha < 1.0F && p_82338_1_ == 1.0F) {\n/* */ \n/* 108 */ (Minecraft.getMinecraft()).effectRenderer.func_178931_c(this);\n/* */ } \n/* */ \n/* 111 */ this.particleAlpha = p_82338_1_;\n/* */ }" ]
[ "0.6566082", "0.6480962", "0.6331888", "0.6201149", "0.6021102", "0.60090476", "0.59693366", "0.5963406", "0.5878637", "0.5675318", "0.55892", "0.54386044", "0.5424192", "0.535892", "0.5347954", "0.5345297", "0.5339393", "0.52623004", "0.5227724", "0.5227724", "0.5201963", "0.515671", "0.5143604", "0.5107888", "0.51028705", "0.5060038", "0.50288296", "0.5023184", "0.4999156", "0.4998333", "0.49476042", "0.4922785", "0.48937634", "0.48546866", "0.48183978", "0.4813959", "0.4810409", "0.47869024", "0.4725692", "0.47194204", "0.47010887", "0.4665411", "0.46581572", "0.46338034", "0.45969445", "0.45952624", "0.45839092", "0.45604184", "0.45553467", "0.45442268", "0.45401496", "0.45393738", "0.45247862", "0.45159307", "0.45052534", "0.44980788", "0.44955492", "0.44884887", "0.44858995", "0.4485212", "0.44825125", "0.44823557", "0.44818237", "0.4480711", "0.44636884", "0.4461159", "0.44602826", "0.4445113", "0.44396004", "0.44378647", "0.44365233", "0.44335702", "0.43850592", "0.43666738", "0.43617067", "0.43582752", "0.4346091", "0.43376946", "0.43252525", "0.43122944", "0.43069714", "0.42932785", "0.42932785", "0.42848492", "0.427799", "0.42753434", "0.4271082", "0.42652482", "0.42649585", "0.42546958", "0.42487556", "0.4248528", "0.4236479", "0.42313576", "0.42152172", "0.4213017", "0.42082193", "0.42031288", "0.4199853", "0.41996217" ]
0.7277043
0
Returns whether this shape is visible.
public boolean isVisible() { return _visible; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final boolean isVisible() {\n return visible;\n }", "public boolean isVisible() {\n\t\treturn visible;\n\t}", "public boolean isVisible () {\n return visible;\n }", "public boolean isVisible() {\r\n return visible;\r\n }", "public boolean isShowing() {\n return visible;\n }", "public boolean isVisible()\n {\n return visible;\n }", "public java.lang.Boolean getIsVisible();", "public boolean isVisible(){\n\t\treturn this.visible;\n\t}", "public boolean isVisible() {\r\n return !((x + width) < ocean.getXmin() || x > ocean.getXmax() || (y + height) < ocean.getYmin()\r\n || y > ocean.getYmax());\r\n }", "public boolean isVisible(){\n \t\treturn visible;\n \t}", "private boolean visible() {\r\n return NOT(GO() && CATS(Cc,Cn,Co,Cs,Zl,Zp)) && POINT();\r\n }", "public boolean getIsVisible();", "public boolean isVisible() {\n\t\treturn true;\n\t}", "public boolean getVisible() {\r\n return visible;\r\n }", "public boolean getVisible() {\n\t\treturn visible;\n\t}", "public boolean getVisible() {\n\t\treturn visible;\n\t}", "public boolean isInvisible ( ) {\n\t\treturn extract ( handle -> handle.isInvisible ( ) );\n\t}", "public boolean isVisible();", "public boolean isVisible();", "public boolean isVisible();", "public boolean isVisible() {\n return true;\n }", "@Override\n\tpublic boolean isVisible() {\n\t\treturn this.isVisible;\n\t}", "public Boolean isVisible();", "public Boolean isVisible();", "public boolean isVisible()\n {\n return visible;\n }", "public boolean isVisible() {\n return true;\n }", "public boolean isVisible() {\r\n\t\t\tif (outOfRange()) {\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t\treturn true;\r\n\t\t}", "public boolean isVisible() {\n\t\treturn element.isDisplayed();\n\t}", "public boolean visible() {\n \treturn model.isVisible();\n }", "boolean isVisible() {\r\n return this.isVisible;\r\n }", "boolean isVisible();", "boolean isVisible();", "protected final boolean isShowing() {\n synchronized (getPeerTreeLock()) {\n if (isVisible()) {\n final LWContainerPeer<?, ?> container = getContainerPeer();\n return (container == null) || container.isShowing();\n }\n }\n return false;\n }", "public boolean isViewing() { RMShape p = getParent(); return p!=null && p.isViewing(); }", "@Contract(pure = true)\r\n public boolean isVisible() {\r\n return visible;\r\n }", "private boolean visibles() {\r\n return OPT(GO() && visible() && visibles());\r\n }", "public boolean getIsVisible()\n\t{\n\t\tif (getParentFragment() != null && getParentFragment() instanceof BaseFragment)\n\t\t{\n\t\t\treturn isVisible() && ((BaseFragment) getParentFragment()).getIsVisible();\n\t\t}\n\t\telse\n\t\t{\n\t\t\treturn isVisible();\n\t\t}\n\t}", "public final boolean isVisible() {\n if (org.xms.g.utils.GlobalEnvSetting.isHms()) {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).isVisible()\");\n return ((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).isVisible();\n } else {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).isVisible()\");\n return ((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).isVisible();\n }\n }", "public abstract boolean isVisible();", "public abstract boolean isVisible();", "public boolean isVisible(){ return visible; }", "public boolean isVisible(Visibility v);", "public boolean onlyVisible()\n\t{\n\t\treturn visible;\n\t}", "final public boolean isVisible() {\n if (hasObtainedSupport) {\n return true;\n }\n boolean ret = true;\n if (numEvents < getThresholdEventsForVisibleCluster()) {\n ret = false;\n }\n if (pathsEnabled) {\n double speed = Math.sqrt(velocityPPT.x * velocityPPT.x + velocityPPT.y * velocityPPT.y) * 1e6 / AEConstants.TICK_DEFAULT_US; // speed is in pixels/sec\n if (speed < thresholdVelocityForVisibleCluster) {\n ret = false;\n }\n }\n hasObtainedSupport = ret;\n if (ret) {\n birthLocation.x = location.x;\n birthLocation.y = location.y; // reset location of birth to presumably less noisy current location.\n }\n return ret;\n }", "@Override // com.android.server.wm.WindowContainer\n public boolean isVisible() {\n return true;\n }", "public boolean isAtLeastVisible(Visibility v);", "@Override // com.android.server.wm.WindowContainer\n public boolean isVisible() {\n return true;\n }", "public final boolean isCursorVisible() {\n // If cursor is out of my bounds, it is not visible.\n if ((cursorX >= width)\n || (cursorX < 0)\n || (cursorY >= height)\n || (cursorY < 0)\n ) {\n return false;\n }\n\n // If cursor is out of my window's bounds, it is not visible.\n if ((getCursorAbsoluteX() >= window.getAbsoluteX()\n + window.getWidth() - 1)\n || (getCursorAbsoluteX() < 0)\n || (getCursorAbsoluteY() >= window.getAbsoluteY()\n + window.getHeight() - 1)\n || (getCursorAbsoluteY() < 0)\n ) {\n return false;\n }\n return cursorVisible;\n }", "public boolean isShown(){\r\n return shown;\r\n }", "public boolean\ngetShowBoundingShape()\n{\n\treturn (this.showBoundingShape);\n}", "public boolean isMakeVisible()\r\n {\r\n return myMakeVisible;\r\n }", "public boolean isShowing() {\n return getRoot().isShowing();\n }", "@UnsupportedAppUsage\n public boolean isVisible() {\n return mSearchDialog == null? false : mSearchDialog.isShowing();\n }", "public boolean isVisible(){\n if(hideMenu) {\n hideMenu = false;\n return true;\n }\n\n return isMenuVisible;\n }", "public final boolean isOnScreen() {\n\t\treturn Calculations.isOnScreen(this.getCenterPointOnScreen());\n\t}", "public boolean getVisibility() {\n return GtkEntry.getVisibility(this);\n }", "@Override\n public boolean isVisible()\n {\n return !this.isDead();\n }", "public boolean getBorderVisible() {\n checkWidget();\n return borderLeft == 1;\n }", "@Override\n public boolean isVisible()\n {\n return true;\n }", "public boolean isDrawingViews() {\n return drawViews;\n }", "public boolean isActiveLayerVisible() {\n\t\treturn false;\n\t}", "public boolean isMouseHidden() {\n return mouseHidden.get();\n }", "public final boolean isHidden() {\n\t\treturn m_info.isHidden();\n\t}", "@Override\n public boolean isVisible(){\n \n try\t{\n new WebDriverWait(driver, 1)\n .until((Function<? super WebDriver, ? extends Object>) ExpectedConditions.visibilityOfElementLocated(locator));\n \n return true;\n }\n catch (NoSuchElementException ex){\n return false;\n }\n catch (TimeoutException ex){\n return false;\n }\n \n }", "public boolean isHidden();", "public boolean checkVisibility() {\n LocalDateTime now = LocalDateTime.now();\n return (this.viewer != 0 && !now.isAfter(this.destructTime));\n }", "public boolean isTargetVisible() {\n return getDouble(\"tv\") == 1;\n }", "boolean isSVGViewVisible(final String viewName,\n final W element);", "public boolean isHidden() {\n\tLogWriter.logMessage(LogWriter.TRACE_DEBUG,\"isHidden()\");\n Via via=(Via)sipHeader;\n return via.isHidden();\n }", "public boolean isDisplayed() {\n return graphConfig.isDisplayed();\n }", "public boolean isVisible(Position screenRes) {\n if (coords.fitsIn(screenRes)) {\n return true;\n } else {\n return false;\n }\n }", "public boolean isHealthVisible() {\n\t\treturn _showHealth;\n\t}", "public boolean isShadesVisible() {\r\n return showShades;\r\n }", "public boolean isVisible(Entity entity) {\n\t\ta = getArea(entity, false, false);\n\t\treturn a != null && !a.isEmpty();\n\t\t//if (entity != null && \"Fishing spot\".equals(entity.getName()))\n\t\t//\treturn getWalker().tile(entity).isVisible();\n\t\t\n\t\t//return entity.isVisible();\n\t}", "@Override\r\n\tpublic boolean isVisible()\r\n\t{\n\t\treturn !getFormScreen().getMode().equals(Mode.LIST_VIEW);\r\n\t}", "public boolean isHidden() {\r\n return hidden;\r\n }", "public static native boolean _isVisible(Element elem) /*-{\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (elem.style.display != 'none');\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}-*/;", "public boolean isShowing() {\n\t\tLinearLayout loading = (LinearLayout) findViewById(R.id.loading);\n\t\treturn loading.getVisibility() == View.VISIBLE;\n\t}", "public boolean hasVisibleItems();", "public final boolean isProgressBarVisible() {\r\n\r\n if ((pBarVisible == true) && (progressBar != null)) {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }", "public boolean isRenderInsideShape() {\n return this.renderInsideShape;\n }", "public boolean isIndicatorVisible() {\n return isIndicatorVisible;\n }", "@Override\r\n\t\t\tpublic boolean isVisible() {\n\t\t\t\treturn (candidateId != 0);\r\n\t\t\t}", "public boolean isShowing() {\n return true; // Not supported for MenuComponents\n }", "public boolean isSetDisplay() {\n return this.display != null;\n }", "public boolean isSetShowAnimation()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().find_attribute_user(SHOWANIMATION$20) != null;\n }\n }", "public Boolean isHidden() {\n return m_hidden;\n }", "final public boolean isTooltipsVisible()\n {\n return ComponentUtils.resolveBoolean(getProperty(TOOLTIPS_VISIBLE_KEY), true);\n }", "public boolean isVisible(String place) {\n boolean result = false;\n WebElement element = getElement(place);\n if (element != null) {\n result = element.isDisplayed() && isElementOnScreen(element);\n }\n return result;\n }", "public boolean getModelChartIsVisible();", "public boolean shown();", "@Override\r\n\tpublic boolean isVisible() {\n\t\treturn false;\r\n\t}", "public boolean isShowLegend() { return _legend.isVisible(); }", "@JSProperty(\"visible\")\n boolean getVisible();", "public boolean isShowGrid()\n {\n return showGrid;\n }", "public boolean isModelChartIsVisible();", "public boolean isCastOverLayShown() {\n if (currentContext != null) {\n SharedPreferences sharedPrefs = currentContext.getSharedPreferences(CASTING_OVERLAY_PREF_NAME, 0);\n return sharedPrefs.getBoolean(CAST_SHARED_PREF_NAME, false);\n }\n return false;\n }", "public boolean isDisplayed();", "public boolean visible(final WinRefEx hWnd) {\n\t\treturn (hWnd == null) ? false : visible(TitleBuilder.byHandle(hWnd));\n\t}", "public boolean isRootVisible()\n {\n return rootVisible;\n }" ]
[ "0.7676547", "0.7595035", "0.75927716", "0.7523996", "0.7505004", "0.7485322", "0.745421", "0.744604", "0.7387184", "0.73829126", "0.7374959", "0.73634183", "0.73259014", "0.7305803", "0.729367", "0.729367", "0.7277086", "0.7265314", "0.7265314", "0.7265314", "0.7263432", "0.72542155", "0.71831816", "0.71831816", "0.7179316", "0.7170806", "0.7161221", "0.71449596", "0.71444017", "0.71010816", "0.70915884", "0.70915884", "0.70345324", "0.696559", "0.6900833", "0.6862488", "0.6857365", "0.6856151", "0.67763716", "0.67763716", "0.677075", "0.67704827", "0.67599493", "0.67008233", "0.6677487", "0.6638145", "0.65623635", "0.65304023", "0.65270716", "0.64948535", "0.6424146", "0.6419776", "0.6412766", "0.6403686", "0.6355944", "0.6351616", "0.63462716", "0.6340469", "0.6321428", "0.631645", "0.63151735", "0.63067067", "0.6300414", "0.6286962", "0.6277393", "0.62603897", "0.62598693", "0.6203115", "0.62015444", "0.6179532", "0.6168547", "0.6166404", "0.6163276", "0.6154204", "0.61484313", "0.61386776", "0.6113209", "0.6108803", "0.6104631", "0.6104175", "0.6101399", "0.60999846", "0.609214", "0.60909516", "0.608972", "0.60806", "0.607404", "0.6068716", "0.6060683", "0.6050303", "0.6033911", "0.6033706", "0.6028934", "0.6019022", "0.6015918", "0.6008165", "0.60057145", "0.60028386", "0.6000906", "0.5998872" ]
0.69279444
34
Sets whether this shape is visible.
public void setVisible(boolean aValue) { if(isVisible()==aValue) return; // If value already set, just return firePropertyChange("Visible", _visible, _visible = aValue, -1); // Set value and fire PropertyChange }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setVisible(boolean visible);", "public void setVisible(Boolean visible);", "void setVisible(boolean visible);", "void setVisible(boolean visible);", "@SuppressWarnings(\"unused\")\n void setVisible(boolean visible);", "public void setVisible(boolean value) {\n\t\tvisible = value;\n\t}", "public void setVisible(boolean val);", "public void setVisible(Boolean isVisible);", "public void setVisible(boolean visible){\r\n\t\tthis.visible = visible;\r\n\t}", "public void setVisible (boolean visible) {\n this.visible = visible;\n }", "public void setVisible(boolean v) {\n }", "public void setVisible( boolean v) {\r\n visible = v;\r\n }", "public void setVisible(boolean value)\n\t{\n\t\tisVisible = value;\n\t\tif(!isVisible)\n\t\t{\n\t\t\tsetWorldRegion(null);\n\t\t}\n\t}", "public void setVisible(boolean visible) {\r\n this.visible = visible;\r\n }", "public void setVisible(boolean visible)\n {\n this.visible = visible;\n }", "public abstract void setVisible(boolean visible);", "final void setVisible(boolean visible) {\n this.visible = visible;\n }", "public void setIsVisible(boolean isVisible);", "public void setVisible(boolean b) {\n\t\t\n\t}", "public void setVisible(boolean newVisible)\n {\n this.visible = newVisible;\n conditionallyRepaint();\n }", "public void setVisible()\r\n\t{\r\n\t\tthis.setVisible(true);\r\n\t}", "public void setVisible(boolean val)\r\n\t{\r\n\t\t_isOn = val;\r\n\t}", "public void setVisible(boolean visible)\n\t{\n\t\tshaderMaterial.setUniform(\"AMBIENT\", \"isVisible\", new UniformBool(\n\t\t\t\tvisible));\n\t}", "public void setIsVisible(java.lang.Boolean isVisible);", "public void setVisible(boolean b) {\n\t\tsuper.setVisible(b);\n\n\t\tif (b)\n\t\t\tpaint(this.getGraphics());\n\t}", "@Override\n\tpublic void setVisible(boolean b) {\n\t\t\n\t}", "@Override\n public void setVisible(boolean arg0)\n {\n \n }", "void setIsVisible(boolean visible) {\r\n this.isVisible = visible;\r\n this.getComponent().setVisible(isVisible);\r\n }", "private void setVis(boolean b) {\n this.setVisible(b);\n }", "@Override\n\tpublic void setVisible(boolean vis) {\n\t\t\n\t}", "public void setVisible(boolean newVal) {\n if (newVal != visible) {\n visible = newVal;\n listeners.firePropertyChange(PROPERTY_VISIBLE, !visible, visible);\n }\n }", "public void setVisible(boolean visible) {\n internalGroup.setVisible(visible);\n dataTrait.visible = visible;\n }", "public void setVisible(boolean visible) {\n window.setVisible(visible);\n }", "public void setVisible(boolean is_visible){\n\t\tswingComponent.setVisible(is_visible);\n\t}", "public void setVisible(boolean a){\n \t\tvisible = a;\n \t}", "void setVisibleGlassPanel(Visibility visible);", "public void setVisible(boolean visible)\n {\n frame.setVisible(visible);\n }", "void setOrientationVisibility(boolean visible) {\n if (!initialized){\n throw new IllegalStateException(\"Arrow wasn't initialized\");\n }\n\n if (visible){\n firstWing.setVisible(true);\n secondWing.setVisible(true);\n weightText.setVisible(true);\n }\n else {\n firstWing.setVisible(false);\n secondWing.setVisible(false);\n weightText.setVisible(false);\n }\n }", "public void setVisible(boolean visible) {\n\t\tframe.setVisible(visible);\n\t}", "void setVisibility(Layer layer, boolean visibility);", "public Visible (boolean visible) {\n setVisible(visible);\n }", "public void setVisible(boolean b) {\n\t\tframe.setVisible(b);\t\n\t}", "public void setVisible(boolean b) {\n // Not supported for MenuComponents\n }", "public void setVisible(boolean visible)\n\t{\n\t\tsuper.setVisible(visible);\n\t\trequestFocus();\n\t}", "@JSProperty(\"visible\")\n void setVisible(boolean value);", "@Override\n\tpublic void setVisible(boolean visibility) {\n\t\t//do nothing\n\t}", "public final boolean isVisible() {\n return visible;\n }", "@Override\n\tpublic void setVisible (boolean visible)\n\t{\n\t\tif (visible)\n\t\t{\n\t\t\t//this.updateLayerList();\n\t\t\t//this.updateConstrainedLayerList();\n\t\t}\n\t\telse\n\t\t{\n\t\t\t// Update the amount of deformation.\n\t\t\tmCartogramWizard.setAmountOfDeformation(\n\t\t\t\tmDeformationSlider.getValue());\n\t\t\t\t\n\t\t}\n\t\t\n\t\tsuper.setVisible(visible);\n\t}", "public void setVisible(boolean v) {\n\t\tif (v) {\n\t\t\trequestFocus();\n\t\t}\n\t\tsuper.setVisible(v);\n\t}", "public boolean isVisible () {\n return visible;\n }", "public void setVisible(boolean visibile) {\n\t\tthis.visible = visibile;\n\t\tfor (GameObject gameObject : objects) {\n\t\t\tgameObject.setVisible(visibile);\n\t\t}\n\t}", "public boolean isVisible(){\n \t\treturn visible;\n \t}", "public boolean isVisible() {\r\n return visible;\r\n }", "public boolean isVisible() {\n\t\treturn visible;\n\t}", "public void visible() {\n\n setSize(canvasW, canvasH);\n setResizable(false);\n setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n setVisible(true);\n }", "public boolean isVisible()\n {\n return visible;\n }", "@Override\n public void setVisible (boolean f)\n { \n }", "public void show() {\n visible=true;\n }", "public boolean getVisible() {\r\n return visible;\r\n }", "private boolean setVisible(boolean b) {\n\t\treturn b;\n\t}", "public MapElement setVisible(boolean visible) {\n this.visible.set(visible);\n return this;\n }", "public void setVisible()\n\t{\n\t\tMainController.getInstance().setVisible(name, true);\n\t}", "public boolean isVisible()\n {\n return visible;\n }", "@Override\n\tpublic void setVisibility(int visibility) {\n\t\tsuper.setVisibility(visibility);\n\t\tif(visibility==View.VISIBLE){\n\t\t\ttoggleOnAreaChange();\n\t\t}\n\t}", "public boolean getVisible() {\n\t\treturn visible;\n\t}", "public boolean getVisible() {\n\t\treturn visible;\n\t}", "public boolean setVisible(boolean visible) {\n\t\tthrow new UnsupportedOperationException(\"readonly\");\n\t}", "public void setPickVisible(boolean state) {\n\t\t\n\t}", "public void setShown(boolean shown){\r\n this.shown = shown;\r\n }", "public boolean isShowing() {\n return visible;\n }", "public void toggle()\n\t{\n\t\tsetVisible(!this.isShowing());\n\t}", "public boolean isVisible(){\n\t\treturn this.visible;\n\t}", "public void setFiducialIsVisible(boolean visible){\n\t\tMusiqueFiducial.fiducialIsVisible = visible;\n\t}", "public void setDisplayVisibility(boolean on) {\n if (settingVisibility) {\n return;\n }\n super.setDisplayVisibility(on);\n applyVisibilityFlags();\n }", "public void show() {\n isVisible = true;\n this.saveBorderColor(playerColor);\n this.setBorderColor(playerColor);\n }", "public boolean isVisible() {\n return true;\n }", "public void setDisplayed(boolean show);", "public void makeVisible() {\n if (isVisible()) {\n return;\n }\n pack();\n setVisible(true);\n }", "public void setGraphicVisible(int uid, boolean visible)\n\t{\n\t\tgetObject().setGraphicVisible(uid, visible);\n\t\treturn;\n\t}", "public void setHidden(boolean value) {\r\n this.hidden = value;\r\n }", "public boolean getIsVisible();", "public boolean isVisible() { return _visible; }", "public boolean isVisible() {\n return true;\n }", "public void setVisible(boolean value)\n {\n super.setVisible(value);\n\n // Set the focus\n if (value && !errorFound())\n {\n setCurrentFocus(amountField);\n }\n }", "public java.lang.Boolean getIsVisible();", "@Override\n\tpublic boolean isVisible() {\n\t\treturn this.isVisible;\n\t}", "public boolean isVisible() {\n\t\treturn true;\n\t}", "public void setCursorVisible(boolean visible){\n for(int c=0;c<getChildCount();c++){\n getFieldAt(c).setCursorVisible(visible);\n }\n }", "public void setTurtleVisibility(boolean visibility){\n isTurtleVisible = visibility;\n }", "@Override\n\tpublic void setVisible (boolean visible)\n\t{\n\t\n\t\tif (visible)\n\t\t{\n\t\t\tthis.updateLayerList();\n\t\t\t\n\t\t\t// If there is no layer for the cartogram deformation,\n\t\t\t// add a menu item \"<none>\" and disable the \"Next\" button.\n\t\t\tif (mLayerMenu.getItemCount() == 0)\n\t\t\t{\n\t\t\t\tmLayerMenu.addItem(\"<none>\");\n\t\t\t\tmNextButton.setEnabled(false);\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tmNextButton.setEnabled(true);\n\t\t\t}\n\t\t}\n\t\t\n\t\n\t\tif (!visible)\n\t\t\tmCartogramWizard.setCartogramLayerName(\n\t\t\t\t(String)mLayerMenu.getSelectedItem());\n\t\t\n\t\tsuper.setVisible(visible);\n\t\t\n\t}", "public boolean isVisible(){ return visible; }", "public void setInvisible ( boolean invisible ) {\n\t\texecute ( handle -> handle.setInvisible ( invisible ) );\n\t}", "@Override\n\tpublic void setVisible(boolean visible) {\n\t\tsuper.setVisible(visible);\n\t\tif (this.getMenuItems() != null) {\n\t\t\tfor (CFComponentMenuItem item : this.getMenuItems()) {\n\t\t\t\titem.setVisible(visible);\n\t\t\t}\n\t\t}\n\t}", "@JSProperty(\"visible\")\n void setVisible(String value);", "public void setShadesVisible(boolean visible) {\r\n showShades = visible;\r\n }", "public boolean isVisible();", "public boolean isVisible();", "public boolean isVisible();", "private void setVisible(JTextField a, boolean b) {\n\t\ta.setVisible(b);\r\n\t}", "public void setVisible(Button button) {\n setVisible(EnumSet.of(button));\n }", "public void setBorderVisible( final boolean show ) {\n checkWidget();\n if( ( borderLeft != 1 ) != !show ) {\n borderLeft = borderRight = show ? 1 : 0;\n borderTop = onBottom ? borderLeft : 0;\n borderBottom = onBottom ? 0 : borderLeft;\n updateItemsWithResizeEvent();\n }\n }" ]
[ "0.7390552", "0.7360569", "0.73302233", "0.73302233", "0.7263473", "0.72426355", "0.7204189", "0.71933776", "0.7150649", "0.71460557", "0.7132426", "0.7125522", "0.71251327", "0.71217525", "0.7120733", "0.7073122", "0.7025395", "0.7013462", "0.69819486", "0.69728297", "0.6946421", "0.69276047", "0.6922121", "0.6915877", "0.6907982", "0.6826096", "0.6755359", "0.6747948", "0.6730338", "0.67151976", "0.67083997", "0.67050105", "0.6697201", "0.6682247", "0.667174", "0.66510636", "0.66482717", "0.6618096", "0.66157234", "0.65337706", "0.65122914", "0.65057606", "0.64902765", "0.6481057", "0.64402914", "0.6436053", "0.64239556", "0.6418871", "0.63886154", "0.63620305", "0.6344193", "0.63367456", "0.6320139", "0.629146", "0.62792456", "0.6269761", "0.6263152", "0.62373745", "0.62304306", "0.6183598", "0.61713886", "0.61578244", "0.6147297", "0.6142171", "0.612219", "0.612219", "0.6100274", "0.6086741", "0.60622483", "0.60471797", "0.604127", "0.6032601", "0.602226", "0.60114914", "0.5996888", "0.5987015", "0.5983118", "0.59805864", "0.59783643", "0.5973617", "0.5943188", "0.5934073", "0.59300673", "0.592892", "0.5928136", "0.5914368", "0.5901443", "0.5892561", "0.5890799", "0.58858967", "0.58791107", "0.5878544", "0.58782977", "0.5840934", "0.5838938", "0.58342", "0.58342", "0.58342", "0.5808713", "0.58012915", "0.5799874" ]
0.0
-1
Returns an object describing layout paramaters of this shape in its parent's layout.
public Object getLayoutInfo() { return _layoutInfo; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getParentLayoutOrientation()\n {\n return parentOrientation;\n }", "GeomLayout.IGeomLayoutCreateFromNode geomLayoutCreator();", "public static LinearLayout.LayoutParams getLayoutParams() {\r\n return new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, LinearLayout.LayoutParams.MATCH_PARENT);\r\n }", "@Override\n\tpublic VLayout asLayout() {\n\t\treturn this;\n\t}", "public RMPoint getXYP() { return convertPointToShape(new RMPoint(), _parent); }", "public CarrierShape parent()\n\t{\n\t\treturn parent;\n\t}", "public LayoutParams generateDefaultLayoutParams() {\n return new LayoutParams();\n }", "public final int getLayout() {\n return 2130970726;\n }", "public RMParentShape getParent() { return _parent; }", "public Info getInfo() {\n super.fillInfo(shape);\n return this.shape;\n }", "@Override\n public JQLayout getLayout()\n {\n return layout;\n }", "public LayoutParams generateLayoutParams(ViewGroup.LayoutParams p) {\n return new LayoutParams(p);\n }", "public final ShapeParent getShapeParent()\n {\n return parent;\n }", "@Override\r\n\tprotected void initializeLayout() {\r\n\t\tlayout = GraphLayoutFactory.createLayout(layoutType, graph, 250, 250, properties, AttributeMapSet.PROCEDURES);\r\n\t}", "public abstract int layoutId();", "String getLayout();", "protected abstract int getResLayout();", "public LayoutParams generateDefaultLayoutParams() {\n return new LayoutParams(-1, -2);\n }", "public android.view.ViewGroup.LayoutParams generateDefaultLayoutParams() {\n return new LayoutParams(super.generateDefaultLayoutParams());\n }", "public ViewGroup.LayoutParams generateDefaultLayoutParams() {\n return new C17366a(-1, -2);\n }", "public android.view.ViewGroup.LayoutParams generateDefaultLayoutParams() {\n return new LayoutParams();\n }", "public abstract int getLayoutId();", "public abstract int getLayoutId();", "public abstract int getLayoutId();", "protected a generateDefaultLayoutParams() {\n return new a();\n }", "public ColumnInfo[] getLayout()\n\t{\n\t\treturn m_layout;\n\t}", "public void setParent(RMParentShape aShape) { _parent = aShape; }", "public ViewGroup.LayoutParams generateDefaultLayoutParams() {\n return new LayoutParams(-1, -1);\n }", "public android.view.ViewGroup.LayoutParams generateLayoutParams(android.view.ViewGroup.LayoutParams layoutParams) {\n return new LayoutParams(super.generateLayoutParams(layoutParams));\n }", "DetailsChartLayoutSettings getLayoutSettings() {\n return layoutSettings;\n }", "@LayoutRes\n protected abstract int getLayoutId();", "public abstract\n @LayoutRes\n int getLayoutId();", "public Layout getLayout() {\n return this.mLayout;\n }", "public /* synthetic */ android.view.ViewGroup.LayoutParams generateDefaultLayoutParams() {\n return new LayoutParams();\n }", "public abstract int getLayoutResources();", "AttributeLayout createAttributeLayout();", "GraphLayout createGraphLayout();", "public ViewGroup.LayoutParams generateLayoutParams(ViewGroup.LayoutParams layoutParams) {\n if (layoutParams instanceof LayoutParams) {\n return layoutParams;\n }\n return new LayoutParams(layoutParams);\n }", "public RMParentShape getPageShape() { return _parent!=null? _parent.getPageShape() : (RMParentShape)this; }", "protected abstract\n @LayoutRes\n int getLayoutRes(int position);", "@RestrictTo(Scope.LIBRARY_GROUP)\n @NonNull\n ModifiersProto.SlideParentBound toProto() {\n return mImpl;\n }", "@Override\r\n\tprotected LayoutParams getLayoutParam(int arg0) {\n\t\tLayoutParams params = new MapView.LayoutParams(MapView.LayoutParams.WRAP_CONTENT, MapView.LayoutParams.WRAP_CONTENT, poiItem.get(number).getPoint(), 0, -height, LayoutParams.BOTTOM_CENTER);\r\n\r\n\t\treturn params;\r\n\t}", "protected LayoutData getLayoutData() {\n\r\n\t\t\tLayoutData data = new LayoutData();\r\n\r\n\t\t\t// boxes\r\n//\t\t\tint abstractSyntaxY = BOX_SPACING;\r\n//\t\t\tint treeConcreteSyntaxY = abstractSyntaxY +abstractSyntaxSize.height + BOX_SPACING;\r\n//\t\t\tSystem.out.println(\"abstractSyntaxSize.height = \"+abstractSyntaxSize.height);\r\n//\t\t\tint checkerY = treeConcreteSyntaxY +treeConcreteSyntaxSize.height + BOX_SPACING;\r\n//\t\t\tint staticSemanticsX = BOX_SPACING;\r\n//\t\t\tint abstractSyntaxX = BOX_SPACING;\r\n//\t\t\tint compilerX = BOX_SPACING;\r\n//\t\t\tint interpreterX = BOX_SPACING;\r\n//\t\t\tdata.abstractSyntaxBox = new Rectangle(abstractSyntaxX, abstractSyntaxY, abstractSyntaxSize.width, abstractSyntaxSize.height);\r\n//\t\t\tdata.treeConcreteSyntaxBox = new Rectangle(0, treeConcreteSyntaxY, treeConcreteSyntaxSize.width, treeConcreteSyntaxSize.height);\r\n//\t\t\tdata.staticSemanticsBox = new Rectangle(staticSemanticsX, treeConcreteSyntaxY, staticSemanticsSize.width, staticSemanticsSize.height);\r\n//\t\t\tdata.checkerBox = new Rectangle(staticSemanticsX + 30, checkerY, checkerSize.width, checkerSize.height);\r\n//\t\t\tdata.compilerBox = new Rectangle(compilerX, treeConcreteSyntaxY, compilerSize.width, compilerSize.height);\r\n//\t\t\tdata.interpreterBox = new Rectangle(interpreterX, treeConcreteSyntaxY, interpreterSize.width, interpreterSize.height);\r\n\t\t\t\r\n\t\t\tfor(int i = 0; i<taskFigures.size(); i++){\r\n\t\t\t\tdata.boxes.add(new Rectangle(BOX_SPACING, BOX_SPACING + i*(60 + BOX_SPACING) ,taskFigures.get(i).getPreferredSize().width,taskFigures.get(i).getPreferredSize().height));\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\treturn data;\r\n\t\t}", "public android.view.ViewGroup.LayoutParams generateLayoutParams(android.view.ViewGroup.LayoutParams layoutParams) {\n return new LayoutParams(layoutParams);\n }", "public int getLayoutMeasure(){\n\t\treturn this.getWaypointsMeasures(edges) + this.getShapesMeasures(shapes); \n\t}", "public Dimension preferredLayoutSize(Container parent) {\n/* 170 */ synchronized (parent.getTreeLock()) {\n/* 171 */ Insets ins = parent.getInsets();\n/* 172 */ Component[] comps = parent.getComponents();\n/* 173 */ int height = 0;\n/* 174 */ int width = 0;\n/* 175 */ for (int i = 0; i < comps.length; i++) {\n/* 176 */ if (comps[i].isVisible() || !this.ignoreInvisible) {\n/* */ \n/* */ \n/* */ \n/* 180 */ Dimension pref = comps[i].getPreferredSize();\n/* 181 */ if (pref.height > height) {\n/* 182 */ height = pref.height;\n/* */ }\n/* 184 */ if (pref.width > width)\n/* 185 */ width = pref.width; \n/* */ } \n/* */ } \n/* 188 */ return new Dimension(width + ins.left + ins.right, height + ins.top + ins.bottom);\n/* */ } \n/* */ }", "public LayoutParams(@NotNull ViewGroup.LayoutParams layoutParams) {\n super(layoutParams);\n Intrinsics.checkNotNullParameter(layoutParams, \"source\");\n if (layoutParams instanceof LayoutParams) {\n this.a = ((LayoutParams) layoutParams).a;\n }\n }", "public Point getLocation() {\r\n return layout.location;\r\n }", "public LayoutParams(@NotNull LinearLayout.LayoutParams layoutParams) {\n super(layoutParams);\n Intrinsics.checkNotNullParameter(layoutParams, \"source\");\n if (layoutParams instanceof LayoutParams) {\n this.a = ((LayoutParams) layoutParams).a;\n }\n }", "public Map<Integer, List<String>> getLayout() {\n return map;\n }", "public PApplet getParent() {\n\t\treturn parent;\n\t}", "@Nullable\n public LayoutType getLayout() {\n return mLayout;\n }", "public ArrayList<Tile[]> getLayout() {\r\n\t\treturn layout;\r\n\t}", "public static String getLayout() {\n layout = getProperty(\"layout\");\n if (layout == null) layout = \"dot\";\n return layout;\n }", "public interface Parent {\n \n /**\n * Get start offset of the child with the given index.\n * <br>\n * The child can be either flyweight or regular view.\n *\n * @param childViewIndex &gt;=0 index of the child.\n * @return start offset of the requested child.\n */\n public int getStartOffset(int childViewIndex);\n \n /**\n * Get end offset of the child with the given index.\n * <br>\n * The child can be either flyweight or regular view.\n *\n * @param childViewIndex &gt;=0 index of the child.\n * @return start offset of the requested child.\n */\n public int getEndOffset(int childViewIndex);\n \n }", "public String getParentParamCode() {\n return parentParamCode;\n }", "public PafDimMember getParent() {\r\n\t\treturn parent;\r\n\t}", "public PApplet getParent() {\n\t\treturn this.parent;\n\t}", "public ParameterList getAdjustableParams();", "public Short getLayoutType() {\n return layoutType;\n }", "@Override\r\n\tpublic String toString()\r\n\t{\r\n\t\tStringBuffer sb = new StringBuffer();\r\n\t\tsb.append(\"WidgetLayoutMapping -> \");\r\n\t\tsb.append(\"widgetId: \");\r\n\t\tsb.append(widgetId);\r\n\t\tsb.append(\"; layoutId: \");\r\n\t\tsb.append(layoutId);\r\n\t\tsb.append(\"; layoutWidgetPosition: \");\r\n\t\tsb.append(layoutWidgetPosition);\r\n\t\tsb.append(\"; blockPosition : \");\r\n\t\tsb.append(blockPosition);\r\n\t\tsb.append(\"; closedInd: \");\r\n\t\tsb.append(closedInd);\r\n\t\treturn sb.toString();\r\n\t}", "protected abstract ResourceValue getLayoutResource(BridgeContext context);", "public DrawingComposite getParent() {\n\t\treturn parent;\n\t}", "NodeLayout createNodeLayout();", "public ConversionHelper getParent()\n {\n return parent;\n }", "IGLProperty getParent();", "DimensionInner innerModel();", "public interface ExtendsFrom extends ViewDefinition\n{\n /**\n * Gets all the placeholder definitions for this view.\n *\n * @return A map with the name of the placeholder an the corresponding\n * Defines object.\n */\n Map<String, Defines> getDefinesMap();\n\n /**\n * Gets the list of defines for this view.\n *\n * @return A list of Defines objects.\n */\n List<Defines> getDefines();\n\n /**\n * The name of the parent layout.\n * \n * @return An string with the name of the parent layout.\n */\n String getLayout();\n}", "SemanticRegion<T> parent();", "private String getParentDesc() {\n if (Objects.nonNull(parent)) {\n return String.valueOf(dataLayout.getLayout().getId());\n }\n\n // Level 0th.\n if (Objects.isNull(node.getParent())) {\n // From flat table.\n return \"flat table\";\n }\n // From data layout.\n return String.valueOf(node.getParent().getLayout().getId());\n }", "public android.view.ViewGroup.LayoutParams generateLayoutParams(android.view.ViewGroup.LayoutParams layoutParams) {\n return generateDefaultLayoutParams();\n }", "public int Parent() { return this.Parent; }", "@Override\n public Dimension preferredLayoutSize(Container parent) {\n return new Dimension(600,434);\n }", "@Override // android.view.ViewGroup\n public ViewGroup.LayoutParams generateLayoutParams(ViewGroup.LayoutParams layoutParams) {\n if (layoutParams instanceof C17366a) {\n return new C17366a((C17366a) layoutParams);\n }\n if (layoutParams instanceof ViewGroup.MarginLayoutParams) {\n return new C17366a((ViewGroup.MarginLayoutParams) layoutParams);\n }\n return new C17366a(layoutParams);\n }", "@Override\n\tpublic ViewGroup GetDynamicLayout() {\n\t\treturn null;\n\t}", "public DesignParameters getDesignParameters() {\n return designParameters;\n }", "public X layout() {\n component.doLayout();\n return (X) this;\n }", "protected ClusterONEAlgorithmParameters getAlgorithmParameters() {\n\t\tClusterONEAlgorithmParametersDialog dialog = new ClusterONEAlgorithmParametersDialog();\n\t\tdialog.getParametersPanel().expandAll();\n\t\tdialog.pack();\n\t\tdialog.setLocationRelativeTo(null);\n\t\t\n\t\tif (!dialog.execute())\n\t\t\treturn null;\n\t\t\n\t\treturn dialog.getParameters();\n\t}", "public String getLayoutName() {\n return layoutName;\n }", "public CalcLayout() {\n\t\tthis(0);\n\t}", "public abstract int presentViewLayout();", "@Override\n\tpublic java.lang.String getLayout() {\n\t\treturn _scienceApp.getLayout();\n\t}", "void computeNewLayout();", "public float getLayoutAlignmentX(Container parent)\n\t{\n\t\treturn 0.5f;\n\t}", "private NetworkDevicePatchParametersProperties innerProperties() {\n return this.innerProperties;\n }", "public Figure getFigure() {\n\t\treturn _parentFigure;\n\t}", "@Override\n\tpublic Dimension preferredLayoutSize(Container parent) {\n\t\treturn new Dimension(parent.getWidth(), parent.getHeight());\n\t}", "int getLayoutId();", "public void setLayoutParams(ViewGroup.LayoutParams layoutParams) {\n super.setLayoutParams(layoutParams);\n try {\n if (this.a == null) {\n com.adincube.sdk.h.c.c c2;\n if (layoutParams == null) {\n c2 = com.adincube.sdk.h.c.c.a;\n } else {\n float f2 = this.k.density;\n int n2 = layoutParams.height;\n if (n2 > 0) {\n n2 = (int)((float)n2 / f2);\n }\n c2 = com.adincube.sdk.h.c.c.a(n2);\n }\n this.b(c2);\n new Object[1][0] = this.a;\n if (this.a == com.adincube.sdk.h.c.c.b) {\n this.setVisibility(0);\n }\n }\n this.c.c();\n this.d.c();\n this.e.c();\n return;\n }\n catch (Throwable throwable) {\n com.adincube.sdk.util.a.c(\"BannerView.setLayoutParams\", new Object[]{throwable});\n ErrorReportingHelper.report(\"BannerView.setLayoutParams\", com.adincube.sdk.h.c.b.b, this.c(), throwable);\n return;\n }\n }", "public Map getLayoutWidgetMappingAsMap()\r\n\t{\r\n\t\tMap lwmMap = new HashMap();\r\n\t\tlwmMap.put(ViewDefinitionConstants.PARAM_WIDGET_ID, widgetId);\r\n\t\tlwmMap.put(ViewDefinitionConstants.PARAM_LAYOUT_ID, layoutId);\r\n\t\tlwmMap.put(ViewDefinitionConstants.PARAM_POSITION, layoutWidgetPosition);\r\n\t\tlwmMap.put(ViewDefinitionConstants.PARAM_BLOCK_POSITION, blockPosition);\r\n\t\tlwmMap.put(ViewDefinitionConstants.PARAM_CLOSED_IND, closedInd);\r\n\t\tlwmMap.put(ViewDefinitionConstants.PARAM_DEFAULT_WIDGET_IND, defaultWidgetInd);// CT_DESIGN_CANVAS\r\n\t\treturn lwmMap;\r\n\t}", "public static int offset_parent() {\n return (40 / 8);\n }", "public abstract int layoutWidth();", "public ViewGroup.LayoutParams generateDefaultLayoutParams() {\r\n return new ViewGroup.MarginLayoutParams(-1, -2);\r\n }", "protected abstract int getLayoutViewId();", "public RMParentShape getOwner() { return _owner; }", "public interface ViewLayout {\r\n\r\n\t/** \r\n\t * Creates a reference to the view which layout should be calculated.\r\n\t * \r\n\t * @param view\r\n\t * \t\tthe view which layout should be calculated.\r\n\t */\r\n\tpublic void setView(View view);\r\n\t\r\n\t/**\r\n\t * Layouts the view components on the parent panel by assigning\r\n\t * them positions.\r\n\t * \r\n\t * @param parent\r\n\t * \t\tthe displaying parent container of the view\r\n\t */\r\n\tpublic void layoutContainer(Container parent);\r\n\r\n}", "public ViewGroup.LayoutParams generateLayoutParams(ViewGroup.LayoutParams lp) {\n return new ViewGroup.MarginLayoutParams(lp);\n }", "@Override\n\tpublic Dimension minimumLayoutSize(Container parent) {\n\t\treturn null;\n\t}", "public abstract int getDimension();", "public abstract int layoutHeight();" ]
[ "0.60658526", "0.5980644", "0.572043", "0.56327206", "0.5623309", "0.56078297", "0.55762666", "0.5549441", "0.55401284", "0.5501882", "0.54862845", "0.5483345", "0.5481009", "0.5464018", "0.54388654", "0.5428528", "0.5382151", "0.53696626", "0.5360595", "0.53586674", "0.53555983", "0.5350228", "0.5350228", "0.5350228", "0.5335387", "0.53286195", "0.5326288", "0.5305792", "0.530377", "0.52955455", "0.52833545", "0.5280077", "0.5258516", "0.52519846", "0.52476704", "0.52399963", "0.52383024", "0.5231534", "0.5227471", "0.521874", "0.52104545", "0.52033216", "0.5194946", "0.5192843", "0.51516974", "0.5150966", "0.5147903", "0.514163", "0.51410353", "0.5134141", "0.51149005", "0.5113343", "0.51017284", "0.5093353", "0.5087111", "0.50651634", "0.50592643", "0.50406766", "0.50370324", "0.50360084", "0.5026878", "0.50239545", "0.5018769", "0.49999303", "0.49976704", "0.49963042", "0.4992476", "0.49797896", "0.49796018", "0.49760026", "0.49649197", "0.49575093", "0.49541572", "0.49488863", "0.4943789", "0.49405822", "0.49392483", "0.49330512", "0.49274614", "0.49257144", "0.49256504", "0.49195465", "0.49083126", "0.48928142", "0.48921356", "0.488598", "0.48793796", "0.4875812", "0.48566252", "0.48553348", "0.48412946", "0.48357302", "0.48309413", "0.4828072", "0.48140064", "0.48125747", "0.48070642", "0.48021048", "0.4801958", "0.48016208" ]
0.63405514
0
Sets an object describing layout parameters of this shape in its parent's layout.
public void setLayoutInfo(Object theLayoutInfo) { if(RMUtils.equals(theLayoutInfo, _layoutInfo)) return; // If value already set, just return _layoutInfoX = null; firePropertyChange("LayoutInfo", _layoutInfo, _layoutInfo = theLayoutInfo, -1); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setParent(RMParentShape aShape) { _parent = aShape; }", "final void setParent(ShapeParent newParent)\n {\n this.parent = newParent;\n }", "void setParent(IGLProperty parent);", "@Override\r\n\tprotected void initializeLayout() {\r\n\t\tlayout = GraphLayoutFactory.createLayout(layoutType, graph, 250, 250, properties, AttributeMapSet.PROCEDURES);\r\n\t}", "@Override\n public final void setLayout(JQLayout layout)\n {\n this.layout = layout;\n }", "public void setOwner(RMParentShape anObj) { _owner = anObj; }", "public void setParent(CarrierShape parent)\n\t{\n\t\tthis.parent = parent;\n\t}", "protected void configureWest(LayoutOptions parent){\n LayoutOptions childOptions = new LayoutOptions(); \n parent.setChildOptions(childOptions); \n \n LayoutOptions north = createOptions(childOptions, CardinalPoint.NORTH); \n setAttribute(north, \"size\", \"150\");\n fixed(north);\n LayoutOptions center = createOptions(childOptions, CardinalPoint.CENTER); \n setAttribute(center, \"overflow\", \"scroll\");\n\t}", "public void setParent(DrawingComposite parent) {\n\t\tthis.parent = parent;\n\t}", "public void setParentLayoutOrientation(int orientation)\n {\n parentOrientation = orientation;\n }", "public void setParent(PafDimMember parent) {\r\n\t\tthis.parent = parent;\r\n\t}", "private void setLayout() {\n if (!mImageFragment.isAdded()) {\n mNameFrameLayout.setLayoutParams(new LinearLayout.LayoutParams(\n MATCH_PARENT, MATCH_PARENT));\n mImageFrameLayout.setLayoutParams(new LinearLayout.LayoutParams(0,\n MATCH_PARENT));\n } else {\n if (getResources().getConfiguration().orientation\n == Configuration.ORIENTATION_LANDSCAPE){\n mNameFrameLayout.setLayoutParams(new LinearLayout.LayoutParams(0,\n MATCH_PARENT, 1f));\n mImageFrameLayout.setLayoutParams(new LinearLayout.LayoutParams(0,\n MATCH_PARENT, 2f));\n }\n\n else {\n mNameFrameLayout.setLayoutParams(new LinearLayout.LayoutParams(0,\n MATCH_PARENT));\n mImageFrameLayout.setLayoutParams(new LinearLayout.LayoutParams(MATCH_PARENT,\n MATCH_PARENT));\n }\n }\n }", "void setParent(WidgetParent ip) {\n this.m_parent = ip;\n }", "public void layoutContainer(Container parent);", "public void setLayoutParams(ViewGroup.LayoutParams layoutParams) {\n super.setLayoutParams(layoutParams);\n try {\n if (this.a == null) {\n com.adincube.sdk.h.c.c c2;\n if (layoutParams == null) {\n c2 = com.adincube.sdk.h.c.c.a;\n } else {\n float f2 = this.k.density;\n int n2 = layoutParams.height;\n if (n2 > 0) {\n n2 = (int)((float)n2 / f2);\n }\n c2 = com.adincube.sdk.h.c.c.a(n2);\n }\n this.b(c2);\n new Object[1][0] = this.a;\n if (this.a == com.adincube.sdk.h.c.c.b) {\n this.setVisibility(0);\n }\n }\n this.c.c();\n this.d.c();\n this.e.c();\n return;\n }\n catch (Throwable throwable) {\n com.adincube.sdk.util.a.c(\"BannerView.setLayoutParams\", new Object[]{throwable});\n ErrorReportingHelper.report(\"BannerView.setLayoutParams\", com.adincube.sdk.h.c.b.b, this.c(), throwable);\n return;\n }\n }", "public @Override void setParent(View parent) {\n super.setParent(parent);\n \n /* Make sure that the children get loaded.\n * It is necessary to do because children preferences will\n * define the preferences of the parent.\n */\n if (parent != null) {\n if (parent instanceof ViewLayoutState.Parent) {\n setStatusBits(ACTIVE_LAYOUT_STATE);\n } else {\n clearStatusBits(ACTIVE_LAYOUT_STATE);\n }\n \n // Resolving whether active layout state must be resolved prior getChildren()\n getChildren();\n \n } else { // parent is being set to null\n releaseChildren();\n clearStatusBits(ACTIVE_LAYOUT_STATE);\n }\n }", "public void setParent(Concept _parent) { parent = _parent; }", "public void setParent(AbstractConfigNode parent) {\n this.parent = parent;\n }", "private void setGeometry() {\n this.setCullHint(Spatial.CullHint.Dynamic);\n this.setLocalTranslation(realPosition);\n //attach geometry to this object\n // mat.setColor(\"Color\", colors[r.nextInt(colors.length)]);\n if (!companyTextures.containsKey(this.company)) {\n mat.setTexture(\"ColorMap\", Colors.get(r.nextInt(Colors.size())));\n } else {\n mat.setTexture(\"ColorMap\", companyTextures.get(this.company));\n }\n geom.setMaterial(mat);\n this.attachChild(geom.clone());\n }", "public void setShape(Info shape) {\n \n }", "void setPropertiedGraphView(final PropertiedGraphView<O> propertiedGraphView);", "@Override\r\n\tpublic void setLayoutParams(LayoutParams params) {\n\t\tparams.width = mBmpWidth;\r\n\t\tparams.height = mBmpHeight;\r\n\t\tsuper.setLayoutParams(params);\r\n\t}", "public LayoutParams(@NotNull LinearLayout.LayoutParams layoutParams) {\n super(layoutParams);\n Intrinsics.checkNotNullParameter(layoutParams, \"source\");\n if (layoutParams instanceof LayoutParams) {\n this.a = ((LayoutParams) layoutParams).a;\n }\n }", "public LayoutParams(@NotNull ViewGroup.LayoutParams layoutParams) {\n super(layoutParams);\n Intrinsics.checkNotNullParameter(layoutParams, \"source\");\n if (layoutParams instanceof LayoutParams) {\n this.a = ((LayoutParams) layoutParams).a;\n }\n }", "@JsOverlay\n public final void layout() {\n Dagre.get().layout(this);\n }", "@Override\r\n\tvoid setProperty(BoundedShape anObject, Point aNewValue) {\n\t\tRectangle newBounds = new Rectangle (aNewValue.x, aNewValue.y, anObject.getWidth(), anObject.getHeight());\r\n\t\tanObject.setBounds(newBounds);\r\n\t}", "public void setParentLayer(EObject newValue);", "public PackingGraphLayout(NodeLinkGraphLayout layout) {\n this.layout = layout;\n }", "public abstract void setParent(UIComponent parent);", "void setParent(UIComponent parent);", "public void setParentPanel(UIPanel parent) {\n this.parentPanel = parent;\n updateBounds();\n }", "public void setupLayout() {\n // left empty for subclass to override\n }", "public CalcLayout() {\n\t\tthis(0);\n\t}", "public void layoutContainer(Container parent) {\n if ((constraints != null) && (! constraints.isEmpty())) {\n Rectangle alloc = getVisibleEditorRect();\n if (alloc != null) {\n Document doc = editor.getDocument();\n if (doc instanceof AbstractDocument) {\n ((AbstractDocument)doc).readLock();\n }\n try {\n rootView.setSize(alloc.width, alloc.height);\n Enumeration<Component> components = constraints.keys();\n while (components.hasMoreElements()) {\n Component comp = components.nextElement();\n View v = (View) constraints.get(comp);\n Shape ca = calculateViewPosition(alloc, v);\n if (ca != null) {\n Rectangle compAlloc = (ca instanceof Rectangle) ?\n (Rectangle) ca : ca.getBounds();\n comp.setBounds(compAlloc);\n }\n }\n } finally {\n if (doc instanceof AbstractDocument) {\n ((AbstractDocument)doc).readUnlock();\n }\n }\n }\n }\n }", "public void setLayout(FrameLayout layout) {\r\n mLayout = layout;\r\n }", "public void setParent(State aParent);", "protected void conditionallyRelayout()\n {\n ShapeView view = getParentView();\n \n if (view != null)\n {\n view.conditionallyRelayout();\n }\n }", "public void layoutForSimView()\n {\n preferredSize = new Dimension(982, 476);\n ((ViewableComponent)withName(\"bridge3\")).setPreferredLocation(new Point(359, 193));\n ((ViewableComponent)withName(\"station1\")).setPreferredLocation(new Point(156, 93));\n ((ViewableComponent)withName(\"bridge2\")).setPreferredLocation(new Point(83, 256));\n ((ViewableComponent)withName(\"bridge1\")).setPreferredLocation(new Point(88, 182));\n ((ViewableComponent)withName(\"station3\")).setPreferredLocation(new Point(367, 269));\n ((ViewableComponent)withName(\"TObs\")).setPreferredLocation(new Point(153, 4));\n ((ViewableComponent)withName(\"station2\")).setPreferredLocation(new Point(148, 362));\n }", "@Override\r\n public void set(View object, Rect value) {\n object.setTranslationX(value.left);\r\n object.setTranslationY(value.top);\r\n object.getLayoutParams().width = value.width();\r\n object.getLayoutParams().height = value.height();\r\n object.requestLayout();\r\n }", "public void setParent(Instance parent) {\r\n \t\tthis.parent = parent;\r\n \t}", "public FinalEditLayout(ViewGroup parent){\n this.parent = parent;\n onCreate();\n }", "@Override\n\tpublic VLayout asLayout() {\n\t\treturn this;\n\t}", "public void assignShape() {\n\t\t\n\t}", "protected void setShape(Shape shape) {\n\t\tif (shape != null) {\n\t\t\t_shape = shape;\n\t\t\tthis.setLocation(shape.getLocation());\n\t\t\tthis.setDimensions(shape.getDimensions());\n\t\t}\n\t}", "public VFlowLayout() {\n this(TOP, 5, 5, true, false);\n }", "@objid (\"617c2b9e-55b6-11e2-877f-002564c97630\")\n @Override\n protected void setParent(GmCompositeNode parent) {\n if (parent != null && getParent() != parent) {\n getPersistedStyle().setCascadedStyle(parent.getPersistedStyle());\n }\n \n super.setParent(parent);\n }", "GeomLayout.IGeomLayoutCreateFromNode geomLayoutCreator();", "public void setLayout(@Nullable final LayoutType layout) {\n mLayout = layout;\n }", "public void setMyShape(int shapeIndex){this.myShape = shapeIndex;}", "public void setParent(PaletteContainer newParent) {\n if (parent != newParent) {\n PaletteContainer oldParent = parent;\n parent = newParent;\n listeners.firePropertyChange(PROPERTY_PARENT, oldParent, parent);\n }\n }", "public FlowLayout(int paramInt1, int paramInt2, int paramInt3) {\n/* 659 */ this.serialVersionOnStream = 1;\n/* */ this.hgap = paramInt2;\n/* */ this.vgap = paramInt3;\n/* */ setAlignment(paramInt1);\n/* */ }", "public void setParent(PsUpdateIf parent) {\n\t\tsuper.setParent(parent);\n\t\tm_pjRoot = (PjRootFinder)parent;\n\t\tm_pFunction.add(m_pjRoot.m_fx.getInfoPanel());\n\t\tm_pBounds.add(m_pjRoot.m_xMin.getInfoPanel());\n\t\tm_pBounds.add(m_pjRoot.m_xMax.getInfoPanel());\n\t\tm_pBounds.add(m_pjRoot.m_discr.getInfoPanel());\n\t}", "public void setParent(ILexComponent parent);", "protected void configureNorthCenter(LayoutOptions parent){\n LayoutOptions childOptions = new LayoutOptions(); \n parent.setChildOptions(childOptions); \n\t\t\n\t\t// options for north-center-west pane \n LayoutOptions west = new LayoutOptions();\n fixed(west);\n west.addOption(\"size\", \"40\"); \n childOptions.setWestOptions(west); \n \n // options for north-center-center pane \n LayoutOptions center = new LayoutOptions(); \n childOptions.setCenterOptions(center);\n\t}", "public Object getLayoutInfo() { return _layoutInfo; }", "@Override\n public void setParentNode(ConfigurationNode parent)\n {\n this.parent = parent;\n }", "protected abstract void setShapes();", "<E extends CtElement> E setParent(E parent);", "private void setViewLayout() {\n\t\tthis.setBorder(new EmptyBorder(15, 15, 15, 15));\n\t\tthis.setLayout(new GridLayout(2, 2, 15, 15));\n\t}", "@Override\n public void setCoord(PuertoPosition pp, Point2D newCoord) {\n layout.setLocation(pp, newCoord);\n }", "public interface ViewLayout {\r\n\r\n\t/** \r\n\t * Creates a reference to the view which layout should be calculated.\r\n\t * \r\n\t * @param view\r\n\t * \t\tthe view which layout should be calculated.\r\n\t */\r\n\tpublic void setView(View view);\r\n\t\r\n\t/**\r\n\t * Layouts the view components on the parent panel by assigning\r\n\t * them positions.\r\n\t * \r\n\t * @param parent\r\n\t * \t\tthe displaying parent container of the view\r\n\t */\r\n\tpublic void layoutContainer(Container parent);\r\n\r\n}", "public void onSetLayoutDirection() {\n }", "@Override\n public void noteNewPlayout()\n {\n\n }", "public void layoutContainer(Container parent) {\n // Step 1: Prepare for layout.\n prepare(SPECIFIC_SIZE);\n Insets insets = parent.getInsets();\n int width = parent.getWidth() - insets.left - insets.right;\n int height = parent.getHeight() - insets.top - insets.bottom;\n boolean ltr = isLeftToRight();\n if (getAutoCreateGaps() || getAutoCreateContainerGaps() ||\n hasPreferredPaddingSprings) {\n // Step 2: Calculate autopadding springs\n calculateAutopadding(horizontalGroup, HORIZONTAL, SPECIFIC_SIZE, 0,\n width);\n calculateAutopadding(verticalGroup, VERTICAL, SPECIFIC_SIZE, 0,\n height);\n }\n // Step 3: set the size of the groups.\n horizontalGroup.setSize(HORIZONTAL, 0, width);\n verticalGroup.setSize(VERTICAL, 0, height);\n // Step 4: apply the size to the components.\n for (ComponentInfo info : componentInfos.values()) {\n info.setBounds(insets, width, ltr);\n }\n }", "public void setLayout(double deltaX, double deltaY, int diagramID) {\n if(diagramID == sourceId) {\n double newX = startX + deltaX;\n if (newX > 0 && newX < getScene().getWidth()) {\n base.setCenterX(newX);\n }\n double newY = startY + deltaY;\n if (newY > 0 && newY < getScene().getHeight()) {\n base.setCenterY(newY);\n }\n }\n else {\n head.setLayoutX(headLayoutX + deltaX);\n head.setLayoutY(headLayoutY + deltaY);\n }\n }", "public void setParent(IAVLNode node);", "public void setParent(IAVLNode node);", "public void setShape(Shape shape) {\n validateShape(shape);\n\n this.shape = shape;\n this.shape.calculate();\n initializeScroller();\n resetScroll();\n }", "public void setSizeType(int type) {\n\t\tif (sizeType == type)\n\t\t\treturn;\n\t\tif (type != LMOptions.SMALL && type != LMOptions.LARGE && type != LMOptions.VARY)\n\t\t\treturn;\n\t\t\n\t\tdouble scale = parentLattice.getScale();\n\t\tdouble dotSize = DOT_NODE_SIZE * scale;\n\t\tdouble smallSize = SMALL_NODE_SIZE * scale;\n\t\tdouble largeSize = LARGE_NODE_SIZE * scale;\n\t\t\n\t\tif (type == LMOptions.SMALL && sizeType == LMOptions.LARGE) {\n\t\t\tsizeType = LMOptions.SMALL;\n\t\t\tdouble x = shape.getX() + ((largeSize - smallSize) / 2.0);\n\t\t\tdouble y = shape.getY() + ((largeSize - smallSize) / 2.0);\n\t\t\tshape.setFrame(x, y, smallSize, smallSize);\n\t\t}\n\n\t\telse if (type == LMOptions.SMALL && sizeType == LMOptions.VARY) {\n\t\t\tsizeType = LMOptions.SMALL;\n\t\t\tif (ownObject) {\n\t\t\t\tdouble x = shape.getX() + ((largeSize - smallSize) / 2.0);\n\t\t\t\tdouble y = shape.getY() + ((largeSize - smallSize) / 2.0);\n\t\t\t\tshape.setFrame(x, y, smallSize, smallSize);\n\t\t\t} else {\n\t\t\t\tdouble x = shape.getX() - ((smallSize - dotSize) / 2.0);\n\t\t\t\tdouble y = shape.getY() - ((smallSize - dotSize) / 2.0);\n\t\t\t\tshape.setFrame(x, y, smallSize, smallSize);\n\t\t\t}\n\t\t}\n\n\t\telse if (type == LMOptions.LARGE && sizeType == LMOptions.SMALL) {\n\t\t\tsizeType = LMOptions.LARGE;\n\t\t\tdouble x = shape.getX() - ((largeSize - smallSize) / 2.0);\n\t\t\tdouble y = shape.getY() - ((largeSize - smallSize) / 2.0);\n\t\t\tshape.setFrame(x, y, largeSize, largeSize);\n\t\t}\n\n\t\telse if (type == LMOptions.LARGE && sizeType == LMOptions.VARY) {\n\t\t\tsizeType = LMOptions.LARGE;\n\t\t\tif (!ownObject) {\n\t\t\t\tdouble x = shape.getX() - ((largeSize - dotSize) / 2.0);\n\t\t\t\tdouble y = shape.getY() - ((largeSize - dotSize) / 2.0);\n\t\t\t\tshape.setFrame(x, y, largeSize, largeSize);\n\t\t\t}\n\t\t}\n\n\t\telse if (type == LMOptions.VARY && sizeType == LMOptions.LARGE) {\n\t\t\tsizeType = LMOptions.VARY;\n\t\t\tif (!ownObject) {\n\t\t\t\tdouble x = shape.getX() + ((largeSize - dotSize) / 2.0);\n\t\t\t\tdouble y = shape.getY() + ((largeSize - dotSize) / 2.0);\n\t\t\t\tshape.setFrame(x, y, dotSize, dotSize);\n\t\t\t}\n\t\t}\n\n\t\telse if (type == LMOptions.VARY && sizeType == LMOptions.SMALL) {\n\t\t\tsizeType = LMOptions.VARY;\n\t\t\tif (ownObject) {\n\t\t\t\tdouble x = shape.getX() - ((largeSize - smallSize) / 2.0);\n\t\t\t\tdouble y = shape.getY() - ((largeSize - smallSize) / 2.0);\n\t\t\t\tshape.setFrame(x, y, largeSize, largeSize);\n\t\t\t} else {\n\t\t\t\tdouble x = shape.getX() + ((smallSize - dotSize) / 2.0);\n\t\t\t\tdouble y = shape.getY() + ((smallSize - dotSize) / 2.0);\n\t\t\t\tshape.setFrame(x, y, dotSize, dotSize);\n\t\t\t}\n\t\t}\n\t\t\n\t\tif (internalLattice != null)\n\t\t\tinternalLattice.refreshConceptsShape();\n\t\t\n\t\tlabel.refreshShape();\n\t}", "public void layoutContainer(final Container parent) {\n\t\tthis.calculateSize(parent);\n\t\tsynchronized (parent.getTreeLock()) {\n\n\t\t\t// Fixed components are ignored. The parent should lay\n\t\t\t// them out.\n\n\t\t\t// Assumption that we are laying out a diagram.\n\t\t\tint nextY = SchemaLayoutManager.TABLE_PADDING;\n\n\t\t\t// Layout each row in turn.\n\t\t\tfor (int rowNum = 0; rowNum < this.rows.size(); rowNum++) {\n\t\t\t\tint x = SchemaLayoutManager.TABLE_PADDING;\n\t\t\t\tfinal int y = nextY\n\t\t\t\t\t\t+ ((Integer) this.rowHeights.get(rowNum)).intValue()\n\t\t\t\t\t\t- SchemaLayoutManager.TABLE_PADDING * 2\n\t\t\t\t\t\t- ((Integer) this.rowSpacings.get(rowNum)).intValue();\n\n\t\t\t\t// Layout each component in the row.\n\t\t\t\tfor (final Iterator<Component> i = ((List<Component>) this.rows.get(rowNum))\n\t\t\t\t\t\t.iterator(); i.hasNext();) {\n\t\t\t\t\tfinal Component comp = (Component) i.next();\n\t\t\t\t\tfinal Dimension prefSize = this.prefSizes.get(comp);\n\t\t\t\t\tfinal int compSpacing = ((SchemaLayoutConstraint) this.constraints\n\t\t\t\t\t\t\t.get(comp)).getRelCount()\n\t\t\t\t\t\t\t* SchemaLayoutManager.RELATION_SPACING;\n\t\t\t\t\tx += compSpacing;\n\t\t\t\t\tcomp.setBounds(x, y - prefSize.height, prefSize.width,\n\t\t\t\t\t\t\tprefSize.height);\n\t\t\t\t\tcomp.validate();\n\t\t\t\t\tx += prefSize.width + SchemaLayoutManager.TABLE_PADDING * 2\n\t\t\t\t\t\t\t+ compSpacing;\n\t\t\t\t}\n\t\t\t\tnextY += ((Integer) this.rowHeights.get(rowNum)).intValue();\n\t\t\t}\n\n\t\t\t// Work out how the relations are going to join things up.\n\t\t\tfor (final Iterator<RelationComponent> i = this.relations.iterator(); i.hasNext();) {\n\t\t\t\tfinal RelationComponent comp = (RelationComponent) i.next();\n\t\t\t\t// Obtain first key and work out position relative to\n\t\t\t\t// diagram.\n\t\t\t\tint firstRowNum = 0;\n\t\t\t\tif (this.rowHeights.size()==0)\n\t\t\t\t\tcontinue;\n\t\t\t\tint firstRowBottom = ((Integer) this.rowHeights\n\t\t\t\t\t\t.get(firstRowNum)).intValue();\n\t\t\t\tfinal KeyComponent firstKey = comp.getFirstKeyComponent();\n\t\t\t\tif (firstKey == null)\n\t\t\t\t\tcontinue;\n\t\t\t\tRectangle firstKeyRectangle = firstKey.getBounds();\n\t\t\t\tint firstKeyInsetX = firstKeyRectangle.x;\n\t\t\t\tfirstKeyRectangle = SwingUtilities.convertRectangle(firstKey\n\t\t\t\t\t\t.getParent(), firstKeyRectangle, parent);\n\t\t\t\tif (firstKey.getParent() == null || !firstKey.getParent().isValid()) \n\t\t\t\t\tcontinue;\n\t\t\t\twhile (firstKeyRectangle.y >= firstRowBottom\n\t\t\t\t\t\t&& firstRowNum < this.rows.size() - 1)\n\t\t\t\t\tfirstRowBottom += ((Integer) this.rowHeights\n\t\t\t\t\t\t\t.get(++firstRowNum)).intValue();\n\n\t\t\t\t// Do the same for the second key.\n\t\t\t\tint secondRowNum = 0;\n\t\t\t\tif (this.rowHeights.size()==0)\n\t\t\t\t\tcontinue;\n\t\t\t\tint secondRowBottom = ((Integer) this.rowHeights\n\t\t\t\t\t\t.get(secondRowNum)).intValue();\n\t\t\t\tfinal KeyComponent secondKey = comp.getSecondKeyComponent();\n\t\t\t\tif (secondKey == null)\n\t\t\t\t\tcontinue;\n\t\t\t\tRectangle secondKeyRectangle = secondKey.getBounds();\n\t\t\t\tint secondKeyInsetX = secondKeyRectangle.x;\n\t\t\t\tsecondKeyRectangle = SwingUtilities.convertRectangle(secondKey\n\t\t\t\t\t\t.getParent(), secondKeyRectangle, parent);\n\t\t\t\tif (secondKey.getParent() == null || !secondKey.getParent().isValid()) \n\t\t\t\t\tcontinue;\n\t\t\t\twhile (secondKeyRectangle.y >= secondRowBottom\n\t\t\t\t\t\t&& secondRowNum < this.rows.size() - 1)\n\t\t\t\t\tsecondRowBottom += ((Integer) this.rowHeights\n\t\t\t\t\t\t\t.get(++secondRowNum)).intValue();\n\n\t\t\t\t// Work out left/right most.\n\t\t\t\tfinal Rectangle leftKeyRectangle = firstKeyRectangle.x <= secondKeyRectangle.x ? firstKeyRectangle\n\t\t\t\t\t\t: secondKeyRectangle;\n\t\t\t\tfinal Rectangle rightKeyRectangle = firstKeyRectangle.x > secondKeyRectangle.x ? firstKeyRectangle\n\t\t\t\t\t\t: secondKeyRectangle;\n\t\t\t\tfinal int leftKeyInsetX = leftKeyRectangle == firstKeyRectangle ? firstKeyInsetX\n\t\t\t\t\t\t: secondKeyInsetX;\n\t\t\t\tfinal int rightKeyInsetX = rightKeyRectangle == firstKeyRectangle ? firstKeyInsetX\n\t\t\t\t\t\t: secondKeyInsetX;\n\n\t\t\t\t// Work out Y coord for top of relation.\n\t\t\t\tfinal int relTopY = (int) Math.min(leftKeyRectangle\n\t\t\t\t\t\t.getCenterY(), rightKeyRectangle.getCenterY());\n\t\t\t\tint relBottomY, relLeftX, relRightX;\n\t\t\t\tint leftX, rightX, leftY, rightY, viaX, viaY;\n\t\t\t\tint leftTagX, rightTagX;\n\n\t\t\t\t// Both at same X location?\n\t\t\t\tif (Math.abs(firstKeyRectangle.x - secondKeyRectangle.x) < 100) {\n\t\t\t\t\trelBottomY = (int) Math.max(leftKeyRectangle.getCenterY(),\n\t\t\t\t\t\t\trightKeyRectangle.getCenterY());\n\t\t\t\t\trelLeftX = leftKeyRectangle.x\n\t\t\t\t\t\t\t- SchemaLayoutManager.TABLE_PADDING;\n\t\t\t\t\trelRightX = rightKeyRectangle.x;\n\n\t\t\t\t\tleftX = leftKeyRectangle.x - leftKeyInsetX;\n\t\t\t\t\tleftTagX = leftX - SchemaLayoutManager.RELATION_SPACING;\n\t\t\t\t\tleftY = (int) leftKeyRectangle.getCenterY();\n\t\t\t\t\trightX = rightKeyRectangle.x - rightKeyInsetX;\n\t\t\t\t\trightTagX = rightX - SchemaLayoutManager.RELATION_SPACING;\n\t\t\t\t\trightY = (int) rightKeyRectangle.getCenterY();\n\t\t\t\t\tviaX = leftX - SchemaLayoutManager.TABLE_PADDING * 2;\n\t\t\t\t\tviaY = (leftY + rightY) / 2;\n\t\t\t\t} else {\n\t\t\t\t\trelRightX = (int) Math.max(leftKeyRectangle.getMaxX(),\n\t\t\t\t\t\t\trightKeyRectangle.x);\n\t\t\t\t\trelLeftX = (int) Math.min(leftKeyRectangle.getMaxX(),\n\t\t\t\t\t\t\trightKeyRectangle.x);\n\t\t\t\t\trelBottomY = Math.max(firstRowBottom, secondRowBottom);\n\n\t\t\t\t\tleftX = (int) leftKeyRectangle.getMaxX() + leftKeyInsetX;\n\t\t\t\t\tleftTagX = leftX + SchemaLayoutManager.RELATION_SPACING;\n\t\t\t\t\tleftY = (int) leftKeyRectangle.getCenterY();\n\t\t\t\t\trightX = rightKeyRectangle.x - rightKeyInsetX;\n\t\t\t\t\trightTagX = rightX - SchemaLayoutManager.RELATION_SPACING;\n\t\t\t\t\trightY = (int) rightKeyRectangle.getCenterY();\n\t\t\t\t\tviaX = (leftX + rightX) / 2;\n\t\t\t\t\tif (Math.abs(rightX - leftX) < 100)\n\t\t\t\t\t\tviaY = (leftY + rightY) / 2;\n\t\t\t\t\telse if (Math.abs(rightY - leftY) > 100)\n\t\t\t\t\t\tviaY = (relBottomY + relTopY) / 2;\n\t\t\t\t\telse\n\t\t\t\t\t\tviaY = relTopY + (int) ((relBottomY - relTopY) * 1.8);\n\t\t\t\t}\n\n\t\t\t\t// Set overall bounds.\n\t\t\t\tfinal Rectangle bounds = new Rectangle(\n\t\t\t\t\t\t(Math.min(relLeftX, viaX) - SchemaLayoutManager.RELATION_SPACING * 4),\n\t\t\t\t\t\t(Math.min(relTopY, viaY) - SchemaLayoutManager.RELATION_SPACING * 4),\n\t\t\t\t\t\t(Math.abs(Math.max(relRightX, viaX)\n\t\t\t\t\t\t\t\t- Math.min(relLeftX, viaX)) + SchemaLayoutManager.RELATION_SPACING * 8),\n\t\t\t\t\t\t(Math.abs(Math.max(relBottomY, viaY)\n\t\t\t\t\t\t\t\t- Math.min(relTopY, viaY)) + SchemaLayoutManager.RELATION_SPACING * 8));\n\t\t\t\tcomp.setBounds(bounds);\n\n\t\t\t\t// Create a path to describe the relation shape. It\n\t\t\t\t// will have 2 components to it - move, curve.\n\t\t\t\tfinal GeneralPath path = new GeneralPath(\n\t\t\t\t\t\tGeneralPath.WIND_EVEN_ODD, 4);\n\n\t\t\t\t// Move to starting point at primary key.\n\t\t\t\tpath.moveTo(leftX - bounds.x, leftY - bounds.y);\n\n\t\t\t\t// Left tag.\n\t\t\t\tpath.lineTo(leftTagX - bounds.x, leftY - bounds.y);\n\n\t\t\t\t// Draw from the first key midpoint across to the vertical\n\t\t\t\t// track.\n\t\t\t\tpath.quadTo(viaX - bounds.x, viaY - bounds.y, rightTagX\n\t\t\t\t\t\t- bounds.x, rightY - bounds.y);\n\n\t\t\t\t// Right tag.\n\t\t\t\tpath.lineTo(rightX - bounds.x, rightY - bounds.y);\n\n\t\t\t\t// Set the shape.\n\t\t\t\tcomp.setLineShape(path);\n\t\t\t}\n\t\t}\n\t}", "@Override\n\t\tpublic void layout (final int l, final int t, final int r, final int b) {\n\t\t}", "private void setLayout() {\n int orientation = getResources().getConfiguration().orientation;\n // if the orientation is Portrait\n if (orientation == Configuration.ORIENTATION_PORTRAIT) {\n if (!webViewFragment.isAdded()) {\n mLandmarkLayout.setLayoutParams(new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT));\n mWebPageLayout.setLayoutParams(new LinearLayout.LayoutParams(0, MATCH_PARENT));\n } else {\n mLandmarkLayout.setLayoutParams(new LinearLayout.LayoutParams(0, MATCH_PARENT, 0f));\n mWebPageLayout.setLayoutParams(new LinearLayout.LayoutParams(0, MATCH_PARENT, 3f));\n\n }\n }\n else { // if the orientation is Landscape\n if (!webViewFragment.isAdded()) {\n\n mLandmarkLayout.setLayoutParams(new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT));\n mWebPageLayout.setLayoutParams(new LinearLayout.LayoutParams(0, MATCH_PARENT));\n } else {\n // Make the LandmarkLayout take 1/3 of the layout's width\n mLandmarkLayout.setLayoutParams(new LinearLayout.LayoutParams(0,\n MATCH_PARENT, 1f));\n // Make the WebPageLayout take 2/3's of the layout's width\n mWebPageLayout.setLayoutParams(new LinearLayout.LayoutParams(0,\n MATCH_PARENT, 2f));\n }\n }\n }", "public void setParent(HtmlMap<T> parent)\n\t{\n\t\tthis.m_parent = parent;\n\t}", "protected @Override void updateLayout(DocumentEvent.ElementChange ec, DocumentEvent e, Shape a) {\n \n //super.updateLayout(ec, e, a);\n }", "protected void setParent(ILanguageElement parent) {\r\n this.parent = parent;\r\n }", "protected final void setLayouting(final boolean isLayouting) {\n this.isLayouting = isLayouting;\n }", "private void setShape(ChamberShape theShape) {\n mySize = theShape;\n createDoorsFromExits();\n }", "@Override\r\n\tint setLayout() {\n\t\treturn R.layout.product_bigimg;\r\n\t}", "public void setSlot(@NotNull Slot slot) {\r\n this.slot = slot;\r\n\r\n //the length should be the length of the parent container, but we don't have that, so just use one\r\n this.x = slot.getX(1);\r\n this.y = slot.getY(1);\r\n }", "public void setParent(View parent) {\n throw new Error(\"Can't set parent on root view\");\n }", "private void setLayout(ColumnInfo[] layout)\n\t{\n\t\tthis.m_layout = layout;\n\t\tgetModel().setNoColumns(m_layout.length);\n\n\t\treturn;\n\t}", "void setDimension(double width, double height);", "public void configure(T aView) { aView.setPrefSize(110,20); }", "public void setParent(int id);", "public void setParent(ASPMSyntaxElement parent) {\n\t\tassert this.parent == null;\n\t\tthis.parent = parent;\n\t}", "private void setParent(Node<T> parent) {\n this.parent = parent;\n }", "public abstract void doLayout();", "public void setParameters(IfcGloballyUniqueId GlobalId, IfcOwnerHistory OwnerHistory, IfcLabel Name, IfcText Description, IfcPositiveLengthMeasure LiningDepth, IfcPositiveLengthMeasure LiningThickness, IfcPositiveLengthMeasure ThresholdDepth, IfcPositiveLengthMeasure ThresholdThickness, IfcPositiveLengthMeasure TransomThickness, IfcLengthMeasure TransomOffset, IfcLengthMeasure LiningOffset, IfcLengthMeasure ThresholdOffset, IfcPositiveLengthMeasure CasingThickness, IfcPositiveLengthMeasure CasingDepth, IfcShapeAspect ShapeAspectStyle)\n\t{\n\t\tthis.GlobalId = GlobalId;\n\t\tthis.OwnerHistory = OwnerHistory;\n\t\tthis.Name = Name;\n\t\tthis.Description = Description;\n\t\tthis.LiningDepth = LiningDepth;\n\t\tthis.LiningThickness = LiningThickness;\n\t\tthis.ThresholdDepth = ThresholdDepth;\n\t\tthis.ThresholdThickness = ThresholdThickness;\n\t\tthis.TransomThickness = TransomThickness;\n\t\tthis.TransomOffset = TransomOffset;\n\t\tthis.LiningOffset = LiningOffset;\n\t\tthis.ThresholdOffset = ThresholdOffset;\n\t\tthis.CasingThickness = CasingThickness;\n\t\tthis.CasingDepth = CasingDepth;\n\t\tthis.ShapeAspectStyle = ShapeAspectStyle;\n\t\tresolveInverses();\n\t}", "public void initializePackageContents() {\r\n if (isInitialized) return;\r\n isInitialized = true;\r\n\r\n // Initialize package\r\n setName(eNAME);\r\n setNsPrefix(eNS_PREFIX);\r\n setNsURI(eNS_URI);\r\n\r\n // Obtain other dependent packages\r\n KGraphPackage theKGraphPackage = (KGraphPackage)EPackage.Registry.INSTANCE.getEPackage(KGraphPackage.eNS_URI);\r\n\r\n // Create type parameters\r\n\r\n // Set bounds for type parameters\r\n\r\n // Add supertypes to classes\r\n kShapeLayoutEClass.getESuperTypes().add(this.getKLayoutData());\r\n kEdgeLayoutEClass.getESuperTypes().add(this.getKLayoutData());\r\n kLayoutDataEClass.getESuperTypes().add(theKGraphPackage.getKGraphData());\r\n kIdentifierEClass.getESuperTypes().add(theKGraphPackage.getKGraphData());\r\n\r\n // Initialize classes and features; add operations and parameters\r\n initEClass(kShapeLayoutEClass, KShapeLayout.class, \"KShapeLayout\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n initEAttribute(getKShapeLayout_Xpos(), ecorePackage.getEFloat(), \"xpos\", \"0.0f\", 0, 1, KShapeLayout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEAttribute(getKShapeLayout_Ypos(), ecorePackage.getEFloat(), \"ypos\", \"0.0f\", 0, 1, KShapeLayout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEAttribute(getKShapeLayout_Width(), ecorePackage.getEFloat(), \"width\", \"0.0f\", 0, 1, KShapeLayout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEAttribute(getKShapeLayout_Height(), ecorePackage.getEFloat(), \"height\", \"0.0f\", 0, 1, KShapeLayout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEReference(getKShapeLayout_Insets(), this.getKInsets(), null, \"insets\", null, 0, 1, KShapeLayout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n EOperation op = addEOperation(kShapeLayoutEClass, null, \"setPos\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n addEParameter(op, ecorePackage.getEFloat(), \"x\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n addEParameter(op, ecorePackage.getEFloat(), \"y\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n op = addEOperation(kShapeLayoutEClass, null, \"applyVector\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n addEParameter(op, this.getKVector(), \"pos\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n addEOperation(kShapeLayoutEClass, this.getKVector(), \"createVector\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n op = addEOperation(kShapeLayoutEClass, null, \"setSize\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n addEParameter(op, ecorePackage.getEFloat(), \"width\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n addEParameter(op, ecorePackage.getEFloat(), \"height\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n initEClass(kEdgeLayoutEClass, KEdgeLayout.class, \"KEdgeLayout\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n initEReference(getKEdgeLayout_BendPoints(), this.getKPoint(), null, \"bendPoints\", null, 0, -1, KEdgeLayout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEReference(getKEdgeLayout_SourcePoint(), this.getKPoint(), null, \"sourcePoint\", null, 1, 1, KEdgeLayout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEReference(getKEdgeLayout_TargetPoint(), this.getKPoint(), null, \"targetPoint\", null, 1, 1, KEdgeLayout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n op = addEOperation(kEdgeLayoutEClass, null, \"applyVectorChain\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n addEParameter(op, this.getKVectorChain(), \"points\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n addEOperation(kEdgeLayoutEClass, this.getKVectorChain(), \"createVectorChain\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n initEClass(kLayoutDataEClass, KLayoutData.class, \"KLayoutData\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\r\n addEOperation(kLayoutDataEClass, ecorePackage.getEBoolean(), \"isModified\", 1, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n addEOperation(kLayoutDataEClass, null, \"resetModificationFlag\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n initEClass(kPointEClass, KPoint.class, \"KPoint\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n initEAttribute(getKPoint_X(), ecorePackage.getEFloat(), \"x\", \"0.0f\", 0, 1, KPoint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEAttribute(getKPoint_Y(), ecorePackage.getEFloat(), \"y\", \"0.0f\", 0, 1, KPoint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n op = addEOperation(kPointEClass, null, \"setPos\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n addEParameter(op, ecorePackage.getEFloat(), \"x\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n addEParameter(op, ecorePackage.getEFloat(), \"y\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n op = addEOperation(kPointEClass, null, \"applyVector\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n addEParameter(op, this.getKVector(), \"pos\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n addEOperation(kPointEClass, this.getKVector(), \"createVector\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n initEClass(kInsetsEClass, KInsets.class, \"KInsets\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n initEAttribute(getKInsets_Top(), ecorePackage.getEFloat(), \"top\", null, 0, 1, KInsets.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEAttribute(getKInsets_Bottom(), ecorePackage.getEFloat(), \"bottom\", null, 0, 1, KInsets.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEAttribute(getKInsets_Left(), ecorePackage.getEFloat(), \"left\", null, 0, 1, KInsets.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEAttribute(getKInsets_Right(), ecorePackage.getEFloat(), \"right\", null, 0, 1, KInsets.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n initEClass(kIdentifierEClass, KIdentifier.class, \"KIdentifier\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n initEAttribute(getKIdentifier_Id(), ecorePackage.getEString(), \"id\", null, 1, 1, KIdentifier.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n initEClass(kVectorEClass, KVector.class, \"KVector\", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);\r\n initEAttribute(getKVector_X(), ecorePackage.getEDouble(), \"x\", null, 0, 1, KVector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEAttribute(getKVector_Y(), ecorePackage.getEDouble(), \"y\", null, 0, 1, KVector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n initEClass(kVectorChainEClass, KVectorChain.class, \"KVectorChain\", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);\r\n\r\n // Create resource\r\n createResource(eNS_URI);\r\n }", "public void setPreferredSize( int width, int height ) {\n checkWidget();\n ideal = true;\n Point point = parent.fixPoint( width, height );\n preferredWidth = Math.max( point.x, MINIMUM_WIDTH );\n preferredHeight = point.y;\n }", "@Override\r\n\tpublic void setParent(Tag arg0) {\n\t}", "public void setParent(Glyph parent) {\n this.parent = parent;\n }", "public void layout(final GraphView myView) {\n \t\tif (myView == null || myView.nodeCount() == 0) {\n \t\t\treturn;\n \t\t}\n \n \t\t// Set background clolor\n \t\tif (backgroundColor != null) {\n \t\t\tmyView.setBackgroundPaint(getColor(backgroundColor));\n \t\t}\n \t\t// Layout nodes\n \t\tlayoutNode(myView);\n \n \t\t// Layout edges\n \t\tlayoutEdge(myView);\n \n \t\t// Build Style if needed.\n \t\tif (vsbSwitch != null) {\n \t\t\tif (vsbSwitch.equals(\"on\")) {\n \t\t\t\tVisualStyleBuilder vsb = new VisualStyleBuilder(networkName\n \t\t\t\t\t\t+ \".style\", nodeGraphicsMap, edgeGraphicsMap, null);\n \t\t\t\tvsb.buildStyle();\n \t\t\t}\n \t\t}\n \n \t}", "public abstract void setParent (XMLReader parent);", "public void setShape(ChamberShape theShape) {\n mySize = theShape;\n setExits();\n }", "protected void configureCenter(LayoutOptions parent){\n LayoutOptions childOptions = new LayoutOptions(); \n parent.setChildOptions(childOptions); \n \n // options for center-north pane \n //LayoutOptions north = new LayoutOptions();\n //childOptions.setNorthOptions(north); \n \n createOptions(childOptions, CardinalPoint.CENTER);\n \n // options for center-south pane \n LayoutOptions south = createOptions(childOptions, CardinalPoint.SOUTH);\n setAttribute(south, \"size\", \"34\");\n fixed(south);\n \n //childOptions.setSouthOptions(south);\n \n \n\t}", "public void setParent(RationaleElement parent) {\r\n \t\tif (parent != null) {\r\n \t\t\tthis.parent = parent.getID();\r\n \t\t\tthis.ptype = parent.getElementType();\r\n \t\t}\r\n \t}", "public void setLayoutType(Short layoutType) {\n this.layoutType = layoutType;\n }", "protected void setParent(CodeItem codeItem) {\n this.parent = codeItem;\n }", "public void layoutView()\n\t{\n\t\tthis.setLayout(new GridLayout(2,5));\n\t\tthis.add(expression);\n\t\tthis.add(var);\n\t\tthis.add(start);\n\t\tthis.add(end);\n\t\tthis.add(this.plot);\n\t\tthis.add(InputView.coords);\n\t\tthis.add(this.in);\n\t\tthis.add(this.out);\n\t}" ]
[ "0.65434724", "0.62522364", "0.62019503", "0.59535384", "0.57774234", "0.5686695", "0.5686323", "0.5650624", "0.56457365", "0.5638564", "0.5617783", "0.55626637", "0.5555289", "0.54958385", "0.5480894", "0.5455933", "0.5445717", "0.54372436", "0.5417778", "0.53922194", "0.5364458", "0.5361538", "0.53575265", "0.5342256", "0.5316928", "0.52820915", "0.5268791", "0.52571815", "0.5247713", "0.5209485", "0.5183699", "0.5174762", "0.5171723", "0.5171277", "0.51594007", "0.51479495", "0.51471007", "0.5143215", "0.51368546", "0.5127982", "0.51267993", "0.51240915", "0.5121429", "0.51104456", "0.51061296", "0.51060516", "0.50973064", "0.50928384", "0.5090651", "0.50877386", "0.5086964", "0.5080028", "0.5065081", "0.5063902", "0.50611174", "0.50563926", "0.50522345", "0.50511205", "0.50339353", "0.5030233", "0.5025473", "0.5023314", "0.50192505", "0.5019069", "0.50079525", "0.49897534", "0.49897534", "0.49892583", "0.49810612", "0.4979049", "0.497584", "0.49686676", "0.49683312", "0.49658278", "0.4964368", "0.49636173", "0.4960965", "0.49544716", "0.49494988", "0.49459785", "0.4943346", "0.49414465", "0.49392033", "0.4934212", "0.49333507", "0.4933295", "0.49293143", "0.49199578", "0.4911113", "0.4910294", "0.4908408", "0.49073648", "0.49019423", "0.48941582", "0.4880859", "0.4879816", "0.48746952", "0.48657605", "0.48623255", "0.4860282" ]
0.5270405
26
Returns the autosizing settings as a string with hyphens for struts and tilde for sprints (horiz,vert).
public String getAutosizing() { String li = _layoutInfo instanceof String? (String)_layoutInfo : null; return li!=null && li.length()>6 && (li.charAt(0)=='-' || li.charAt(0)=='~')? li : getAutosizingDefault(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getAutosizingDefault() { return \"--~,--~\"; }", "public String toShEx() {\n return String.format(\"<%s> .{%s, %s} ,\", properties.get(0), minBound, maxBound);\n }", "public String getOptionsAsString() {\n\t\tStringBuilder buf = new StringBuilder();\n\t\tfor (int i = 0; i <propertyKeys.size(); i++) {\n\t\t\tString key = propertyKeys.get(i);\n\t\t\tif (!runtimeKeys.get(i))\n buf.append(key + \" : \" + getOption(key)).append(\"\\r\\n\");\n\t\t}\n\t\tfor (int i = 0; i <propertyKeys.size(); i++) {\n\t\t\tString key = propertyKeys.get(i);\n\t\t\tif (runtimeKeys.get(i))\n buf.append(\"* \" + key + \" : \" + getOption(key)).append(\"\\r\\n\");\n\t\t}\n\t\treturn buf.toString();\n\t}", "public void setAutosizing(String aValue) { setLayoutInfo(aValue); }", "@Override\n public String toString()\n {\n return String.format(\"%s Heat setting:%d Automatic Shutoff:%d\", super.toString(), heat_setting, auto_shutoff);\n }", "protected String readSettings() {\n String output = \"\";\n for (String setting: settings.keySet()) {\n String value = settings.get(setting);\n output += setting + \":\" + value + \"\\n\";\n }\n return output;\n }", "private String getSystemProperties() {\n\t\tStringWriter swriter = new StringWriter();\n\t\tPrintWriter writer = new PrintWriter(swriter);\n\t\twriter.println(\"<html>\");\n\t\twriter.println(\"<head><title>Java Properties</title></head>\");\n\t\twriter.println(\"<body>\");\n\t\twriter.println(\"<pre>\");\n\t\tProperties properties = System.getProperties();\n\t\tproperties.list(writer);\n\t\twriter.println(\"</pre>\");\n\t\twriter.println(\"</body>\");\n\t\twriter.println(\"</html>\");\n\t\twriter.flush();\n\t\treturn swriter.toString();\n\t}", "private String generateConfigurationString() {\n\t\tStringBuilder configuration = new StringBuilder();\n\t\tconfigurationHolder.entrySet().stream().forEach(line -> {\n\t\t\tconfiguration.append(line.getKey()+\"=\"+line.getValue()+\"\\n\");\n\t\t});\n\t\treturn configuration.toString();\n\t}", "public String toCSS(){\n return new StringBuilder()\n .append(\"display:\")\n .append(this.toString().replace(\"_\", \"-\"))\n .append(\";\").toString();\n }", "public String toString()\n\t{\n\t\treturn String.format(Locale.getDefault(), \"{Width:%1$ Height:%2$ Format:%3$ AspectRatio:%4$}\", new Object[] { this._width, this._height, this._format, this.getAspectRatio() });\n\t}", "String getPreviewSizePref();", "String getMiscModesString();", "public String getSettings();", "public String displaySystemProperties()\n\t{\n\t\tString displaySystemInfo = \"\";\n\t\tString yourOS = \"\";\n\t\t\n\t\t//Positive\n\t\t//For TestingOnly - By Default, the below line is commented\n\t\t//if (java.lang.System.getProperty(\"os.name\").equalsIgnoreCase(\"Mac OS X\")){\t\n\t\n\t\tif (java.lang.System.getProperty(\"os.name\").equalsIgnoreCase(\"Windows 10\")){\n\t\t\t\n\t\t\tyourOS = \"Positive - Be Awesome. Run on Windows\";\n\t\t\t\n\t\t}\n\t\t\n\t\t//Negative\n\t\t//For Testing - By Default, the below line is commented\n\t\t//else if (java.lang.System.getProperty(\"os.name\").equalsIgnoreCase(\"Mac OS X\")){\n\t\t\n\t\telse if (java.lang.System.getProperty(\"os.name\").equalsIgnoreCase(\"Linux\")){\n\t\t\tyourOS = \"Negative - Linux\";\n\t\t}\n\t\t\n\t\t//Neutral\n\t\telse {\n\t\t\tyourOS = \"Neutral - You've got a decent OS here\";\n\t\t}\n\t\t\n\t\tdisplaySystemInfo = \"Operating System Architecture\\t=>\\t\" + java.lang.System.getProperty(\"os.arch\") +\n\t\t\t\t \"\\nOperating System Name\\t\\t=>\\t\" + java.lang.System.getProperty(\"os.name\") +\n\t\t\t\t \"\\nOperating System Version\\t=>\\t\" + java.lang.System.getProperty(\"os.version\") +\n\t\t\t\t \"\\nUser Account Name\\t\\t=>\\t\" + java.lang.System.getProperty(\"user.name\") +\n\t\t\t\t \"\\nJava Version\\t\\t\\t=>\\t\" + java.lang.System.getProperty(\"java.version\") +\n\t\t\t\t \"\\n\" + yourOS;\n\t\t\n\t\t\n\t\treturn displaySystemInfo;\n\t\t\n\t}", "@Override\n\tpublic String getSaveString() {\n\t\tString save = \"Absorber \"+this.name+\" \"+this.x/GameBoard.PixelsPerL+\" \"+this.y/GameBoard.PixelsPerL+\" \"+this.width+\" \"+this.height;\n\t\treturn save;\n\t}", "private static String formatProperties(Set<Property> objectProperties) {\n\t\tif (objectProperties != null && !objectProperties.isEmpty()) {\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\t\n\t\t\tfor (Property property : objectProperties) {\n\t\t\t\tsb.append(':').append(escape(property.getName(), \"=;:\")).append(\"=\").append(escape(property.getValue(), \"=;:\"));\n\t\t\t}\n\n\t\t\treturn sb.substring(1);\n\t\t}\n\t\telse {\n\t\t\treturn \"\";\n\t\t}\n\t}", "public String fullwidth() {\n return this.fullwidth;\n }", "@Override\r\n protected void saveStrings() {\r\n \r\n settings.setProperty(\"mfile\" , mfile);\r\n settings.setProperty( \"rmode\", rmode);\r\n settings.setProperty( \"cmap\" , cmap );\r\n settings.setProperty(\"cmapMin\", Double.toString( cmapMin ) ); \r\n settings.setProperty(\"cmapMax\", Double.toString( cmapMax ) ); \r\n \r\n }", "private SizeModifierSettingsEditor() {\n\t\tinitComponents();\n\t\tsettings = SizeModifierSettings.getInstance();\n\t\tloadSettings();\n\t\tmainShell.pack();\n\t\tmainShell.setBounds(\n\t\t\tCrunch3.mainWindow.getShell().getBounds().x + Crunch3.mainWindow.getShell().getBounds().width / 2 - mainShell.getBounds().width / 2,\n\t\t\tCrunch3.mainWindow.getShell().getBounds().y + Crunch3.mainWindow.getShell().getBounds().height / 2 - mainShell.getBounds().height / 2,\n\t\t\tmainShell.getBounds().width,\n\t\t\tmainShell.getBounds().height);\n\t\tmainShell.open();\n\t}", "public String configString() {\n \n String boardConfig = \"\";\n // adds each element in the array to the string with a space in between\n // condition is numPiles - 1 so last element does not print with a space afterwards\n \n for (int i = 0; i < numPiles - 1; i++){\n boardConfig += piles[i] + \" \";\n }\n boardConfig += piles[numPiles - 1] + \" \";\n \n //check if valid board still\n assert isValidSolitaireBoard();\n \n //return the current board configuration string\n return boardConfig;\n }", "protected String sizeString()\n {\n return (\" (\" + map.getSizeX() + \" x \" + map.getSizeY() + \")\");\n }", "public String getTransitionModesString() {\r\n\t\tString s = \"\";\r\n\t\tfor (TransitionMode mode : transitionModes) {\r\n\t\t\ts = s.concat(mode.getName() + \"; \");\r\n\t\t}\r\n\t\treturn s;\r\n\t}", "public int getPreferredOptionsPanelGravity() {\n int rotation = getRotation();\n if (this.mInitialDisplayWidth < this.mInitialDisplayHeight) {\n if (rotation != 1) {\n return (rotation == 2 || rotation != 3) ? 81 : 8388691;\n }\n return 85;\n } else if (rotation == 1) {\n return 81;\n } else {\n if (rotation != 2) {\n return rotation != 3 ? 85 : 81;\n }\n return 8388691;\n }\n }", "public void getScrewsPerPanel() {\n String s = sharedPref.getString(context.getString(R.string.screws_per_panel_key), \"\");\n }", "public String getFxSettings() {\r\n return \"{}\";\r\n }", "public String getDefaultStyleString() {\n/* 552 */ return getCOSObject().getString(COSName.DS);\n/* */ }", "private static String getConfigFile() {\n\n final String sPath = getUserFolder();\n\n return sPath + File.separator + \"sextante.settings\";\n\n }", "public String produceHelpMessage() {\n\t\t// first calculate how much space is necessary for the options\n\t\tint maxlen = 0;\n\t\tfor (OptionContainer oc : options) {\n\t\t\tfinal String shorta = oc.getShort();\n\t\t\tfinal String longa = oc.getLong();\n\t\t\tint len = 0;\n\t\t\tif (shorta != null)\n\t\t\t\tlen += shorta.length() + 1 + 1;\n\t\t\tif (longa != null)\n\t\t\t\tlen += longa.length() + 1 + (longa.charAt(0) == 'X' ? 0 : 1) + 1;\n\t\t\t// yes, we don't care about branch mispredictions here ;)\n\t\t\tif (maxlen < len)\n\t\t\t\tmaxlen = len;\n\t\t}\n\n\t\t// get the individual strings\n\t\tfinal StringBuilder ret = new StringBuilder();\n\t\tfor (OptionContainer oc : options) {\n\t\t\tret.append(produceHelpMessage(oc, maxlen));\n\t\t}\n\n\t\treturn ret.toString();\n\t}", "public String showSmallMenuOptions(){\n stringBuilder = new StringBuilder();\n menuLoader = new MenuLoader();\n int counter = 0;\n for (String key: menuLoader.getSmallMenu().keySet()) {\n counter++;\n stringBuilder.append(\" '\" + key + \"',\");\n if (counter%10 == 0){\n stringBuilder.append(\"\\n\");\n }\n }\n return stringBuilder.toString();\n }", "public static String toPropertyStyle(String s)\r\n {\r\n if (isEmpty(s))\r\n return s;\r\n\r\n StringBuffer buf = new StringBuffer();\r\n buf.append(Character.toLowerCase(s.charAt(0)));\r\n boolean uppercase = false;\r\n for (int i = 1; i < s.length(); i++)\r\n {\r\n char c = s.charAt(i);\r\n if (c == '_')\r\n {\r\n uppercase = true;\r\n }\r\n else\r\n {\r\n buf.append(uppercase ? Character.toUpperCase(c) : Character.toLowerCase(c));\r\n uppercase = false;\r\n }\r\n }\r\n return buf.toString();\r\n }", "public String getDefaultAppearanceString()\r\n {\r\n return ((COSString)option.getObject( 1 ) ).getString();\r\n }", "public static String genFormatString(List<Integer> stringLengths) {\n StringBuilder fsb = new StringBuilder();\n stringLengths.forEach(length -> {\n fsb.append(\"%-\");\n fsb.append(length);\n fsb.append(\"s\");\n });\n return fsb.toString();\n }", "public String propertiesToNginx() {\n\t\tStringBuilder builder = new StringBuilder(\"\");\n\t\tfor (Iterator<Entry<String, String>> iterator = getProperties().entrySet().iterator(); iterator.hasNext();) {\n\t\t\tMap.Entry<String, String> prop = (Map.Entry<String, String>) iterator.next();\n\n\t\t\tString key = prop.getKey();\n\t\t\tString value = prop.getValue();\n\t\t\tif (key != null) {\n\t\t\t\tbuilder.append(key + \" \" + (value == null ? \"\" : value) +\n\t\t\t\t Constants.NGINX_LINE_DELIMITER + \"\\n\");\n\t\t\t}\n\n\t\t}\n\n\t\treturn builder.toString();\n\t}", "private void appendKeyGeneratorSettings() {\n Label keyGeneratorSettings = new Label(Localization.lang(\"Key generator settings\"));\n keyGeneratorSettings.getStyleClass().add(\"sectionHeader\");\n builder.add(keyGeneratorSettings, 1, 10);\n builder.add(autoGenerateOnImport, 1, 11);\n builder.add(letterStartA, 2, 11);\n builder.add(warnBeforeOverwriting, 1, 12);\n builder.add(letterStartB, 2, 12);\n builder.add(dontOverwrite, 1, 13);\n builder.add(alwaysAddLetter, 2, 13);\n builder.add(generateOnSave, 1, 14);\n\n builder.add((new Label(Localization.lang(\"Replace (regular expression)\") + ':')), 1, 15);\n builder.add(new Label(Localization.lang(\"by\") + ':'), 2, 15);\n\n builder.add(keyPatternRegex, 1, 16);\n builder.add(keyPatternReplacement, 2, 16);\n\n dontOverwrite.setOnAction(e ->\n // Warning before overwriting is only relevant if overwriting can happen:\n warnBeforeOverwriting.setDisable(dontOverwrite.isSelected()));\n }", "@Override\n public String getTitleString()\n {\n int capsState;\n\n int state = softBoardData.layoutStates.metaStates[LayoutStates.META_CAPS].getState();\n if ( state == CapsState.META_OFF )\n {\n capsState = 0;\n }\n else if ( state == CapsState.META_LOCK )\n {\n capsState = 2;\n }\n else if ( state == CapsState.AUTOCAPS_ON && !softBoardData.autoFuncEnabled )\n {\n capsState = 0;\n }\n else // state == IN_TOUCH || META_ON || AUTOCAPS_ON with enabled autoFunc\n {\n capsState = stringCaps ? 2 : 1;\n }\n\n switch ( capsState )\n {\n case 0:\n return getString();\n\n case 1:\n return StringUtils.toUpperOnlyFirst( getString(), softBoardData.locale );\n\n default: // case 2:\n return getString().toUpperCase( softBoardData.locale );\n }\n\n }", "public String determineAccessibilityPaneTitle() {\n C0940QS qs = this.mQs;\n if (qs != null && qs.isCustomizing()) {\n return this.mResources.getString(C2017R$string.accessibility_desc_quick_settings_edit);\n }\n if (this.mQsExpansionHeight != 0.0f && this.mQsFullyExpanded) {\n return this.mResources.getString(C2017R$string.accessibility_desc_quick_settings);\n }\n if (this.mBarState == 1) {\n return this.mResources.getString(C2017R$string.accessibility_desc_lock_screen);\n }\n return this.mResources.getString(C2017R$string.accessibility_desc_notification_shade);\n }", "public String toCmdLine() {\n\t\tif( Utils.isEmpty(value) ) {\n\t\t\treturn prefix + name;\n\t\t}\n\t\t\n\t\t/*\n\t\t * check \n\t\t */\n\t\tStringBuilder result = new StringBuilder();\n\t\tfor( String v : getAll() ) {\n\t\t\tif( result.length()>0 ) result.append(\" \");\n\t\t\tresult\n\t\t\t\t.append(prefix) \n\t\t\t\t.append(name)\n\t\t\t\t.append(separator)\n\t\t\t\t.append(v);\n\t\t}\n\t\t\n\t\treturn result.toString();\n\t}", "public static void getConfig(){\n\t\tSystem.out.println(\"Name = \" + name);\n\t\tSystem.out.println(\"PrepositionLength = \" + prepositionLength);\n\t\tSystem.out.println(\"PrepositionDelay = \" + prepositionDelay );\n\t\tSystem.out.println(\"Strings = \" + setOfStrings.length);\n\t\tfor(int i = 0; i < setOfStrings.length; i++){\n\t\t\tSystem.out.println(\"LowNote = \" + setOfStrings[i].lowNote);\n\t\t\tSystem.out.println(\"HighNote = \" + setOfStrings[i].highNote);\n\t\t\tString output = \"\";\n\t\t\tfor(int j = 0; j < setOfStrings[i].interval.length;j++){\n\n\t\t\t\toutput += setOfStrings[i].interval[j] + \",\";\n\t\t\t}\n\t\t\tSystem.out.println(output);\n\t\t}\n\t}", "public String getCurrentConfigValueTruncatedEscaped() {\r\n return currentConfigValueTruncatedEscaped;\r\n }", "protected String getSettingsDialogTitle() {\r\n return \"Server options\";\r\n }", "public synchronized static Settings getSettings() {\n \tif (settings==null) {\n \t\tHashMap<String, String> def = new HashMap<>();\n \t\tdef.put(Settings.Keys.align.toString(), \"center_inner\");\n \t\tsettings = new Settings(\"/DotifyStudio/prefs_v\"+PREFS_VERSION, def);\n \t}\n \treturn settings;\n }", "public int getAutoSize() {\n return option >> 1 & 3;\n }", "public static String humanize (long size)\n {\n\n long b = 1;\n long Kb = b * 1024;\n long Mb = Kb * 1024;\n long Gb = Mb * 1024;\n long Tb = Gb * 1024;\n long Pb = Tb * 1024;\n long Eb = Pb * 1024;\n\n if (size < Kb) return format2( size ) + \" byte\";\n if (size >= Kb && size < Mb) return format2((double)size / Kb) + \" Kb\";\n if (size >= Mb && size < Gb) return format2((double)size / Mb) + \" Mb\";\n if (size >= Gb && size < Tb) return format2((double)size / Gb) + \" Gb\";\n if (size >= Tb && size < Pb) return format2((double)size / Tb) + \" Tb\";\n if (size >= Pb && size < Eb) return format2((double)size / Pb) + \" Pb\";\n if (size >= Eb) return format2((double)size / Eb) + \" Eb\";\n\n return \"???\";\n }", "public String toString() {\n\t\tif(scale=='K'||scale=='k'){\r\n\t\t\treturn String.format(\"%.2f %s\"+\"ilograms\", wValue, scale);\r\n\t\t} else {\r\n\t\t\tscale=Character.toUpperCase(scale);\r\n\t\t\treturn String.format(\"%.2f %s\"+\"ounds\", wValue, scale);\r\n\t\t}\r\n\t}", "public String halfwidth() {\n return this.halfwidth;\n }", "public static String makeDimensionsString(List<Dimension> dimensions) {\n if (dimensions == null)\n return \"\";\n\n Formatter buf = new Formatter();\n for (int i = 0; i < dimensions.size(); i++) {\n Dimension myd = dimensions.get(i);\n String dimName = myd.getShortName();\n\n if (i != 0)\n buf.format(\" \");\n\n if (myd.isVariableLength()) {\n buf.format(\"*\");\n } else if (myd.isShared()) {\n buf.format(\"%s\", dimName);\n } else {\n // if (dimName != null) // LOOK losing anon dim name\n // buf.format(\"%s=\", dimName);\n buf.format(\"%d\", myd.getLength());\n }\n }\n return buf.toString();\n }", "public int getSwitchTextSize(){\n return switchTextSize;\n }", "public String getConfig () { \n StringBuffer ar_sb = new StringBuffer();\n if (active_relationships.size() > 0) {\n ar_sb.append(Utils.encToURL(active_relationships.get(0)));\n for (int i=1;i<active_relationships.size();i++) ar_sb.append(\",\" + Utils.encToURL(active_relationships.get(i)));\n }\n\n return \"RTGraphPanel\" + BundlesDT.DELIM +\n \"nodesize=\" + Utils.encToURL(nodeSize()) + BundlesDT.DELIM +\n \"nodecolor=\" + Utils.encToURL(nodeColor()) + BundlesDT.DELIM +\n\t \"linksize=\" + Utils.encToURL(linkSize()) + BundlesDT.DELIM +\n\t \"linkcolor=\" + Utils.encToURL(linkColor()) + BundlesDT.DELIM +\n\t \"linkcurves=\" + Utils.encToURL(\"\" + linkCurves()) + BundlesDT.DELIM +\n\t \"linktrans=\" + Utils.encToURL(\"\" + linksTransparent()) + BundlesDT.DELIM +\n\t \"arrows=\" + Utils.encToURL(\"\" + drawArrows()) + BundlesDT.DELIM +\n\t \"timing=\" + Utils.encToURL(\"\" + drawTiming()) + BundlesDT.DELIM +\n\t \"strict=\" + Utils.encToURL(\"\" + strictMatches()) + BundlesDT.DELIM +\n\t \"dynlabels=\" + Utils.encToURL(\"\" + dynamicLabels()) + BundlesDT.DELIM +\n\t \"nodelabels=\" + Utils.encToURL(\"\" + nodeLabels()) + BundlesDT.DELIM +\n\t \"linklabels=\" + Utils.encToURL(\"\" + linkLabels()) + BundlesDT.DELIM +\n\t \"nlabels=\" + commaDelimited(nodeLabelsArray()) + BundlesDT.DELIM +\n\t \"clabels=\" + commaDelimited(colorLabelsArray()) + BundlesDT.DELIM +\n\t \"llabels=\" + commaDelimited(linkLabelsArray()) +\n\t (ar_sb.length() > 0 ? BundlesDT.DELIM + \"relates=\" + ar_sb.toString() : \"\");\n }", "public int getAutoScaleStatus() {\n return autoScaleStatus;\n }", "public ReactorResult<java.lang.String> getAllEncodingSettings_as() {\r\n\t\treturn Base.getAll_as(this.model, this.getResource(), ENCODINGSETTINGS, java.lang.String.class);\r\n\t}", "private String descFormat() {\n File f = cfg.getReadFromFile();\n if (f != null) {\n return f.getPath();\n }\n return StringUtils.defaultString(cfg.getName(), \"(unnamed)\");\n }", "public String toOutputString()\n\t{\n\t\tStringBuffer buf = new StringBuffer();\n\t\tfor (Entry<Object, Object> entry : this.entrySet())\n\t\t\tbuf.append(String.format(\"%s=%s%c\",\n\t\t\t\t\tentry.getKey(), entry.getValue(), 12));\n\t\treturn buf.toString();\n\t}", "protected static void getSettingsFromFile(){\n\t\t Properties properties = new Properties();\r\n\t\t try {\r\n\t\t\t try {\r\n\t\t\t\t FileInputStream fi = new FileInputStream(MT4jSettings.getInstance().getDefaultSettingsPath() + \"Settings.txt\");\r\n\t\t\t\t properties.load(fi);\t\r\n\t\t\t} catch (FileNotFoundException e) {\r\n\t\t\t\tlogger.debug(\"Couldnt load Settings.txt from the File system. Trying to load it as a resource..\");\r\n\t\t\t\tInputStream in = Thread.currentThread().getContextClassLoader().getResourceAsStream(\"Settings.txt\");\r\n\t\t\t\t if (in != null){\r\n\t\t\t\t\t properties.load(in);\t\r\n\t\t\t\t }else{\r\n\t\t\t\t\t logger.debug(\"Couldnt load Settings.txt as a resource. Using defaults.\");\r\n\t\t\t\t\t throw new FileNotFoundException(\"Couldnt load Settings.txt as a resource\");\r\n\t\t\t\t }\r\n\t\t\t}\r\n\t\r\n\t\t\t MT4jSettings.fullscreen = Boolean.parseBoolean(properties.getProperty(\"Fullscreen\", Boolean.valueOf(MT4jSettings.getInstance().isFullscreen()).toString()).trim());\r\n\t\t\t //Use java's fullscreen exclusive mode (real fullscreen) or just use an undecorated window at fullscreen size \r\n\t\t\t MT4jSettings.getInstance().fullscreenExclusive = Boolean.parseBoolean(properties.getProperty(\"FullscreenExclusive\", Boolean.valueOf(MT4jSettings.getInstance().isFullscreenExclusive()).toString()).trim());\r\n\t\t\t //Which display to use for fullscreen\r\n\t\t\t MT4jSettings.getInstance().display = Integer.parseInt(properties.getProperty(\"Display\", String.valueOf(MT4jSettings.getInstance().getDisplay())).trim());\r\n\t\r\n\t\t\t MT4jSettings.getInstance().windowWidth = Integer.parseInt(properties.getProperty(\"DisplayWidth\", String.valueOf(MT4jSettings.getInstance().getWindowWidth())).trim());\r\n\t\t\t MT4jSettings.getInstance().windowHeight = Integer.parseInt(properties.getProperty(\"DisplayHeight\", String.valueOf(MT4jSettings.getInstance().getWindowHeight())).trim());\r\n\t\t\t \r\n\t\t\t //FIXME at fullscreen really use the screen dimension? -> we need to set the native resoultion ourselves!\r\n\t\t\t //so we can have a lower fullscreen resolution than the screen dimensions\r\n\t\t\t if (MT4jSettings.getInstance().isFullscreen() && !MT4jSettings.getInstance().isFullscreenExclusive()){\r\n\t\t\t\t Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();\r\n\t\t\t\t MT4jSettings.getInstance().windowWidth = screenSize.width;\r\n\t\t\t\t MT4jSettings.getInstance().windowHeight = screenSize.height;\r\n\t\t\t }\r\n\t\t\t /*\r\n\t\t\t //Comment this to not change the window width to the screen width in fullscreen mode\r\n\t\t\t else{\r\n\t\t\t\t \r\n\t\t\t }\r\n\t\t\t */\r\n\t\t\t \r\n\t\t\t MT4jSettings.getInstance().maxFrameRate = Integer.parseInt(properties.getProperty(\"MaximumFrameRate\", String.valueOf(MT4jSettings.getInstance().getMaxFrameRate())).trim());\r\n\t\t\t MT4jSettings.getInstance().renderer = Integer.parseInt(properties.getProperty(\"Renderer\", String.valueOf(MT4jSettings.getInstance().getRendererMode())).trim());\r\n\t\t\t MT4jSettings.getInstance().numSamples = Integer.parseInt(properties.getProperty(\"OpenGLAntialiasing\", String.valueOf(MT4jSettings.getInstance().getNumSamples())).trim());\r\n\t\r\n\t\t\t MT4jSettings.getInstance().vSync = Boolean.parseBoolean(properties.getProperty(\"Vertical_sync\", Boolean.valueOf(MT4jSettings.getInstance().isVerticalSynchronization()).toString()).trim());\r\n\t\r\n\t\t\t //Set frametitle\r\n\t\t\t String frameTitle = properties.getProperty(\"Frametitle\", MT4jSettings.getInstance().getFrameTitle().trim());\r\n\t\t\t MT4jSettings.getInstance().frameTitle = frameTitle;\r\n\t\r\n\t\t } catch (Exception e) {\r\n\t\t\t logger.error(\"Error while loading Settings.txt. Using defaults.\");\r\n\t\t }\r\n\t\t settingsLoadedFromFile = true;\r\n\t}", "private static void saveSettings() {\n try {\n File settings = new File(\"settings.txt\");\n FileWriter writer = new FileWriter(settings);\n //Options\n writer.append(defaultSliderPosition + \"\\n\");\n writer.append(isVerticalSplitterPane + \"\\n\");\n writer.append(verboseCompiling + \"\\n\");\n writer.append(warningsEnabled + \"\\n\");\n writer.append(clearOnMethod + \"\\n\");\n writer.append(compileOptions + \"\\n\");\n writer.append(runOptions + \"\\n\");\n //Colors\n for(int i = 0; i < colorScheme.length; i++) \n writer.append(colorScheme[i].getRGB() + \"\\n\");\n writer.append(theme + \"\\n\");\n\n writer.close(); \n } catch (IOException i) {\n println(\"IO exception when saving settings.\", progErr);\n }\n }", "default String toShortString() {\n return toString().substring(0, 5);\n }", "java.lang.String getProperties();", "public static String getFormatsPrettyPrint() {\n return formatsPrettyPrint;\n }", "public SettingsSaver() {\n set[0] = advModeUnlocked;\n set[1] = LIM_NOTESPERLINE;\n set[2] = LIM_96_MEASURES;\n set[3] = LIM_VOLUME_LINE;\n set[4] = LIM_LOWA;\n set[5] = LIM_HIGHD;\n set[6] = LOW_A_ON;\n set[7] = NEG_TEMPO_FUN;\n set[8] = LIM_TEMPO_GAPS;\n set[9] = RESIZE_WIN;\n set[10] = ADV_MODE;\n }", "private String getSetting(Alphabet alph,\n Rotor[] machineRotors) {\n String currSetting = \"\";\n for (Rotor r : machineRotors) {\n currSetting += alph.toChar(r.setting());\n }\n return currSetting;\n }", "String getConfigName();", "public String getYwfw() {\n return ywfw;\n }", "@Override\n public String toString() {\n StringBuilder buffer = new StringBuilder();\n if (actualProperties != null) {\n synchronized (propertySyncObject) {\n Enumeration<Object> keys = actualProperties.keys();\n while (keys.hasMoreElements()) {\n String key = (String) keys.nextElement();\n String value = actualProperties.getProperty(key);\n buffer.append(key).append(\": \").append(value).append(\"\\n\");\n }\n }\n }\n return buffer.toString();\n }", "public String getRequestedPropertiesString(boolean sortAlphabetically)\n\t{\n\t\tMap<String, LinkedHashSet<String>> map = requestedProperties;\n\t\tif (sortAlphabetically)\n\t\t\tmap = new TreeMap<String, LinkedHashSet<String>>(requestedProperties);\n\n\t\tStringBuffer buf = new StringBuffer();\n\t\tfor (Map.Entry<String, LinkedHashSet<String>> entry : map.entrySet())\n\t\t\tfor (String value : entry.getValue())\n\t\t\t\tbuf.append(String.format(\"%s = %s%n\", entry.getKey(), value));\n\t\t\n\t\treturn buf.toString();\n\t}", "public String toString() {\n\t\treturn getClass().getName() + \"[mode=\" + mode + \",size=\" + size\n\t\t\t + \",hgap=\" + hgap + \",vgap=\" + vgap + \"]\";\n\t}", "private String formatSize(long size) {\n\t return Formatter.formatFileSize(this, size);\n\t}", "private double getSuggestedPrefWidth()\n {\n Insets ins = getPadding();\n double prefW = ins.getWidth();\n\n // Add width for line numbers\n if (_showLineNumbers) {\n Font font = _textArea.getFont();\n int lineCount = _textArea.getLineCount();\n double colCount = Math.ceil(Math.log10(lineCount) + .0001);\n double charWidth = Math.ceil(font.charAdvance('0'));\n double colsWidth = colCount * charWidth;\n prefW += colsWidth;\n }\n\n // Add Width for line markers\n if (_showLineMarkers) {\n prefW += LINE_MARKERS_WIDTH;\n }\n\n // Return\n return prefW;\n }", "public String toString() {\n return super.toString() + \" with specifications:\\n\\tNumber of strings: \" + nrStrings \n + \"\\n\\tString size: \" + stringSize + \"mm\";\n }", "String getSettingDescriptionAndState() {\n return String.format(Locale.getDefault(), \"%s : %s\", context.getString(settingDescription), context.getString(allStates[currentIdx]));\n }", "public void settings() {\r\n size(750, 550);\r\n }", "public static String getFormattedSize(long size) {\r\n float localSize = (float)(size / Math.pow(2, 30));\r\n Formatter formatter = new Formatter();\r\n if (localSize > 1) {\r\n return formatter.format(\"%.2fG\", Math.round(localSize * 100) / 100f).toString();\r\n } else if ((localSize = (float)(size / Math.pow(2, 20))) > 1) {\r\n return formatter.format(\"%.2fM\", Math.round(localSize * 100) / 100f).toString();\r\n } else if ((localSize = (float)(size / Math.pow(2, 10))) > 1) {\r\n return formatter.format(\"%.2fK\", Math.round(localSize * 100) / 100f).toString();\r\n } else {\r\n return formatter.format(\"%dB\", size).toString();\r\n }\r\n }", "public String toString()\n {\n return \"The tesseract's dimensions are \" + getLength() + \" X \" + getWidth() + \" X \" + getHeight() + \" X \" + getwDimension();\n }", "public String getConfigString()\n {\n return debug ? \"debug\" : \"release\";\n }", "public ISysConfig getSysConfig() {\n ISysConfig sc = new DefaultSysConfig(AOConstants.AO_CONFIG_NAME);\n\n // Fill in the current values.\n sc.putParameter(StringParameter.getInstance(ISPDataObject.VERSION_PROP, getVersion()));\n sc.putParameter(DefaultParameter.getInstance(AltairConstants.WAVELENGTH_PROP, getWavelength()));\n sc.putParameter(DefaultParameter.getInstance(AltairConstants.ADC_PROP, getAdc()));\n sc.putParameter(DefaultParameter.getInstance(AltairConstants.CASS_ROTATOR_PROP, getCassRotator()));\n sc.putParameter(DefaultParameter.getInstance(AltairConstants.ND_FILTER_PROP, getNdFilter()));\n // note: the values for field lens and guide star type are provided by the mode\n sc.putParameter(DefaultParameter.getInstance(AltairConstants.FIELD_LENSE_PROP, getFieldLens()));\n sc.putParameter(DefaultParameter.getInstance(AltairConstants.GUIDESTAR_TYPE_PROP, getGuideStarType()));\n return sc;\n }", "public double getPrefWidth() { return getPrefWidth(-1); }", "short getPaperSize();", "@DerivedProperty\n\tString getShortRepresentation();", "public void printConfig() {\n\t\tProperty props = Property.getInstance();\n\t\tSystem.out.println(\"You are using the following settings. If this is correct, \"\n\t\t\t\t+ \"you do not have to do anything. If they are not correct, please alter \" + \"your config files.\");\n\t\tString[] importantSettings = new String[] { \"apkname\", \"alphabetFile\", \"learningAlgorithm\", \"EquivMethod\",\"deviceName\" };\n\t\tfor (int i = 0; i < importantSettings.length; i++) {\n\t\t\tSystem.out.printf(\"%-25s%s%n\", importantSettings[i], \" = \" + props.get(importantSettings[i]));\n\t\t}\n\t}", "private void setPrefSizeForText()\n {\n double prefW = getSuggestedPrefWidth();\n double prefH = _textArea.getPrefHeight();\n setPrefSize(prefW, prefH);\n }", "public String toDisplayString() {\n return toDisplayString(Locale.getDefault());\n }", "private static void forceBasicEditorConfiguration() {\n Game.graphics().setBaseRenderScale(1.0f);\n Game.config().debug().setDebugEnabled(true);\n Game.config().graphics().setGraphicQuality(Quality.VERYHIGH);\n Game.config().graphics().setReduceFramesWhenNotFocused(false);\n }", "public String abbreviatedCellText() {\r\n\t\treturn \" \";//returns 10 spaces because the cell has to be empty\r\n\t}", "private String propertiesToString(org.sparx.Properties properties) {\r\n\t\t/* PROTECTED REGION ID(java.implementation._17_0_5_12d203c6_1367308475143_100237_1529) ENABLED START */\r\n\t\tStringBuilder sb = new StringBuilder(\"Properties:\\n\");\r\n\t\tint count = 0;\r\n\t\tfor (Property p : properties) {\r\n\t\t\tsb.append(\"\\tPropertie \" + ++count);\r\n\t\t\tsb.append(\"\\n\\t\\t\");\r\n\t\t\tsb.append(\"Name = \" + p.GetName());\r\n\t\t\tsb.append(\"\\n\\t\\t\");\r\n\t\t\tsb.append(\"Value = \" + p.GetValue());\r\n\t\t\tsb.append(\"\\n\\t\\t\");\r\n\t\t\tsb.append(\"Type = \" + p.GetType());\r\n\t\t\tsb.append(\"\\n\\t\\t\");\r\n\t\t\tsb.append(\"Validation = \" + p.GetValidation());\r\n\t\t\tsb.append(\"\\n\\t\\t\");\r\n\t\t\tsb.append(\"ObjectType = \" + p.GetObjectType());\r\n\t\t\tsb.append(\"\\n\");\r\n\t\t}\r\n\t\treturn sb.toString();\r\n\t\t/* PROTECTED REGION END */\r\n\t}", "public String dana() {\n\t\treturn \"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\";\n\t}", "public String getBoardOverview() {\n String boardOverview = \"\";\n\n for (int y = 0; y < this.boardSize; y++) {\n for (int x = 0; x < this.boardSize; x++) {\n char StoneColor = ' ';\n\n if (!this.fields[x][y].isEmpty()) {\n switch (this.fields[x][y].getStone().getColor()) {\n case BLACK:\n StoneColor = 'B';\n break;\n case WHITE:\n StoneColor = 'W';\n break;\n }\n } else if (this.fields[x][y].isPossibleMove()) {\n StoneColor = 'x';\n }\n\n boardOverview = boardOverview + StoneColor;\n\n }\n // next line\n boardOverview = boardOverview + String.format(\"%n\");\n }\n\n return boardOverview;\n }", "private String getRulesOfBestSolutionAsHumanReadableString() {\n\t\t// TODO change this to actually save the text in a file, and maybe in a cleaner format...\n\t\tIndividual bestSolution = this.controller.getBestSolution();\n\t\t\n\t\tVector<Rule> bestSolutionRules = bestSolution.getRules();\n\n\t\tString humanReadableRulesOfBestSolution = \"Add element to summary if (\";\n\t\tfor (int i = 0; i < bestSolutionRules.size(); i++) {\n\t\t\thumanReadableRulesOfBestSolution += \" ( \"; \n\t\t\tint j = 0;\n\t\t\tfor (Entry<String, Integer> entry : bestSolutionRules.get(i).getThresholds().entrySet()) {\n\t\t\t\t\n\t\t\t\thumanReadableRulesOfBestSolution += entry.getKey() + \" > \" + entry.getValue();\n\t\t\t\tString logicalConnector = ( j < bestSolutionRules.get(i).getAndBetweens().size() ? (bestSolutionRules.get(i).getAndBetweens().get(j) ? \" && \" : \" OR \") : (\"\"));\n\t\t\t\thumanReadableRulesOfBestSolution += logicalConnector;\n\t\t\t\tj++;\n\t\t\t}\n\t\t\thumanReadableRulesOfBestSolution += \" )\";\n\t\t\tif ( bestSolutionRules.size() - 1 > i ) {\n\t\t\t\thumanReadableRulesOfBestSolution += \" || \"; \n\t\t\t}\n\t\t}\n\t\thumanReadableRulesOfBestSolution += \")\\n\";\n\t\t\n\t\treturn humanReadableRulesOfBestSolution;\n\t}", "private void showPreferenceSettings() {\n \tfor(PrefKeysE k: PrefKeysE.values()) {\n \t\tString key = k.getKey();\n \t\tboolean isFound = Tt.isPreferencePresent(key);\n \t\tint prtFlags = 0; //don't print from getPreference()\n// \t\tboolean valB;\n// \t\tint valI;\n// \t\tdouble valD;\n \t\tString valFoundStr = \"\";\n \t\tString prefix = String.format(\"%-40s: %-7s: found? %s, default \", key, k.getType().name(), (isFound ? \"Y\" : \"N\"));\n \t\tswitch(k.getType()) {\n \t\tcase BOOLEAN:\n \t\t\tboolean dfltB = k.getDefaultBoolean();\n \t\t\tvalFoundStr += dfltB;\n \t\t\tif(isFound) {\n \t\t\t\tboolean val = Tt.getPreference(k, dfltB, prtFlags, PrefCreateE.DO_NOT_CREATE);\n \t\t\t\tvalFoundStr += \", current \" + val;\n \t\t\t}\n \t\t\tbreak;\n \t\tcase INT:\n \t\t\tint dfltI = k.getDefaultInt();\n \t\t\tvalFoundStr += dfltI;\n \t\t\tif(isFound) {\n \t\t\t\tint val = Tt.getPreference(k, dfltI, prtFlags, PrefCreateE.DO_NOT_CREATE);\n \t\t\t\tvalFoundStr += \", current \" + val;\n \t\t\t}\n \t\t\tbreak;\n \t\tcase DOUBLE:\n \t\t\tdouble dfltD = k.getDefaultDouble();\n \t\t\tvalFoundStr = String.format(\"% 1.4f\", dfltD);\n \t\t\tif(isFound) {\n \t\t\t\tdouble val = Tt.getPreference(k, dfltD, prtFlags, PrefCreateE.DO_NOT_CREATE);\n \t\t\t\tvalFoundStr += String.format(\", current % 1.4f\", val);\n \t\t\t}\n \t\t\tbreak;\n \t\tcase STRING:\n \t\t\tString dfltS = k.getDefaultString();\n\t\t\t\tvalFoundStr += \"'\" + dfltS + \"'\";\n \t\t\tif(isFound) {\n \t\t\t\tString val = Tt.getPreference(k, dfltS, prtFlags, PrefCreateE.DO_NOT_CREATE);\n \t\t\t\tvalFoundStr += \", current '\" + val + \"'\";\n \t\t\t}\n \t\t\tbreak;\n \t\t}\n\t\t\tP.println(prefix + valFoundStr);\n\n// \t\tif(k.getType().equals(PrefTypeE.BOOLEAN)) \n \t}\n }", "public String abbreviatedCellText() {\r\n\t\treturn \" \";\r\n\t}", "protected boolean isShowFormatterSetting() {\n \t\treturn true;\n \t}", "public void settings() { size(1200, 800); }", "public String saveParameters(){\n String saveData = new String();\n \n saveData = highT + \" \" + lowT + \" \" + rescaleText.getText();\n return saveData;\n }", "public String toString() {\n\t\t\tStringBuilder sb = new StringBuilder(\"%\");\n\t\t\t// Flags.UPPERCASE is set internally for legal conversions.\n\t\t\tFlags dupFlag = flag.dup().remove(Flags.UPPERCASE);\n\t\t\tsb.append(dupFlag.toString());\n\t\t\tif (index > 0) {\n\t\t\t\tsb.append(index).append('$');\n\t\t\t}\n\t\t\tif (width != -1) {\n\t\t\t\tsb.append(width);\n\t\t\t}\n\t\t\tif (precision != -1) {\n\t\t\t\tsb.append('.').append(precision);\n\t\t\t}\n\t\t\tif (isDateConversion) {\n\t\t\t\tsb.append(flag.contains(Flags.UPPERCASE) ? 'T' : 't');\n\t\t\t}\n\t\t\tsb.append(flag.contains(Flags.UPPERCASE)\n\t\t\t\t\t? Character.toUpperCase(conversionChar) : conversionChar);\n\t\t\treturn sb.toString();\n\t\t}", "protected String getPropertyStrings() {\n\t\treturn \"Active:\" + activeProperty().getValue() + \", FromDataset:\" + isFromDataset() + \", Modified:\" + isModified();\n\t}", "public String showPrizes()\n {\n return (prizesWon);\n }", "public String toString()\n {\n DecimalFormat df = new DecimalFormat(\"#.00\");\n String words = getOptionName() + \": $\" + df.format(getOptionPrice()) + \".\";\n return words;\n }", "public String toFileSuffix() {\n if ( release ) return majlow;\n else return majlow + '-' + commitNumber();\n }", "public String configureOptionsMenu() {\n SharedPreferences settings = context.getSharedPreferences(PREFS, 0);\n boolean shuffle = settings.getBoolean(\"shuffle\", true);\n String buttonText = \"Hello\";\n \n if (shuffle) {\n buttonText = \" Off \";\n } else {\n buttonText = \" On \";\n }\n \n return buttonText;\n }", "public String getFixedRotatorConfigName() {\n return null;\n }", "public String generateWelcomeFile() {\n SettingsManager settings = initSettings();\n String welcomeFilePattern = \"\"\n + \"<h1 style='font-size: %dpt'>%s</h1>\"\n + \"%n<span style='color: %s; font-size: %dpt'>%s</span>\";\n\n Color subtitleColor = settings.getProperty(TitleConfig.SUBTITLE_COLOR);\n return String.format(welcomeFilePattern, settings.getProperty(TitleConfig.TITLE_SIZE),\n settings.getProperty(TitleConfig.TITLE_TEXT), subtitleColor.hexCode,\n settings.getProperty(TitleConfig.SUBTITLE_SIZE), settings.getProperty(TitleConfig.SUBTITLE_TEXT));\n }", "@Override\n public String getSprintMPasString() {\n if (hasArmedMASC()) {\n return getRunMPwithoutMASC() + \"(\" + getSprintMP() + \")\";\n }\n return Integer.toString(getSprintMP());\n }", "private static String center(Object obj){\r\n\t\tString str = obj.toString();\r\n\t\tint width = 17;\t\r\n\t\tint padSize = width - str.length();\r\n\t\tint padStart = str.length() + padSize / 2; \r\n\t\tstr = String.format(\"%\" + padStart + \"s\", str);\r\n\t\tstr = String.format(\"%-\" + width + \"s\", str);\r\n\t\t\r\n\t\treturn str;\r\n\t}" ]
[ "0.7173726", "0.5635764", "0.55983156", "0.53745556", "0.5198409", "0.51942015", "0.5107927", "0.5018984", "0.4996917", "0.49781027", "0.49745494", "0.48952258", "0.4860319", "0.48477212", "0.47415602", "0.4725845", "0.47249967", "0.47218513", "0.4720347", "0.4716168", "0.4708319", "0.46873033", "0.4677982", "0.46673587", "0.4664092", "0.46611354", "0.4657735", "0.4655063", "0.46486634", "0.46322805", "0.46253094", "0.46136665", "0.46042058", "0.4589267", "0.4568196", "0.45596495", "0.45567548", "0.45408937", "0.45289156", "0.45151222", "0.45000628", "0.44982576", "0.44942543", "0.44823602", "0.44806433", "0.4478127", "0.44690874", "0.44637123", "0.44573832", "0.44570014", "0.44521275", "0.44518846", "0.44443434", "0.4416747", "0.441532", "0.44123903", "0.4410871", "0.44078186", "0.44029477", "0.43904737", "0.43889502", "0.43887502", "0.43863592", "0.43701896", "0.43585342", "0.43582478", "0.43480894", "0.43444186", "0.43438917", "0.43428996", "0.4341816", "0.43401098", "0.43388143", "0.43360233", "0.43353447", "0.43350798", "0.4329311", "0.4326255", "0.43249106", "0.43248197", "0.4322757", "0.43225017", "0.43210962", "0.4317361", "0.43135458", "0.43098596", "0.43086916", "0.430775", "0.43053094", "0.43048707", "0.43026814", "0.4302053", "0.4299124", "0.4299027", "0.4298451", "0.4297326", "0.42953897", "0.4293864", "0.42912224", "0.4290129" ]
0.70029867
1
Sets the autosizing settings as a string with hyphens for struts and tilde for sprints (horiz,vert).
public void setAutosizing(String aValue) { setLayoutInfo(aValue); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getAutosizingDefault() { return \"--~,--~\"; }", "public String getAutosizing()\n{\n String li = _layoutInfo instanceof String? (String)_layoutInfo : null;\n return li!=null && li.length()>6 && (li.charAt(0)=='-' || li.charAt(0)=='~')? li : getAutosizingDefault();\n}", "private void setPrefSizeForText()\n {\n double prefW = getSuggestedPrefWidth();\n double prefH = _textArea.getPrefHeight();\n setPrefSize(prefW, prefH);\n }", "public void settings() {\r\n size(750, 550);\r\n }", "void setPaperSize(short size);", "@Override\n\tpublic void settings() {\n\t\tSystem.out.println(\"settings\");\n\t\tsize(800, 800);\n\t}", "public void settings() { size(1200, 800); }", "private SizeModifierSettingsEditor() {\n\t\tinitComponents();\n\t\tsettings = SizeModifierSettings.getInstance();\n\t\tloadSettings();\n\t\tmainShell.pack();\n\t\tmainShell.setBounds(\n\t\t\tCrunch3.mainWindow.getShell().getBounds().x + Crunch3.mainWindow.getShell().getBounds().width / 2 - mainShell.getBounds().width / 2,\n\t\t\tCrunch3.mainWindow.getShell().getBounds().y + Crunch3.mainWindow.getShell().getBounds().height / 2 - mainShell.getBounds().height / 2,\n\t\t\tmainShell.getBounds().width,\n\t\t\tmainShell.getBounds().height);\n\t\tmainShell.open();\n\t}", "void setFitWidth(short width);", "public void autoSize() {\n\t\t//no op\n\t}", "public void mo7197a(int autoSizeTextType) {\n this.f2975f.mo7326a(autoSizeTextType);\n }", "void setContentMaxWidth(String maxWidth);", "@Override\n public void settings(){\n size(500, 500);\n }", "private void setNameAutomatic(){\n\t}", "@Override\r\n public void setWidth(String width) {\n }", "public void setWidth(double w)\n { this.widthDefault = w; }", "void setWindowSize(int s);", "private static void forceBasicEditorConfiguration() {\n Game.graphics().setBaseRenderScale(1.0f);\n Game.config().debug().setDebugEnabled(true);\n Game.config().graphics().setGraphicQuality(Quality.VERYHIGH);\n Game.config().graphics().setReduceFramesWhenNotFocused(false);\n }", "public void setSize(String size) {\r\n //System.out.print(\"Setting Size...\");\r\n this.Size = size;\r\n }", "public void setAutoFormat (boolean b) {\n autoFormat = b;\n }", "private void setWindowDefaultSize(UserPrefs prefs) {\n primaryStage.setHeight(prefs.getGuiSettings().getWindowHeight());\n\t\tTemplateClass.instrum(\"LineNumber: \",\"165\", \"Type: \",\"org.eclipse.jdt.core.dom.ExpressionStatement\", \"Method: \",\"setWindowDefaultSize\", \"Class: \",\"MainWindow\");\n primaryStage.setWidth(prefs.getGuiSettings().getWindowWidth());\n\t\tTemplateClass.instrum(\"LineNumber: \",\"166\", \"Type: \",\"org.eclipse.jdt.core.dom.ExpressionStatement\", \"Method: \",\"setWindowDefaultSize\", \"Class: \",\"MainWindow\");\n if (prefs.getGuiSettings().getWindowCoordinates() != null) {\n primaryStage.setX(prefs.getGuiSettings().getWindowCoordinates().getX());\n\t\t\tTemplateClass.instrum(\"LineNumber: \",\"168\", \"Type: \",\"org.eclipse.jdt.core.dom.ExpressionStatement\", \"Method: \",\"setWindowDefaultSize\", \"Class: \",\"MainWindow\");\n primaryStage.setY(prefs.getGuiSettings().getWindowCoordinates().getY());\n\t\t\tTemplateClass.instrum(\"LineNumber: \",\"169\", \"Type: \",\"org.eclipse.jdt.core.dom.ExpressionStatement\", \"Method: \",\"setWindowDefaultSize\", \"Class: \",\"MainWindow\");\n }\n\t\tTemplateClass.instrum(\"LineNumber: \",\"167\", \"Type: \",\"org.eclipse.jdt.core.dom.IfStatement\", \"Method: \",\"setWindowDefaultSize\", \"Class: \",\"MainWindow\");\n }", "private void setDefaultTextSize() {\n this.text_size = (int) default_text_size;\n }", "@Override\r\n protected void saveStrings() {\r\n \r\n settings.setProperty(\"mfile\" , mfile);\r\n settings.setProperty( \"rmode\", rmode);\r\n settings.setProperty( \"cmap\" , cmap );\r\n settings.setProperty(\"cmapMin\", Double.toString( cmapMin ) ); \r\n settings.setProperty(\"cmapMax\", Double.toString( cmapMax ) ); \r\n \r\n }", "public final void overrideAutoResizeColumn(final boolean isAutoResize) {\n\t\toverrideAutoResizeColumn = isAutoResize;\n\t}", "public void settings() {\n size(640, 384);\n }", "@Test\n public void testSetPrefWidth() {\n writeBanner(getMethodName());\n }", "public void setMaximizing() {\r\n maximizing = true;\r\n }", "@Override\n public void settings() {\n setSize(WIDTH, HEIGHT);\n }", "private void setTextSize(ViewHolder holder) {\n // Get the text size string from SharedPreferences and check for the value associated with the key\n String textSize = sharedPrefs.getString(\n mContext.getString(R.string.settings_text_size_key),\n mContext.getString(R.string.settings_text_size_default));\n\n // Change text size of TextView by using the user's stored preferences\n if(textSize.equals(mContext.getString(R.string.settings_text_size_medium_value))) {\n holder.titleTextView.setTextSize(TypedValue.COMPLEX_UNIT_PX,\n mContext.getResources().getDimension(R.dimen.sp22));\n holder.sectionTextView.setTextSize(TypedValue.COMPLEX_UNIT_PX,\n mContext.getResources().getDimension(R.dimen.sp14));\n holder.trailTextView.setTextSize(TypedValue.COMPLEX_UNIT_PX,\n mContext.getResources().getDimension(R.dimen.sp16));\n holder.authorTextView.setTextSize(TypedValue.COMPLEX_UNIT_PX,\n mContext.getResources().getDimension(R.dimen.sp14));\n holder.dateTextView.setTextSize(TypedValue.COMPLEX_UNIT_PX,\n mContext.getResources().getDimension(R.dimen.sp14));\n } else if(textSize.equals(mContext.getString(R.string.settings_text_size_small_value))) {\n holder.titleTextView.setTextSize(TypedValue.COMPLEX_UNIT_PX,\n mContext.getResources().getDimension(R.dimen.sp20));\n holder.sectionTextView.setTextSize(TypedValue.COMPLEX_UNIT_PX,\n mContext.getResources().getDimension(R.dimen.sp12));\n holder.trailTextView.setTextSize(TypedValue.COMPLEX_UNIT_PX,\n mContext.getResources().getDimension(R.dimen.sp14));\n holder.authorTextView.setTextSize(TypedValue.COMPLEX_UNIT_PX,\n mContext.getResources().getDimension(R.dimen.sp12));\n holder.dateTextView.setTextSize(TypedValue.COMPLEX_UNIT_PX,\n mContext.getResources().getDimension(R.dimen.sp12));\n } else if(textSize.equals(mContext.getString(R.string.settings_text_size_large_value))) {\n holder.titleTextView.setTextSize(TypedValue.COMPLEX_UNIT_PX,\n mContext.getResources().getDimension(R.dimen.sp24));\n holder.sectionTextView.setTextSize(TypedValue.COMPLEX_UNIT_PX,\n mContext.getResources().getDimension(R.dimen.sp16));\n holder.trailTextView.setTextSize(TypedValue.COMPLEX_UNIT_PX,\n mContext.getResources().getDimension(R.dimen.sp18));\n holder.authorTextView.setTextSize(TypedValue.COMPLEX_UNIT_PX,\n mContext.getResources().getDimension(R.dimen.sp16));\n holder.dateTextView.setTextSize(TypedValue.COMPLEX_UNIT_PX,\n mContext.getResources().getDimension(R.dimen.sp16));\n }\n }", "public void configure() {\n/* 754 */ if (isAutoRange()) {\n/* 755 */ autoAdjustRange();\n/* */ }\n/* */ }", "@Override\r\n public void setHspace(String hspace) {\n }", "private void appendKeyGeneratorSettings() {\n Label keyGeneratorSettings = new Label(Localization.lang(\"Key generator settings\"));\n keyGeneratorSettings.getStyleClass().add(\"sectionHeader\");\n builder.add(keyGeneratorSettings, 1, 10);\n builder.add(autoGenerateOnImport, 1, 11);\n builder.add(letterStartA, 2, 11);\n builder.add(warnBeforeOverwriting, 1, 12);\n builder.add(letterStartB, 2, 12);\n builder.add(dontOverwrite, 1, 13);\n builder.add(alwaysAddLetter, 2, 13);\n builder.add(generateOnSave, 1, 14);\n\n builder.add((new Label(Localization.lang(\"Replace (regular expression)\") + ':')), 1, 15);\n builder.add(new Label(Localization.lang(\"by\") + ':'), 2, 15);\n\n builder.add(keyPatternRegex, 1, 16);\n builder.add(keyPatternReplacement, 2, 16);\n\n dontOverwrite.setOnAction(e ->\n // Warning before overwriting is only relevant if overwriting can happen:\n warnBeforeOverwriting.setDisable(dontOverwrite.isSelected()));\n }", "public void setPrefWidth(double aWidth)\n{\n double w = aWidth<=0? 0 : aWidth; if(w==getPrefWidth()) return;\n firePropertyChange(\"PrefWidth\", put(\"PrefWidth\", w), w, -1);\n}", "@RestrictTo(value={RestrictTo.Scope.LIBRARY_GROUP})\n void autoSizeText() {\n if (!this.isAutoSizeEnabled()) {\n return;\n }\n if (this.mNeedsAutoSizeText) {\n if (this.mTextView.getMeasuredHeight() <= 0) {\n return;\n }\n if (this.mTextView.getMeasuredWidth() <= 0) {\n return;\n }\n int n = this.invokeAndReturnWithDefault((Object)this.mTextView, \"getHorizontallyScrolling\", false) != false ? 1048576 : this.mTextView.getMeasuredWidth() - this.mTextView.getTotalPaddingLeft() - this.mTextView.getTotalPaddingRight();\n int n2 = this.mTextView.getHeight() - this.mTextView.getCompoundPaddingBottom() - this.mTextView.getCompoundPaddingTop();\n if (n <= 0) {\n return;\n }\n if (n2 <= 0) {\n return;\n }\n RectF rectF = TEMP_RECTF;\n synchronized (rectF) {\n TEMP_RECTF.setEmpty();\n AppCompatTextViewAutoSizeHelper.TEMP_RECTF.right = n;\n AppCompatTextViewAutoSizeHelper.TEMP_RECTF.bottom = n2;\n float f = this.findLargestTextSizeWhichFits(TEMP_RECTF);\n if (f != this.mTextView.getTextSize()) {\n this.setTextSizeInternal(0, f);\n }\n }\n }\n this.mNeedsAutoSizeText = true;\n }", "public void setAutoresizingMask(int autoresizingMask) {\n \t\tif (autoresizingMask!=this.autoresizingMask) {\n \t\t\tthis.autoresizingMask = autoresizingMask;\n \t\t\tif (this.frame!=null) {\n \t\t\t\tthis.setFrame(frame);\n \t\t\t}\n \t\t}\n \t\t\n \t}", "protected void configure() {\n\t \n\t Configuration.BASE=true;\n\t Configuration.BASEMENUBAR=true;\n\t Configuration.BASETOOLBAR=true;\n\t Configuration.EDITMENUBAR=true;\n\t Configuration.EDITTOOLBAR=true;\n\t Configuration.FORMATMENUBAR=true;\n\t Configuration.FORMATTOOLBAR=true;\n\t Configuration.PERSISTENCEMENUBAR=true;\n\t Configuration.PERSISTENCETOOLBAR=true;\n\t Configuration.PRINTMENUBAR=true;\n\t Configuration.PRINTTOOLBAR=true;\n\t Configuration.SEARCHMENUBAR=true;\n\t Configuration.SEARCHTOOLBAR=true;\n\t Configuration.UNDOREDOMENUBAR=true;\n\t \t Configuration.UNDOREDOTOOLBAR=true;\n\t //\n\t Configuration.WORDCOUNTMENUBAR=true;\n\t Configuration.WORDCOUNTTOOLBAR=true;\n }", "public void settings() {\r\n size(WIDTH, HEIGHT); // Set size of screen\r\n }", "protected void constrainShellSize() {\n\t\tsuper.constrainShellSize();\n\t\tCommonUITool.centerShell(getShell());\n\t\tif (isNewFlag()) {\n\t\t\tgetShell().setText(Messages.titleAddProcedureDialog);\n\t\t} else {\n\t\t\tgetShell().setText(Messages.titleEditProcedureDialog);\n\t\t}\n\t}", "public void configureDisplayPolicy() {\n int longSize;\n int shortSize;\n if (this.mBaseDisplayDensity == 0) {\n Slog.e(TAG, \"density is 0\");\n return;\n }\n int width = this.mBaseDisplayWidth;\n int height = this.mBaseDisplayHeight;\n if (width > height) {\n shortSize = height;\n longSize = width;\n } else {\n shortSize = width;\n longSize = height;\n }\n int i = this.mBaseDisplayDensity;\n this.mDisplayPolicy.updateConfigurationAndScreenSizeDependentBehaviors();\n this.mDisplayRotation.configure(width, height, (shortSize * 160) / i, (longSize * 160) / i);\n DisplayFrames displayFrames = this.mDisplayFrames;\n DisplayInfo displayInfo = this.mDisplayInfo;\n displayFrames.onDisplayInfoUpdated(displayInfo, calculateDisplayCutoutForRotation(displayInfo.rotation));\n this.mIgnoreRotationForApps = isNonDecorDisplayCloseToSquare(0, width, height);\n }", "public void settings() {\r\n\t\tthis.size(PlayGame.WIDTH,PlayGame.HEIGHT);\r\n\t}", "void setWidth(int width);", "void setWidth(int width);", "@RestrictTo(value={RestrictTo.Scope.LIBRARY_GROUP})\n void setAutoSizeTextTypeWithDefaults(int n) {\n if (!this.supportsAutoSizeText()) return;\n if (n != 0) {\n if (n == 1) {\n DisplayMetrics displayMetrics = this.mContext.getResources().getDisplayMetrics();\n this.validateAndSetAutoSizeTextTypeUniformConfiguration(TypedValue.applyDimension((int)2, (float)12.0f, (DisplayMetrics)displayMetrics), TypedValue.applyDimension((int)2, (float)112.0f, (DisplayMetrics)displayMetrics), 1.0f);\n if (!this.setupAutoSizeText()) return;\n this.autoSizeText();\n return;\n }\n StringBuilder stringBuilder = new StringBuilder();\n stringBuilder.append(\"Unknown auto-size text type: \");\n stringBuilder.append(n);\n throw new IllegalArgumentException(stringBuilder.toString());\n }\n this.clearAutoSizeConfiguration();\n }", "@Test\n public void testSetResizable() {\n writeBanner(getMethodName());\n }", "void setThumbSizeX(long thumbSizeX);", "public void setBSCA_SendTxtScale (String BSCA_SendTxtScale);", "public TbsDisplaySettings(ActionApplication app, String windowTitle,\r\n RectSizeLimits sizeLimits) {\r\n super(app, windowTitle, sizeLimits);\r\n }", "public void setWidth(final String value)\n {\n width = value;\n }", "public void configure(T aView) { aView.setPrefSize(110,20); }", "public void setWidth(String string) {\r\n\t\t_width = string;\r\n\t}", "void setContentMinWidth(String minWidth);", "public void setBestSize() { setSize(getBestWidth(), getBestHeight()); }", "void setResizable(boolean resizable);", "public SettingsSaver() {\n set[0] = advModeUnlocked;\n set[1] = LIM_NOTESPERLINE;\n set[2] = LIM_96_MEASURES;\n set[3] = LIM_VOLUME_LINE;\n set[4] = LIM_LOWA;\n set[5] = LIM_HIGHD;\n set[6] = LOW_A_ON;\n set[7] = NEG_TEMPO_FUN;\n set[8] = LIM_TEMPO_GAPS;\n set[9] = RESIZE_WIN;\n set[10] = ADV_MODE;\n }", "public abstract void resetToPreferredSizes(JSplitPane jc);", "String getPreviewSizePref();", "public abstract Builder setOutputWidth(int value);", "public void setContents()\r\n\t{\r\n\t\t// contents.widthProperty().bind(this.prefWidthProperty());\r\n\t\t// contents.heightProperty().bind(this.prefHeightProperty());\r\n\t\t// contents.resize(width, height);\r\n\t\t// contents.relocate(width/4, height/4);\r\n\r\n\t}", "private void settings() {\n\t\tthis.setVisible(true);\n\t\tthis.setSize(800,200);\n\t}", "protected final void setSuperscript() {\n setFontSize((int) (getFontSize() * 0.5d));\n yOffset -= getFontSize();\n }", "public void setMinSize(double aWidth, double aHeight) { setMinWidth(aWidth); setMinHeight(aHeight); }", "@Action(selectedProperty = \"bigFontSet\", enabledProperty = \"windowsOS\")\n public void toggleFontSet() {\n }", "void setHorizontalResolution(int horizontalResolution);", "void setAuto(boolean auto);", "void setAuto(boolean auto);", "protected final void setSubscript() {\n setFontSize((int) (getFontSize() * 0.5d));\n// yOffset += getFontSize();\n }", "private void setupRenderingHints() {\n argoRenderingHints = new RenderingHints(null);\n\n argoRenderingHints.put(RenderingHints.KEY_FRACTIONALMETRICS,\n RenderingHints.VALUE_FRACTIONALMETRICS_ON);\n\n if (Configuration.getBoolean(Argo.KEY_SMOOTH_EDGES, false)) {\n argoRenderingHints.put(RenderingHints.KEY_RENDERING,\n RenderingHints.VALUE_RENDER_QUALITY);\n argoRenderingHints.put(RenderingHints.KEY_ANTIALIASING,\n RenderingHints.VALUE_ANTIALIAS_ON);\n argoRenderingHints.put(RenderingHints.KEY_TEXT_ANTIALIASING,\n RenderingHints.VALUE_TEXT_ANTIALIAS_ON);\n } else {\n argoRenderingHints.put(RenderingHints.KEY_RENDERING,\n RenderingHints.VALUE_RENDER_SPEED);\n argoRenderingHints.put(RenderingHints.KEY_ANTIALIASING,\n RenderingHints.VALUE_ANTIALIAS_OFF);\n argoRenderingHints.put(RenderingHints.KEY_TEXT_ANTIALIASING,\n RenderingHints.VALUE_TEXT_ANTIALIAS_OFF);\n }\n }", "public void setCustomSpec(String s) {\n if (s.length() <= 128) {\n tozCustomSpec = s;\n AppyAdService.getInstance().debugOut(TAG, \"Set custom parameter to \" + tozCustomSpec);\n }\n else {\n AppyAdService.getInstance().errorOut(TAG, \"Custom parameter is too long! Not set.\");\n }\n }", "public interface InsertSpacesSetter {\n\t\n\t/**\n\t * Sets whether typing tab in the editor should substitute the tab\n\t * character with a string of space characters. The number of spaces\n\t * inserted is controlled by the tab width setting.\n\t * @param substitute True if tabs should be substituted with spaces.\n\t */\n\tpublic void setInsertSpaces(boolean substitute);\n}", "private void basicSize(){\n setSize(375,400);\n }", "public void forceResize() {\n ResizeUtils.updateSize(this, actions);\n }", "public void changedisplayLengthLabel() {\n\t\taffectiveGraphPlot.changedisplayLengthLabel();\n\t}", "public void setForcedSize(int width, int height) {\n boolean clear = this.mInitialDisplayWidth == width && this.mInitialDisplayHeight == height;\n if (!clear) {\n width = Math.min(Math.max(width, 200), this.mInitialDisplayWidth * 2);\n height = Math.min(Math.max(height, 200), this.mInitialDisplayHeight * 2);\n }\n Slog.i(TAG, \"Using new display size: \" + width + \"x\" + height);\n updateBaseDisplayMetrics(width, height, this.mBaseDisplayDensity);\n this.mWmService.reconfigureDisplayLocked(this);\n this.mWmService.resetFoldScreenInfo();\n if (clear) {\n height = 0;\n width = 0;\n }\n this.mWmService.mDisplayWindowSettings.setForcedSize(this, width, height);\n }", "private void resize() {\n }", "private void extendedSize(){\n setSize(600,400);\n }", "private void setSize(int s){\n\t\tsize = s;\n\t}", "private void setResize(int i)\n\t{\n\t\tif(i==0)\n\t\t{\n\t\t\tsetResizable(false);\n\t\t}\n\t\telse if(i==1)\n\t\t{\n\t\t\tsetResizable(true);\n\t\t\tsetMinimumSize(d);\n\t\t}\n\t\telse if(i==2)\n\t\t{\n\t\t\tsetSize (WINDOW_WIDTH, WINDOW_HEIGHT);\n\t\t}\n\t}", "private void setupTextSize()\n\t{\n\t\tContext context = getContext();\n\t\tResources res = context.getResources();\n\t\tthis.mTextSize = (int) res.getDimension(R.dimen.tsz_main);\n\t}", "public void setInsertSpaces(boolean substitute);", "void setHResolution(short resolution);", "void setFontScale(\n float s);", "public void admin_enable_auto() {\n\t\tautomerge = true; // merges every time new crystals are added\n\t\tautoidentify = true; // identifies every time merge occurs\n\t\tautodust = true; \n\t\tautosell = false;// cannot have autosell and autodust enabled\n\t}", "private void toggleResizeMode() {\n\n CURRENT_RESIZE_MODE = CURRENT_RESIZE_MODE + 1;\n if (CURRENT_RESIZE_MODE >= RESIZE_MODE.size()) {\n CURRENT_RESIZE_MODE = 0;\n }\n AppPref.getInstance().setResizeMode(CURRENT_RESIZE_MODE);\n simpleExoPlayerView.setResizeMode((Integer) RESIZE_MODE.keySet().toArray()[CURRENT_RESIZE_MODE]);\n btn_screen.setImageResource(RESIZE_MODE.get(CURRENT_RESIZE_MODE));\n }", "public void setDefaultSize2s(ChoisePoint iX, Term a1, Term a2) {\n\t\tsetWidth(ExtendedSize.argumentToExtendedSize(a1,iX));\n\t\tsetHeight(ExtendedSize.argumentToExtendedSize(a2,iX));\n\t}", "public void resize_screen(){\r\n \tstop_scn_updates();\r\n \tscn_font_size = min_font_size+1;\r\n \twhile (scn_font_size < max_font_size){\r\n \t\tscn_font = new Font(tz390.z390_font,Font.BOLD,scn_font_size);\r\n \t\tcalc_screen_size();\r\n \t\tif (scn_image.getWidth() < main_panel_width\r\n \t\t\t&& scn_image.getHeight() < main_panel_height){\r\n \t\t\tscn_font_size++;\r\n \t\t} else {\r\n \t\t scn_font_size--;\r\n \t\t break;\r\n \t\t}\r\n \t} \t\r\n \tscn_font = new Font(tz390.z390_font,Font.BOLD,scn_font_size);\r\n \tcalc_screen_size();\r\n start_scn_updates();\r\n }", "@Test\n public void testSetMaxWidth() {\n writeBanner(getMethodName());\n }", "private void setupSharedPreferences() {\n SharedPreferences sharedPreferences = PreferenceManager.getDefaultSharedPreferences(this);\n\n String aaString = sharedPreferences.getString(getString(R.string.pref_antalAktier_key), getString(R.string.pref_antalAktier_default));\n// float aaFloat = Float.parseFloat(aaString);\n editTextAntalAktier.setText(aaString);\n\n String kk = sharedPreferences.getString(getString(R.string.pref_koebskurs_key), getString(R.string.pref_koebskurs__default));\n editTextKoebskurs.setText(kk);\n\n String k = sharedPreferences.getString(getString(R.string.pref_kurtage_key), getString(R.string.pref_kurtage_default));\n editTextKurtage.setText(k);\n\n// float minSize = Float.parseFloat(sharedPreferences.getString(getString(R.string.pref_size_key),\n// getString(R.string.pref_size_default)));\n// mVisualizerView.setMinSizeScale(minSize);\n\n // Register the listener\n sharedPreferences.registerOnSharedPreferenceChangeListener(this);\n }", "AutopsyOptionsPanel() {\n initComponents();\n fileChooser = new JFileChooser();\n fileChooser.setFileSelectionMode(JFileChooser.FILES_ONLY);\n fileChooser.setMultiSelectionEnabled(false);\n fileChooser.setAcceptAllFileFilterUsed(false);\n fileChooser.setFileFilter(new GeneralFilter(GeneralFilter.GRAPHIC_IMAGE_EXTS, GeneralFilter.GRAPHIC_IMG_DECR));\n if (!PlatformUtil.is64BitJVM() || Version.getBuildType() == Version.Type.DEVELOPMENT) {\n //32 bit JVM has a max heap size of 1.4 gb to 4 gb depending on OS\n //So disabling the setting of heap size when the JVM is not 64 bit \n //Is the safest course of action\n //And the file won't exist in the install folder when running through netbeans\n memField.setEnabled(false);\n solrMaxHeapSpinner.setEnabled(false);\n }\n systemMemoryTotal.setText(Long.toString(getSystemMemoryInGB()));\n // The cast to int in the following is to ensure that the correct SpinnerNumberModel\n // constructor is called.\n solrMaxHeapSpinner.setModel(new javax.swing.SpinnerNumberModel(UserPreferences.getMaxSolrVMSize(),\n 512, ((int)getSystemMemoryInGB()) * MEGA_IN_GIGA, 512));\n\n textFieldListener = new TextFieldListener();\n agencyLogoPathField.getDocument().addDocumentListener(textFieldListener);\n logFileCount.setText(String.valueOf(UserPreferences.getLogFileCount()));\n }", "public void setSize(String size) {\n this.size = size;\n }", "private void setupSimplePreferencesScreen() {\n if (!isSimplePreferences(this)) {\n return;\n }\n\n addPreferencesFromResource(R.xml.pref_empty);\n\n addHeader(R.string.pref_header_game);\n addPreferencesFromResource(R.xml.pref_game);\n this.gameModeSettingsPreferenceScreen = getPreferenceScreen();\n\n addHeader(R.string.pref_header_other);\n addPreferencesFromResource(R.xml.pref_other);\n\n Preference key_game_mode_summary = findPreference(getResources().getString(R.string.key_game_mode_summary));\n this.key_game_mode_summary = key_game_mode_summary;\n\n Preference useCodePreference = findPreference(getResources().getString(R.string.key_use_code));\n this.useCodePreference = useCodePreference;\n useCodePreference.setOnPreferenceChangeListener(USE_CODE_PREFERENCE_LISTENER);\n\n Preference customWidthPreference = findPreference(getResources().getString(R.string.key_custom_maze_width));\n customWidthPreference.setSummary(String.valueOf(getCustomMazeWidth()));\n this.customWidthPreference = customWidthPreference;\n customWidthPreference.setOnPreferenceChangeListener(new Preference.OnPreferenceChangeListener() {\n @Override\n public boolean onPreferenceChange(Preference preference, Object value) {\n try {\n int width = Math.min(Math.max(Integer.parseInt(value.toString()), getResources().getInteger(R.integer.min_custom_maze_size)), getResources().getInteger(R.integer.max_custom_maze_size));\n synchronized (SettingsActivity.class) {\n SettingsActivity.customMazeWidth = width;\n }\n preference.setSummary(String.valueOf(width));\n } catch (NumberFormatException e) {\n }\n return true;\n }\n });\n Preference customHeightPreference = findPreference(getResources().getString(R.string.key_custom_maze_height));\n customHeightPreference.setSummary(String.valueOf(getCustomMazeHeight()));\n this.customHeightPreference = customHeightPreference;\n customHeightPreference.setOnPreferenceChangeListener(new Preference.OnPreferenceChangeListener() {\n @Override\n public boolean onPreferenceChange(Preference preference, Object value) {\n try {\n int height = Math.min(Math.max(Integer.parseInt(value.toString()), getResources().getInteger(R.integer.min_custom_maze_size)), getResources().getInteger(R.integer.max_custom_maze_size));\n synchronized (SettingsActivity.class) {\n SettingsActivity.customMazeHeight = height;\n }\n preference.setSummary(String.valueOf(height));\n } catch (NumberFormatException e) {\n }\n return true;\n }\n });\n Preference customCreatePreference = findPreference(getResources().getString(R.string.key_custom_maze_create));\n this.customCreatePreference = customCreatePreference;\n customCreatePreference.setOnPreferenceClickListener(new Preference.OnPreferenceClickListener() {\n @Override\n public boolean onPreferenceClick(Preference preference) {\n Maze2D.GeneratedMaze maze = generateCustomMaze(SettingsActivity.this);\n synchronized (SettingsActivity.class) {\n SettingsActivity.loadSeedMaze = maze;\n }\n if (maze != null) {\n SettingsActivity.this.finish();\n }\n return true;\n }\n });\n Preference customSolvePreference = findPreference(getResources().getString(R.string.key_custom_maze_solve));\n this.customSolvePreference = customSolvePreference;\n customSolvePreference.setOnPreferenceClickListener(new Preference.OnPreferenceClickListener() {\n @Override\n public boolean onPreferenceClick(Preference preference) {\n synchronized (SettingsActivity.class) {\n SettingsActivity.showSolution = true;\n }\n SettingsActivity.this.finish();\n return true;\n }\n });\n Preference regularCreatePreference = findPreference(getResources().getString(R.string.key_maze_create));\n this.regularCreatePreference = regularCreatePreference;\n regularCreatePreference.setOnPreferenceClickListener(new Preference.OnPreferenceClickListener() {\n @Override\n public boolean onPreferenceClick(Preference preference) {\n if (MainActivity.getGameMode() == GameMode.REGULAR) {\n synchronized (SettingsActivity.class) {\n SettingsActivity.newRegularMaze = true;\n }\n } else {\n synchronized (SettingsActivity.class) {\n SettingsActivity.newFillMaze = true;\n }\n }\n SettingsActivity.this.finish();\n return true;\n }\n });\n\n ListPreference algorithmPreference = (ListPreference) findPreference(getResources().getString(R.string.key_algorithm));\n this.algorithmPreference = algorithmPreference;\n\n // Bind the summaries of EditText/List/Dialog/Ringtone preferences to\n // their values. When their values change, their summaries are updated\n // to reflect the new value, per the Android Design guidelines.\n ListPreference gameModePreference = (ListPreference) findPreference(getResources().getString(R.string.key_game_mode));\n this.gamePreference = gameModePreference;\n bindPreferenceSummaryToValue(gameModePreference);\n String[] names = GameMode.getNames(this);\n gameModePreference.setEntries(names);\n gameModePreference.setEntryValues(names);\n GameMode gameMode = MainActivity.getGameMode();\n if (gameMode != null) {\n gameModePreference.setValueIndex(gameMode.getID());\n }\n\n bindPreferenceSummaryToValue(algorithmPreference);\n names = MazeAlgorithm.getNames(this, true);\n algorithmPreference.setEntries(names);\n algorithmPreference.setEntryValues(names);\n MazeAlgorithm algorithm = MainActivity.getAlgorithm();\n if (algorithm != null) {\n algorithmPreference.setDefaultValue(algorithm.getLocalName(this));\n }\n\n SwitchPreference showTracerPreference = (SwitchPreference) findPreference(getResources().getString(R.string.key_show_tracer));\n showTracerPreference.setOnPreferenceChangeListener(TOGGLE_TRACER_PREFERENCE_LISTENER);\n showTracerPreference.setDefaultValue(MainActivity.toggleTracer());\n\n SwitchPreference squareCellsPreference = (SwitchPreference) findPreference(getResources().getString(R.string.key_square_cells));\n squareCellsPreference.setOnPreferenceChangeListener(SQUARE_CELLS_PREFERENCE_LISTENER);\n squareCellsPreference.setDefaultValue(MainActivity.squareCells());\n\n Preference recalibratePreference = findPreference(getResources().getString(R.string.key_recalibrate));\n recalibratePreference.setOnPreferenceClickListener(RECALIBRATE_PREFERENCE_LISTENER);\n\n Preference defaultTiltPreference = findPreference(getResources().getString(R.string.key_default_tilt));\n defaultTiltPreference.setOnPreferenceClickListener(DEFAULT_TILT_PREFERENCE_LISTENER);\n\n prepareGameModeGUI(MainActivity.getGameMode());\n }", "public void setWidth(int w){\n \twidth = w;\n }", "@Test\n public void testSetMinWidth() {\n writeBanner(getMethodName());\n }", "public void configure(T aView)\n {\n aView.setMinSize(120,60);\n aView.setText(\"Title\");\n }", "private void setupSettings() {\n add(announcementBtn).expandX().width(ChessGame.MENU_WIDTH);\n row();\n add(currentGamesBtn).expandX().width(ChessGame.MENU_WIDTH);\n row();\n add(chatRoomBtn).expandX().width(ChessGame.MENU_WIDTH);\n row();\n add(friendsListBtn).expandX().width(ChessGame.MENU_WIDTH);\n row();\n add(leaderboardBtn).expandX().width(ChessGame.MENU_WIDTH);\n row();\n }", "@Override\n public String toString()\n {\n return String.format(\"%s Heat setting:%d Automatic Shutoff:%d\", super.toString(), heat_setting, auto_shutoff);\n }", "private void tweakPlatformDefaults() {\n if (PlatformUtils.isAppCode()) {\n SHOW_MAIN_TOOLBAR = false;\n SHOW_ICONS_IN_MENUS = false;\n SHOW_MEMORY_INDICATOR = false;\n }\n }", "public void settings() {\n int widthOfWindow = 900;\n int heightOfWindow = 900;\n\n //Size of the program window\n size(widthOfWindow, heightOfWindow);\n //making the movement smooth, i think, comes from processing\n smooth();\n }", "private void changeUIdefaults() {\n\t\tUIManager.put(\"TaskPaneContainer.useGradient\", Boolean.FALSE);\n\t\tUIManager.put(\"TaskPaneContainer.background\",\n\t\t\t\tColors.LightGray.color(0.5f));\n\n\t\t// setting taskpane defaults\n\t\tUIManager.put(\"TaskPane.font\", new FontUIResource(new Font(\"Verdana\",\n\t\t\t\tFont.BOLD, 16)));\n\t\tUIManager.put(\"TaskPane.titleBackgroundGradientStart\",\n\t\t\t\tColors.White.color());\n\t\tUIManager.put(\"TaskPane.titleBackgroundGradientEnd\",\n\t\t\t\tColors.LightBlue.color());\n\t}", "public void setOptions(final Properties options) {\n\t\tfinal Configuration config = new PropertiesConfiguration(options); //TODO switch to passing Configuration\n\t\tsetMakeFontSizesRelative(config.findBoolean(MAKE_FONT_SIZES_RELATIVE_OPTION).orElse(MAKE_FONT_SIZES_RELATIVE_OPTION_DEFAULT));\n\t\tsetRemoveMSOfficeProperties(config.findBoolean(REMOVE_MS_OFFICE_PROPERTIES_OPTION).orElse(REMOVE_MS_OFFICE_PROPERTIES_OPTION_DEFAULT));\n\t}", "public MySWsDecoderSizesAutoLayoutTests() {\n initComponents();\n \n \n }" ]
[ "0.71895593", "0.64226794", "0.5638036", "0.55865985", "0.55132973", "0.53356177", "0.53288907", "0.53140175", "0.5224309", "0.520051", "0.51677763", "0.5151885", "0.5143811", "0.5116854", "0.51164", "0.51032317", "0.5098208", "0.5096363", "0.5090419", "0.5067783", "0.50665355", "0.5060658", "0.5057353", "0.50378835", "0.49826506", "0.49656144", "0.4958887", "0.4956106", "0.49285933", "0.49267352", "0.49244678", "0.48758703", "0.48661256", "0.48486173", "0.48263878", "0.48238873", "0.48184413", "0.48096132", "0.47852346", "0.47758213", "0.47648215", "0.47648215", "0.47371238", "0.47300878", "0.47155476", "0.47043732", "0.47032636", "0.47024903", "0.46964118", "0.4690462", "0.46901402", "0.46841264", "0.46816003", "0.4676363", "0.46702343", "0.4665631", "0.4654486", "0.46417248", "0.46327016", "0.46179268", "0.46172833", "0.46074757", "0.46003863", "0.45988894", "0.45988894", "0.45950902", "0.4589245", "0.45881757", "0.45812714", "0.45760468", "0.45741302", "0.45653751", "0.4560092", "0.45561334", "0.4550567", "0.45483145", "0.4547721", "0.45388052", "0.45370612", "0.4531495", "0.45233622", "0.4516441", "0.45085606", "0.4505945", "0.4496419", "0.44751894", "0.44743124", "0.44700322", "0.44699353", "0.44694608", "0.44635054", "0.44623852", "0.44617555", "0.44574583", "0.4450062", "0.4450001", "0.44468915", "0.44451135", "0.44437018", "0.44395155" ]
0.6783182
1
Returns the autosizing default.
public String getAutosizingDefault() { return "--~,--~"; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getAutosizing()\n{\n String li = _layoutInfo instanceof String? (String)_layoutInfo : null;\n return li!=null && li.length()>6 && (li.charAt(0)=='-' || li.charAt(0)=='~')? li : getAutosizingDefault();\n}", "public String getDefaultFileName()\r\n\t{\r\n\t\treturn \"autosave\";\r\n\t}", "public MediaSize getMediaSizeDefault() {\n\t\tMediaSize retValue = Language.getLoginLanguage().getMediaSize();\n\t\tif (retValue == null)\n\t\t\tretValue = MediaSize.ISO.A4;\n\t\tlog.fine(retValue.toString());\n\t\treturn retValue;\n\t}", "Integer getDefaultWidth();", "public Dimension getDefaultSize() {\n\t\tint width = Integer.parseInt(FileDataPersister.getInstance().get(\"gui.configuration\", \"defaultWidth\", \"600\"));\n\t\tint height = Integer.parseInt(FileDataPersister.getInstance().get(\"gui.configuration\", \"defaultHeight\", \"600\"));\n\t\treturn new Dimension(width, height);\n\t}", "public String getDefaultValue() {\n return defaultValue;\n }", "public String getDefault(){\n return _default;\n }", "public String getDefault();", "public String getDefaultValue() {\n return defaultValue;\n }", "public String getDefaultValue () {\n return defaultValue;\n }", "@Override\n public String getFullDefaultConfigName() {\n return getConfigPath() + defaultConfigFileName;\n }", "public int getDefaultDisplayInterval() {\n return (defaultDisplayInterval);\n }", "public void setAutosizing(String aValue) { setLayoutInfo(aValue); }", "public boolean GetIsByDefault()\n {\n return this._defaultSpace;\n }", "public double getDefaultValue() {\n return defaultValue;\n }", "public Integer getIsDefault() {\n return isDefault;\n }", "public Integer getIsDefault() {\n return isDefault;\n }", "public int getAutoScaleStatus() {\n return autoScaleStatus;\n }", "public String getDefaultAppearanceString()\r\n {\r\n return ((COSString)option.getObject( 1 ) ).getString();\r\n }", "public String getDefaultValue() {\n\t\t\treturn this.defaultValue;\n\t\t}", "public String getColDefault() {\r\n\t\treturn colDefault;\r\n\t}", "public String getDefaultValue() {\n\t\t\treturn null;\r\n\t\t}", "public String getDefaultValue() {\n\t\t\treturn null;\r\n\t\t}", "public static String getAutostartMode() {\n\t\treturn defaultAutostartMode;\n\t}", "public String getDefaultValue() {\n return this.defaultValue;\n }", "public BigDecimal getOPTION4_SMART_DEFAULT() {\r\n return OPTION4_SMART_DEFAULT;\r\n }", "public BigDecimal getOPTION4_SMART_DEFAULT() {\r\n return OPTION4_SMART_DEFAULT;\r\n }", "public String getDefaultValue() {\n return m_defaultValue;\n }", "@Doc(\"The value to use if the variable is accessed when it has never been set.\")\n\t@BindNamedArgument(\"default\")\n\tpublic Double getDefaultValue() {\n\t\treturn defaultValue;\n\t}", "public BigDecimal getOPTION1_SMART_DEFAULT() {\r\n return OPTION1_SMART_DEFAULT;\r\n }", "public BigDecimal getOPTION1_SMART_DEFAULT() {\r\n return OPTION1_SMART_DEFAULT;\r\n }", "public Type getDefault() {\n if (!loaded) loadPanic();\n return defaultValue;\n }", "PreferenceDefaultValueAttribute getDefaultValue();", "@Override\n public String getDefaultConfigName() {\n return defaultConfigFileName;\n }", "public String getDefaultStyleString() {\n/* 552 */ return getCOSObject().getString(COSName.DS);\n/* */ }", "public String getDefaultAppearance() {\n/* 530 */ return getCOSObject().getString(COSName.DA);\n/* */ }", "String getDefaultValue();", "String getDefaultValue();", "public BigDecimal getOPTION5_SMART_DEFAULT() {\r\n return OPTION5_SMART_DEFAULT;\r\n }", "public BigDecimal getOPTION5_SMART_DEFAULT() {\r\n return OPTION5_SMART_DEFAULT;\r\n }", "public String getDefaultValue() {\n return type.getDefaultValue();\n }", "public SimpleBooleanProperty getUseDefault() {\n return useDefault;\n }", "public @NotNull T getDefaultValue() {\n return defaultValue;\n }", "public String getDefaultInAnimation() {\n return (defaultInAnimation);\n }", "public double getPrefWidth() { return getPrefWidth(-1); }", "private static String getDefaultPosterResolution(Context context){\n return context.getString(R.string.pref_poster_resolution_default);\n }", "public Type getDefault()\n\t{\n\t\treturn m_default;\n\t}", "public T getDefaultValue() {\n return defaultValue.orNull();\n }", "private NamespaceDefinition getDefaultNamespace(boolean attr) {\n NamespaceDefinition ns;\n if (attr) {\n ns = m_attributeDefault;\n } else {\n ns = m_elementDefault;\n }\n if (ns == null && m_context != null) {\n ns = m_context.getDefaultNamespace(attr);\n }\n return ns;\n }", "public Integer getDefaultFlag() {\n return defaultFlag;\n }", "Integer getDefaultHeight();", "private DefaultSetting getSampleDefaultSetting() {\n DefaultSetting setting = new DefaultSetting(\"\",\n \"\",\n 5,\n Token.DIGIT,\n \"d\",\n 1,\n true,\n true,\n true);\n\n return setting;\n }", "public boolean isIsDefault() {\n return isDefault;\n }", "public YuiImage getDefaultImg() {\r\n\t\treturn defaultImg;\r\n\t}", "public String getDefaultBuilder() {\n\n\t\treturn this.defaultBuilder;\n\t}", "public IDatatype getDefaultValue() { \n\t\treturn myDefaultValue;\n\t}", "public Boolean get_is_default()\r\n\t{\r\n\t\treturn this.is_default;\r\n\t}", "@Override\npublic int defaultWidth() {\n\treturn 0;\n}", "public boolean isDefault() {\n return _default;\n }", "protected String getDefaultFilename()\n {\n return DEFAULT_FILENAME;\n }", "Properties defaultProperties();", "public final Namespace getDefaultNamespace() {\n return _defaultNamespace;\n }", "public Object getDefault() {\n\t\treturn defaultField;\n\t}", "public int getDefaultFacetWidth() {\r\n return getAttributeAsInt(\"defaultFacetWidth\");\r\n }", "public int getDefaultAnimationDuration() {\n return (defaultAnimationDuration);\n }", "private void setWindowDefaultSize(UserPrefs prefs) {\n primaryStage.setHeight(prefs.getGuiSettings().getWindowHeight());\n\t\tTemplateClass.instrum(\"LineNumber: \",\"165\", \"Type: \",\"org.eclipse.jdt.core.dom.ExpressionStatement\", \"Method: \",\"setWindowDefaultSize\", \"Class: \",\"MainWindow\");\n primaryStage.setWidth(prefs.getGuiSettings().getWindowWidth());\n\t\tTemplateClass.instrum(\"LineNumber: \",\"166\", \"Type: \",\"org.eclipse.jdt.core.dom.ExpressionStatement\", \"Method: \",\"setWindowDefaultSize\", \"Class: \",\"MainWindow\");\n if (prefs.getGuiSettings().getWindowCoordinates() != null) {\n primaryStage.setX(prefs.getGuiSettings().getWindowCoordinates().getX());\n\t\t\tTemplateClass.instrum(\"LineNumber: \",\"168\", \"Type: \",\"org.eclipse.jdt.core.dom.ExpressionStatement\", \"Method: \",\"setWindowDefaultSize\", \"Class: \",\"MainWindow\");\n primaryStage.setY(prefs.getGuiSettings().getWindowCoordinates().getY());\n\t\t\tTemplateClass.instrum(\"LineNumber: \",\"169\", \"Type: \",\"org.eclipse.jdt.core.dom.ExpressionStatement\", \"Method: \",\"setWindowDefaultSize\", \"Class: \",\"MainWindow\");\n }\n\t\tTemplateClass.instrum(\"LineNumber: \",\"167\", \"Type: \",\"org.eclipse.jdt.core.dom.IfStatement\", \"Method: \",\"setWindowDefaultSize\", \"Class: \",\"MainWindow\");\n }", "public String getDefaultName()\r\n {\r\n System.out.println(\"returning default name: \" + m_default );\r\n return m_default;\r\n }", "String getDefaultAttrs() {\n return mDefaultAttrs;\n }", "static public String getDefaultString () {\n return defaultString;\n }", "public String getDefaultNamespace() {\n return defaultNamespaceUri;\n }", "public Object getDefaultValue();", "public Object getDefaultValue();", "public String getDefaultValue() {\r\n if (this == BOOLEAN) {\r\n return \"false\";\r\n }\r\n\r\n if (this == CHAR) {\r\n return \"''\";\r\n }\r\n\r\n if (this == VOID) {\r\n return \"\";\r\n }\r\n\r\n if (this == FLOAT) {\r\n return \"0.f\";\r\n }\r\n\r\n if (this == DOUBLE) {\r\n return \"0.0\";\r\n }\r\n\r\n return \"0\";\r\n }", "public String setDefaultHint() { return mLayoutList.get(lastSelectedPosition).getLayoutName(); }", "public String getDefaultCssFile() {\n return mDefaultCssFile;\n }", "protected String getDefaultConfigName() {\r\n return DEFAULT_CONFIG_NAME;\r\n }", "public final Properties getDefaultProperties() {\n \t\treturn properties;\n \t}", "public String getDefaultTargetPropertyName() {\r\n return null;\r\n }", "public static DocumentationSettings getDefault(){\n return INSTANCE;\n }", "public int defaultSize(String mnemo) {\n\t\treturn 4;\n\t}", "public static Format getTheirDefaultFormat()\n {\n return (Format) theirDefaultFormat.clone();\n }", "public Integer getDefaultNumber() {\n return defaultNumber;\n }", "public static Style getDefault() { return Style.SHAPE; }", "int getDefaultAutoArchiveDuration();", "String getPreviewSizePref();", "public String autoDeleteOnIdle() {\n return this.autoDeleteOnIdle;\n }", "public String getmDefaultName() {\n return mDefaultName;\n }", "public boolean getDefaultDurationIsFixed()\r\n {\r\n return (m_defaultDurationIsFixed);\r\n }", "public String getDefaultResourceFileName() \n {\n return null; \n }", "public boolean isDefault() {\n return m_Default;\n }", "public double getDefault(){\n return number;\n }", "@SimpleProperty(description = \"The default duration (in seconds) of each scan for this probe\")\n\tpublic float DefaultDuration(){\n\t\t\n\t\treturn SCHEDULE_DURATION;\n\t}", "public int getDefaultPageSize()\n\t{\n\t\treturn defaultPageSize;\n\t}", "protected String getDefaultText() {\n\t\treturn DEFAULT_TEXT;\n\t}", "public\tString\tgetDefaultText()\n\t{\n\t\treturn\tdefaultText;\n\t}", "public int getIntDefaultValue() {\n\t\t\treturn this.intDefaultValue;\n\t\t}", "private void setDefaultTextSize() {\n this.text_size = (int) default_text_size;\n }", "public T getDefault() {\r\n return dflt;\r\n }", "public int getPreferredOptionsPanelGravity() {\n int rotation = getRotation();\n if (this.mInitialDisplayWidth < this.mInitialDisplayHeight) {\n if (rotation != 1) {\n return (rotation == 2 || rotation != 3) ? 81 : 8388691;\n }\n return 85;\n } else if (rotation == 1) {\n return 81;\n } else {\n if (rotation != 2) {\n return rotation != 3 ? 85 : 81;\n }\n return 8388691;\n }\n }", "public int getWidth() {\r\n\t\treturn defaultWidth;\r\n\t}" ]
[ "0.6660343", "0.63205093", "0.6201802", "0.6130884", "0.6039014", "0.59634686", "0.5912592", "0.590379", "0.59009784", "0.58819354", "0.58695346", "0.5866837", "0.58550745", "0.5845729", "0.5775633", "0.5747204", "0.5747204", "0.5746599", "0.57209265", "0.56948", "0.56909174", "0.56892866", "0.56892866", "0.56866485", "0.56638974", "0.5636305", "0.5636305", "0.5632", "0.56265545", "0.5611669", "0.5611669", "0.5610548", "0.56068397", "0.5603072", "0.5589751", "0.5575875", "0.5574704", "0.5574704", "0.5571474", "0.5571474", "0.55655223", "0.55511075", "0.55433464", "0.5524515", "0.5513764", "0.55074227", "0.55054706", "0.5500335", "0.548727", "0.5484028", "0.54659516", "0.5465396", "0.54547536", "0.5454057", "0.5442609", "0.54424906", "0.5430261", "0.54282933", "0.5424049", "0.5413185", "0.5410601", "0.5410498", "0.54027915", "0.5398377", "0.53911495", "0.5387379", "0.53686756", "0.53637516", "0.5358079", "0.5353408", "0.53507143", "0.53507143", "0.5340067", "0.53336275", "0.5333466", "0.533146", "0.5324299", "0.5315291", "0.53027374", "0.52996814", "0.5297997", "0.5290359", "0.52846706", "0.5272049", "0.5269928", "0.526821", "0.52636313", "0.52534217", "0.5239656", "0.52377945", "0.5236768", "0.52363336", "0.52357537", "0.5234563", "0.5227348", "0.5225975", "0.5223933", "0.5217268", "0.52146006", "0.5206335" ]
0.7930087
0
Returns whether this shape is being viewed in a viewer.
public boolean isViewing() { RMShape p = getParent(); return p!=null && p.isViewing(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean isInview();", "public boolean isViewer(AttachmentViewer viewer) {\n return super.isViewer(viewer);\n }", "boolean hasGeographicView();", "public boolean isViewable()\n {\n return this.isEditable() || this.viewable;\n }", "public boolean isDrawingViews() {\n return drawViews;\n }", "boolean hasActiveView();", "public Byte getIsView() {\n return isView;\n }", "boolean hasLocationView();", "public boolean isCreated() {\n\t\treturn this.viewer != null;\n\t}", "public boolean isConicalView();", "final public boolean isPerspective()\n {\n return ComponentUtils.resolveBoolean(getProperty(PERSPECTIVE_KEY), true);\n }", "public boolean isVisualizeViewEnabled() {\n return visualizeViewEnabled;\n }", "public boolean isInView(WebElement element) {\n return (Boolean) ((JavascriptExecutor) getDriver()).executeScript(\n \"var element = arguments[0], \" +\n \" box = element.getBoundingClientRect(), \" +\n \" centerX = box.left + box.width / 2, \" +\n \" centerY = box.top + box.height / 2, \" +\n \" e = document.elementFromPoint(centerX, centerY); \" +\n \"for (; e; e = e.parentElement) { \" +\n \" if (e === element) \" +\n \" return true; \" +\n \"} \" +\n \"return false; \"\n , element);\n }", "public boolean isPreview() {\r\n return preview;\r\n }", "boolean isSVGViewVisible(final String viewName,\n final W element);", "public boolean hasViewers() {\n return super.hasViewers();\n }", "boolean isAllInview();", "protected boolean isPreview()\n\t{\n\t\treturn sessionService.getAttribute(PREVIEW_TICKET_ID_PARAM) != null;\n\t}", "public boolean isTargetVisible() {\n return getDouble(\"tv\") == 1;\n }", "boolean hasUserLocationView();", "public final boolean isOnScreen() {\n\t\treturn Calculations.isOnScreen(this.getCenterPointOnScreen());\n\t}", "private boolean multiview(){\n\t\treturn this.LOCAL_PIECE != null;\n\t}", "public boolean isPreviewActive() {\n return previewActive;\n }", "protected final boolean isShowing() {\n synchronized (getPeerTreeLock()) {\n if (isVisible()) {\n final LWContainerPeer<?, ?> container = getContainerPeer();\n return (container == null) || container.isShowing();\n }\n }\n return false;\n }", "@Override // com.master.cameralibrary.CameraViewImpl\n public boolean isCameraOpened() {\n return this.mCamera != null;\n }", "public boolean isGraphEditing() {\r\n \t\treturn graph.getUI().isEditing(graph);\r\n \t}", "public boolean checkVisibility() {\n LocalDateTime now = LocalDateTime.now();\n return (this.viewer != 0 && !now.isAfter(this.destructTime));\n }", "public java.lang.Boolean getIsVisible();", "public boolean isInViewport(ObjectWithPosition obj){\n Point viewPoint = convertToViewCoordinates(obj.xCoordinate,obj.yCoordinate);\n if(viewPoint.getX() > 0 && viewPoint.getX() < 1024){\n if(viewPoint.getY() > 0 && viewPoint.getY() < 528){\n return true;\n }\n else return false;\n }\n else return false;\n }", "boolean hasDetailPlacementView();", "public boolean isOnscreen( )\r\n {\r\n if ( this.transform.tx( ) + this.width( ) < 0.0f ) return false;\r\n if ( this.transform.tx( ) > SkyDiver.WindowWidth ) return false;\r\n if ( this.transform.ty( ) + this.height( ) < 0.0f ) return false;\r\n if ( this.transform.ty( ) > SkyDiver.WindowHeight ) return false;\r\n\r\n return true;\r\n }", "public boolean isDrawingViewClasses() {\n return drawViewClasses;\n }", "public boolean getIsVisible();", "public boolean isVisible() {\r\n return !((x + width) < ocean.getXmin() || x > ocean.getXmax() || (y + height) < ocean.getYmin()\r\n || y > ocean.getYmax());\r\n }", "protected boolean isLinkedWithEditor() {\n return modes.get(BCOConstants.F_LINK_VIEW_TO_EDITOR);\n }", "boolean hasParentalStatusView();", "boolean hasTopicView();", "public boolean visible() {\n \treturn model.isVisible();\n }", "private boolean visible() {\r\n return NOT(GO() && CATS(Cc,Cn,Co,Cs,Zl,Zp)) && POINT();\r\n }", "boolean hasManagedPlacementView();", "boolean canView(final GadgetGroup group, final long ownerId,\n final long viewerId);", "public static boolean isView(String command) {\r\n\t\tassert command != null;\r\n\t\tcommandType = Logic.determineCommandType(command);\r\n\t\tswitch (commandType) {\r\n\t\tcase VIEW:\r\n\t\t\treturn true;\r\n\t\tdefault:\r\n\t\t\tbreak;\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "public boolean isScene() {\r\n\t\treturn scene;\r\n\t}", "public boolean isRenderInsideShape() {\n return this.renderInsideShape;\n }", "boolean isInsideScreen() {\n if (_hitbox.length == 1) {\n float r = _hitbox[0].x;\n PVector c = _getCenter();\n return 0 <= c.x + r && c.x - r < width && 0 <= c.y + r && c.y - r < height;\n }\n \n PVector[] points = this._getPoints();\n for(PVector p : points) {\n if(0 <= p.x && p.x < width && 0 <= p.y && p.y < height) {\n return true;\n }\n }\n return false;\n }", "public boolean isVisited () {\n if (this.equals(SquareType.VISITED))\n return true;\n else\n return false;\n }", "public boolean isMotionShow() {\n return (isDepthEnabled() || isBeautyShow() || isMaskSelected() || saveDngEnabled() || !CustomUtil.getInstance().isPanther()) ? false : true;\n }", "public boolean isEditing() { RMShape p = getParent(); return p!=null && p.isEditing(); }", "public boolean getIsVisible()\n\t{\n\t\tif (getParentFragment() != null && getParentFragment() instanceof BaseFragment)\n\t\t{\n\t\t\treturn isVisible() && ((BaseFragment) getParentFragment()).getIsVisible();\n\t\t}\n\t\telse\n\t\t{\n\t\t\treturn isVisible();\n\t\t}\n\t}", "public boolean selfViewEnabled();", "@Override\n public boolean isInView(Vector3d point, double radius)\n {\n if (myLeftClip.isInFront(point, radius) && myRightClip.isInFront(point, radius) && myTopClip.isInFront(point, radius)\n && myBottomClip.isInFront(point, radius))\n {\n Plane earthBisector = new Plane(Vector3d.ORIGIN, myPosition.getLocation());\n if (earthBisector.isInFront(point, radius))\n {\n return true;\n }\n }\n return false;\n }", "boolean hasDistanceView();", "public boolean isInvisible ( ) {\n\t\treturn extract ( handle -> handle.isInvisible ( ) );\n\t}", "boolean hasLandingPageView();", "boolean hasCallView();", "public boolean isShowcoor() {\r\n\t\treturn showcoor;\r\n\t}", "public boolean isInEnv()\n {\n return environment().objectAt(location()) == this;\n }", "public synchronized boolean isVisibleEditor(Object object) {\n return isVisibleEditor(currentWindow, object);\n }", "public abstract boolean isRendered();", "public boolean hasCamera() {\n return mCamera != null;\n }", "boolean contentViewable();", "private boolean canViewOptions() {\n\n return uiStateManager.getState().equals(GameUIState.WAVE_IN_PROGRESS)\n || uiStateManager.getState().equals(GameUIState.STANDBY);\n }", "public boolean isVisitor() {\n\t\treturn visitor;\n\t}", "public boolean isRootVisible()\n {\n return rootVisible;\n }", "public boolean isRootVisible()\n {\n return rootVisible;\n }", "public boolean isVisible();", "public boolean isVisible();", "public boolean isVisible();", "public Boolean isReviewState() {\n return this.isReviewState;\n }", "boolean hasClickView();", "public boolean isPortalViewEnabled() {\n return portalViewEnabled;\n }", "public boolean isCastOverLayShown() {\n if (currentContext != null) {\n SharedPreferences sharedPrefs = currentContext.getSharedPreferences(CASTING_OVERLAY_PREF_NAME, 0);\n return sharedPrefs.getBoolean(CAST_SHARED_PREF_NAME, false);\n }\n return false;\n }", "public boolean isResolutionLocked() {\n return mainViewPanel.isResolutionLocked();\n }", "boolean isVisible();", "boolean isVisible();", "public boolean isVisualFire ( ) {\n\t\treturn extract ( handle -> handle.isVisualFire ( ) );\n\t}", "public boolean isRenderable() {\n return vboIdList != null;\n }", "final public boolean isVisible() {\n if (hasObtainedSupport) {\n return true;\n }\n boolean ret = true;\n if (numEvents < getThresholdEventsForVisibleCluster()) {\n ret = false;\n }\n if (pathsEnabled) {\n double speed = Math.sqrt(velocityPPT.x * velocityPPT.x + velocityPPT.y * velocityPPT.y) * 1e6 / AEConstants.TICK_DEFAULT_US; // speed is in pixels/sec\n if (speed < thresholdVelocityForVisibleCluster) {\n ret = false;\n }\n }\n hasObtainedSupport = ret;\n if (ret) {\n birthLocation.x = location.x;\n birthLocation.y = location.y; // reset location of birth to presumably less noisy current location.\n }\n return ret;\n }", "boolean hasOrigin();", "boolean hasOrigin();", "public boolean hasPresentation();", "public boolean isMouseOver(){\n\t\treturn this.contains(Main.camera.getMousePos());\n\t}", "public boolean getViewfact() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException {\n return (((Boolean) __getCache(\"viewfact\")).booleanValue());\n }", "public boolean isShowing() {\n return getRoot().isShowing();\n }", "public Boolean isVisible();", "public Boolean isVisible();", "public boolean canZoomIn() {\n\treturn getZoom() < getMaxZoom();\n}", "public boolean isVisualizeEditEnabled() {\n return visualizeEditEnabled;\n }", "public boolean isTurtleVisible(){\n return isTurtleVisible;\n }", "public boolean isBrowseShown()\r\n\t{\r\n\t\treturn ((this.pageBackingBean.getCurrentUser() != null) || (this.settingEjb\r\n\t\t .getBooleanSettingByName(Constants.SETTING_SEARCH_ALLOW_NON_USERS)))\r\n\t\t && !(this.settingEjb.getBooleanSettingByName(Constants.SETTING_SEARCH_INDEXING_COMMENCED));\r\n\t}", "public boolean\ngetShowBoundingShape()\n{\n\treturn (this.showBoundingShape);\n}", "boolean hasHotelPerformanceView();", "public boolean isMakeVisible()\r\n {\r\n return myMakeVisible;\r\n }", "public boolean isExternalBrowser() {\n return externalBrowserCheckbox.getSelection();\n }", "boolean hasKeywordView();", "boolean hasSearchTermView();", "public boolean isVisible() {\n\t\treturn true;\n\t}", "@Override\n\tpublic boolean isViewInteractable() {\n\t\treturn true;\n\t}", "private boolean isInCanvas() {\n\t\tif ((sens.getXPos() >= sens.getXMax()) || (sens.getYPos() >= sens.getYMax()) || (sens.getXPos() < 0) || (sens.getYPos() < 0)) {\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}", "private boolean isInCanvas() {\n\t\tif ((sens.getXPos() >= sens.getXMax()) || (sens.getYPos() >= sens.getYMax()) || (sens.getXPos() < 0) || (sens.getYPos() < 0)) {\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}" ]
[ "0.72809964", "0.7003257", "0.6839892", "0.6699661", "0.6621953", "0.65417665", "0.65247566", "0.651965", "0.64932436", "0.6478805", "0.6424955", "0.63352096", "0.6287813", "0.6260686", "0.62559724", "0.6246918", "0.61847305", "0.6172405", "0.6131651", "0.6116092", "0.6050126", "0.6014232", "0.60104734", "0.60070324", "0.5974244", "0.595463", "0.5949113", "0.59390527", "0.5913814", "0.59064925", "0.5904996", "0.5890802", "0.5874748", "0.5874051", "0.58721334", "0.5863834", "0.58458453", "0.582677", "0.581732", "0.5794742", "0.5786252", "0.5785834", "0.5781602", "0.57801247", "0.5773037", "0.5769297", "0.575513", "0.5751275", "0.5742146", "0.5734082", "0.5726681", "0.5711144", "0.57111275", "0.570397", "0.57023084", "0.56919104", "0.56575894", "0.56490237", "0.5642347", "0.56402797", "0.5620261", "0.562017", "0.5613697", "0.56073064", "0.56073064", "0.5599847", "0.5599847", "0.5599847", "0.5567149", "0.55647016", "0.5564118", "0.556104", "0.5558106", "0.5537063", "0.5537063", "0.5534323", "0.55321974", "0.5525166", "0.5521125", "0.5521125", "0.5520299", "0.5520117", "0.55158645", "0.55027807", "0.54951185", "0.54951185", "0.54898906", "0.54874384", "0.5485729", "0.54819494", "0.54807806", "0.54659986", "0.54555565", "0.5451789", "0.5447447", "0.5446429", "0.5446063", "0.5442343", "0.54417026", "0.54417026" ]
0.8041928
0
Returns whether this shape is being edited in an editor.
public boolean isEditing() { RMShape p = getParent(); return p!=null && p.isEditing(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final boolean isEdited(){\n\t\treturn JsUtils.getNativePropertyBoolean(this, \"edited\");\n\t}", "public boolean hasEditor()\n\t{\n\t\treturn true;\n\t}", "public boolean isGraphEditing() {\r\n \t\treturn graph.getUI().isEditing(graph);\r\n \t}", "protected boolean isEdit(){\n\t\treturn getArguments().getBoolean(ARG_KEY_IS_EDIT);\n\t}", "public boolean isEdited() {\n return (_spItem.getAvEditState() == SpAvEditState.EDITED);\n }", "public boolean hasInPlaceCustomEditor () {\n if (modifiedEditor instanceof EnhancedPropertyEditor) {\n return ((EnhancedPropertyEditor)modifiedEditor).hasInPlaceCustomEditor ();\n } else {\n return false;\n }\n }", "public boolean isEditingFocus() {\n\t\treturn editingFocus;\n\t}", "@Override\n public boolean isInEditMode() {\n return mEditable;\n }", "@Override\n public boolean isInEditMode() {\n return mEditable;\n }", "boolean isEdit();", "public boolean isEditingEnabled() {\r\n // Additional business logic can go here\r\n return (getContactSelection().getMinSelectionIndex() != -1);\r\n }", "protected boolean isLinkedWithEditor() {\n return modes.get(BCOConstants.F_LINK_VIEW_TO_EDITOR);\n }", "public boolean getEditing() {\r\n return this.editing;\r\n }", "public boolean getEdited() {\r\n\t\treturn this.edited;\r\n\t}", "public boolean isPaintable() {\n return modifiedEditor.isPaintable ();\n }", "public boolean isEditable() {\n \treturn model.isEditable();\n }", "public native boolean isEditable() /*-{\n\t\tvar jso = [email protected]::getJsObj()();\n\t\treturn jso.editable;\n }-*/;", "public boolean isEditable() {\n\t\treturn isEditable;\n\t}", "public boolean isEditable() {\n\t\treturn isEditable;\n\t}", "boolean isEditable();", "public boolean isVisualizeEditEnabled() {\n return visualizeEditEnabled;\n }", "public java.lang.Boolean getEdit() {\n return edit;\n }", "public boolean isEditable()\n {\n return editable;\n }", "public boolean getEdited() {\r\n return this.edited;\r\n }", "public boolean isEditable() {\r\n return isEditable;\r\n }", "public boolean allowsEditing() {\n\t\tif (type==SOURCE) return true;\n\t\telse return false;\n\t}", "public boolean isEditable() {\n \t\treturn true;\n \t}", "public boolean isEditable()\n {\n return this.editable;\n }", "public static boolean isEdit(String command) {\r\n\t\tassert command != null;\r\n\t\tcommandType = Logic.determineCommandType(command);\r\n\t\tswitch (commandType) {\r\n\t\tcase EDIT:\r\n\t\t\treturn true;\r\n\t\tdefault:\r\n\t\t\tbreak;\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "public boolean isChanged() {\n return this.editorPane.getChangedProperty();\n }", "public boolean isEditable()\n {\n return field.isEditable();\n }", "public Boolean getEditFlag() {\n return editFlag;\n }", "public boolean supportsCustomEditor() {\n PropertyEditor[] editors = getAllEditors ();\n if (editors.length > 1) return true; // we must allow to choose the editor even if none of them supports custom editing\n if (editors.length == 1) return editors[0].supportsCustomEditor ();\n return false;\n }", "public boolean canEdit() {\r\n\t\treturn !dslView.isContainsErrors();\r\n\t}", "public boolean isEditable()\n\t{ return editable; }", "public final boolean getEditable() {\n return this.editableProperty().getValue();\n }", "public Boolean getCanEdit() {\r\n return getAttributeAsBoolean(\"canEdit\");\r\n }", "Boolean getIsEditable() {\n\t\treturn isEditable;\n\t}", "public boolean isFileInEditMode(String filename)\n {\n try\n {\n waitForWindow(getWaitWindow());\n }\n catch (Exception e)\n {\n // no need to handle this exception, function will always return a boolean value bellow\n }\n return Arrays.asList(getLdtp().getWindowList()).contains(\"frm\" + filename);\n }", "public boolean canEdit() throws GTClientException\n {\n return isNewEntity();\n }", "boolean mo117961a(Editor editor);", "public boolean shouldEditButtonBePresent();", "public boolean hasEditError() {\n return (errors.hasError(Error.EDITED_PROFILE_INCOMPLETE)\n || errors.hasError(Error.EDITED_FRONTEND_INVALID)\n || errors.hasError(Error.EDITED_COLLECTION_INVALID)\n || errors.hasError(Error.EDITED_PROFILE_NAME_EXISTS));\n }", "public boolean isMinorEdit() {\n return minorEdit;\n }", "public boolean isModified() {\n return(!this.getText().equals(editBeginValue));\n }", "public boolean supportsCustomEditor() {\n\t\treturn true;\n\t}", "@Override\r\n\tprotected boolean hasEditSupport() {\n\t\treturn false;\r\n\t}", "public boolean isViewable()\n {\n return this.isEditable() || this.viewable;\n }", "@DISPID(-2147417078)\n @PropGet\n boolean isTextEdit();", "public synchronized boolean isVisibleEditor(IWorkbenchWindow currentWindow,\n Object object) {\n Set<IEditorPart> parts = visibleParts.get(currentWindow);\n if (parts != null) {\n return parts.contains(object);\n }\n return false;\n }", "public synchronized boolean isVisibleEditor(Object object) {\n return isVisibleEditor(currentWindow, object);\n }", "public boolean toggleEdit() {\n // return true so that saving is only triggered when we are truly exiting edit mode\n boolean result = true;\n for(setting setting: setttingList) {\n result = setting.toggleEdit();\n }\n return result;\n }", "public EditorView getEditorView() {\n\t\treturn this.editorView;\n\t}", "public String getEditor() {\n return (String)getAttributeInternal(EDITOR);\n }", "public String getEditor() {\n return (String)getAttributeInternal(EDITOR);\n }", "public boolean isAnyFieldEdited() {\n return CollectionUtil.isAnyNonNull(title, moduleCode, credits, memo, description, semester, tags);\n }", "public Editor getEditor() { return editor; }", "public boolean isAnyFieldEdited() {\n return CollectionUtil.isAnyNonNull(title, type, author, details, tags);\n }", "public boolean isAnyFieldEdited() {\n return CollectionUtil.isAnyNonNull(name);\n }", "public boolean isViewing() { RMShape p = getParent(); return p!=null && p.isViewing(); }", "public Boolean getEditByCell() throws IllegalStateException {\r\n errorIfNotCreated(\"editByCell\");\r\n return getAttributeAsBoolean(\"editByCell\");\r\n }", "public boolean supportsEditingTaggedValues () {\n if (modifiedEditor instanceof EnhancedPropertyEditor) {\n return ((EnhancedPropertyEditor)modifiedEditor).supportsEditingTaggedValues ();\n } else {\n return false;\n }\n }", "public synchronized IEditorPart getActiveEditor() {\n return activeEditorMap.get(currentWindow);\n }", "public Component getEditorComponent ()\r\n {\r\n return editor;\r\n }", "public boolean isAnyFieldEdited() {\n return CollectionUtil.isAnyNonNull(name, phone, email, tags);\n }", "@Override\n\tpublic java.lang.String getEditorType() {\n\t\treturn _scienceApp.getEditorType();\n\t}", "public boolean isKpiEditEnabled() {\n return kpiEditEnabled;\n }", "public boolean getEditfact() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException {\n return (((Boolean) __getCache(\"editfact\")).booleanValue());\n }", "public MyTextPane getEditor() {\n\t\treturn editor;\n\t}", "public boolean isModified()\n\t{\n\t\treturn isModified;\n\t}", "public boolean isCategoryEditEnabled() {\n return categoryEditEnabled;\n }", "public boolean editorconfig(String owner, String repo, String filepath) {\n return apiClient.get(String.format(\"/repos​/%s/%s/editorconfig​/%s\", owner, repo, filepath)).isOk();\n }", "public boolean getEditando() {\n return this.aluno.getId() != null;\n }", "public boolean getProjectExternallyEdited()\r\n {\r\n return (m_projectExternallyEdited);\r\n }", "private boolean hasAnOutline()\n {\n return getEntryEditorWidgetTreeViewerInput() != null;\n }", "@Override\n public boolean onCheckIsTextEditor() {\n return false;\n }", "public boolean isModifiable() {\n return modifiable.get();\n }", "private boolean checkEditContent()\n {\n if (etUrl.hasContent() && etFilePath.hasContent())\n {\n return true;\n }\n return false;\n }", "private boolean isEditableRecipe() {\n\t\tUser user = User.getInstance();\n\t\tString userEmail = user.getEmail();\n\t\tString creatorEmail = currentRecipe.getCreatorEmail();\n\t\tif (userEmail.equalsIgnoreCase(creatorEmail)) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}", "public boolean isEditableByUser() {\r\n if ((this.currentStatusChange == null) ||\r\n (this.currentStatusChange.equals(PoStatusCode.PROPOSED)))\r\n return true;\r\n return false;\r\n }", "@Override\r\n public boolean isEditable(AuthenticationInfo obj) {\n if (CFG_GUI.CFG.isPresentationModeEnabled()) {\r\n return false;\r\n }\r\n return true;\r\n }", "public final boolean isModified() {\n return this.modified;\n }", "public boolean isPreview() {\r\n return preview;\r\n }", "public boolean canUndo() {\n return statePointer > 0;\n }", "public PetalEditor getEditor() {\n return petal_editor;\n }", "public boolean isChangeCursor()\n\t{\n\t\treturn changeCursor;\n\t}", "private boolean canChangeDocuments() {\n\n // If the text is modified, give the user a chance to\n // save it. Otherwise return true.\n\n if (fDocument.isModified()) {\n byte save = askSave(this, getTitle());\n if (save == YES) {\n return doSave();\n }\n else {\n return save == NO;\n }\n }\n else {\n return true;\n }\n }", "@JsonIgnore\n\tpublic boolean isEmptyEdit() {\n\t\treturn getUpdatedStatements().isEmpty();\n\t}", "public boolean isEditable(int row) {\n return editRow==row;\n }", "protected ITextEditor getEditor() {\n return editor;\n }", "@Override\n\tpublic EditLogic getEditLogic() {\n\t\treturn null;\n\t}", "public boolean isEstadoModified()\n\t{\n\t\treturn estadoModified;\n\t}", "public boolean isModified() {\n\t\treturn modified;\n\t\t}", "public boolean isModified() {\r\n\t\treturn modified;\r\n\t}", "public boolean isModified() {\n return isModified;\n }", "public boolean isModified() {\n return roomstlogid_is_modified || \n\t\troomstid_is_modified || \n\t\troomid_is_modified || \n\t\tstatusdate_is_modified || \n\t\tst_is_modified || \n\t\tregbyid_is_modified || \n\t\tregdate_is_modified || \n\t\treservationroomid_is_modified || \n\t\troomtypeid_is_modified || \n\t\tblockroomid_is_modified || \n\t\tlogdate_is_modified;\n }", "@WorkflowAction(loggable = false)\n public boolean isModified()\n throws WorkflowException, MappingException, RepositoryException, RemoteException;", "public\tboolean\tisModified() {\n\t\tif (getAddedProperties().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getRemovedProperties().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getAddedMethods().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getRemovedMethods().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getChangedMethods().size() > 0)\n\t\t\treturn\ttrue;\n\t\t\n\t\treturn\tfalse;\n\t}", "protected InteractionDrawingEditor getViewEditor()\n {\n return view.getEditor();\n }", "boolean isOssModified();" ]
[ "0.78997827", "0.743715", "0.74288076", "0.7387568", "0.7262354", "0.70928425", "0.70207787", "0.69699186", "0.69699186", "0.6955788", "0.6756129", "0.67360145", "0.6638401", "0.6624191", "0.6614872", "0.66132426", "0.6590921", "0.6582493", "0.6582493", "0.6578394", "0.65704036", "0.6535508", "0.6526083", "0.6509373", "0.6498854", "0.6497292", "0.64939564", "0.6448482", "0.6442965", "0.64118063", "0.6410247", "0.64087266", "0.6393925", "0.63670766", "0.631561", "0.6314683", "0.6311406", "0.62817097", "0.62738097", "0.6242298", "0.6219658", "0.6209996", "0.606905", "0.60419846", "0.6039554", "0.6027493", "0.6025554", "0.60240823", "0.60214007", "0.60104924", "0.5999671", "0.5943803", "0.5925938", "0.58927995", "0.58927995", "0.58757067", "0.5874122", "0.5857446", "0.5835084", "0.5830012", "0.57835764", "0.57827425", "0.57822806", "0.5760937", "0.57413024", "0.57395214", "0.5734285", "0.5709605", "0.56902474", "0.56746763", "0.56687164", "0.56684947", "0.56529367", "0.56507593", "0.56505674", "0.5648746", "0.56470495", "0.5638281", "0.5633121", "0.56174463", "0.56118697", "0.56100327", "0.56061745", "0.5593596", "0.5593176", "0.5588007", "0.55817926", "0.5578284", "0.5570202", "0.5558023", "0.5551764", "0.5548075", "0.5538549", "0.55291426", "0.5500486", "0.54894304", "0.54651886", "0.54648936", "0.54637885", "0.5456401" ]
0.77469206
1
Returns the text color for the shape.
public RMColor getTextColor() { return RMColor.black; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Integer getTxtColor();", "String getTextStrokeColorAsString();", "public int textColor() {\n\t\treturn textColor;\n\t}", "public void colorText() {\r\n String theColor = textShape.getText();\r\n if (theColor.contains(\"blue\")) {\r\n textShape.setForegroundColor(Color.BLUE);\r\n }\r\n else if (theColor.contains(\"red\")) {\r\n textShape.setForegroundColor(Color.RED);\r\n }\r\n else {\r\n textShape.setForegroundColor(Color.BLACK);\r\n }\r\n }", "public Color getTextColor();", "public String getTextColor();", "public Color getTextColor() {\r\n return textColor;\r\n }", "public String getColorString();", "public @ColorInt int getTextColor() {\n return mTextContainer.getTextColor();\n }", "@AutoEscape\n\tpublic String getTextColor();", "String getColor();", "public String toString(){\n return (\"TextShape \"+x+\" \"+y+\" \"+col.getRed()+\" \"+col.getGreen()+\" \"+col.getBlue()+\" \"+str);\n }", "public int getTextColor() {\n return mTextColor;\n }", "public Color getTextColor(){\r\n return textColor;\r\n }", "public native final String fontColor() /*-{\n\t\treturn this.fontColor;\n\t}-*/;", "public short getColor()\n {\n return font.getColorPaletteIndex();\n }", "public int getTextLabelForegroundColor() {\n\t\treturn mTextLabelForegroundColor;\n\t}", "public String getColor()\n {\n return color;\n }", "public String getColor()\n {\n return color;\n }", "@Override\n\tpublic String shape() {\n\t\treturn \"Text\";\n\t}", "public Color getShapeColor() {\n\t\tif (_shape != null) return _shape.getColor();\n\t\telse return null;\n\t}", "public String getFillColor();", "@Override\n public ShapeColor getColor() {\n return new ShapeColor(this.r, this.g, this.b);\n }", "abstract String getColor();", "public String getColor()\n {\n return this.color;\n }", "@Override\n public String getColor() {\n return this.color.name();\n }", "public String getColorAsString() {\n\t\treturn getValue(CommonProperty.COLOR, AbstractLabels.DEFAULT_COLOR);\n\t}", "public String getColor() {\r\n return color;\r\n }", "public String getColor() {\n return color;\n }", "public String getColor() {\n return color;\n }", "public String getColor() {\n return color;\n }", "public String getColor() {\n return color;\n }", "public String getColor() {\n return color;\n }", "public String getColor() {\n return color;\n }", "public String getColor() {\n return color;\n }", "public String getColor() {\n return color;\n }", "public final String getFontColor() {\n\t\treturn fontColor;\n\t}", "Color(String text) {\n this.text = text;\n }", "public static Color getTextHighlightColor() {\n return TEXT_HIGHLIGHT;\n }", "public String getColor() {\r\n\t\treturn color;\r\n\t}", "public String getColor() {\n\t\treturn color;\n\t}", "public String getColor() {\n\t\treturn color;\n\t}", "String getColour();", "@Override\n public String getColor() {\n return this.color;\n }", "public char getColor();", "public String getColor() { \n return color; \n }", "public String getColor() {\n return this.color;\n }", "public Color color() {\n\t\tswitch (this) {\n\t\tcase FATAL: {\n\t\t\tColor c = UIManager.getColor(\"nb.errorForeground\"); // NOI18N\n\t\t\tif (c == null) {\n\t\t\t\tc = Color.RED.darker();\n\t\t\t}\n\t\t\treturn c;\n\t\t}\n\t\tcase WARNING:\n\t\t\treturn Color.BLUE.darker();\n\t\tcase INFO:\n\t\t\treturn UIManager.getColor(\"textText\");\n\t\tdefault:\n\t\t\tthrow new AssertionError();\n\t\t}\n\t}", "public String getColor() {\n\t\treturn null;\n\t}", "public String getColor(){\n\t\treturn color;\n\t}", "public static String blue(String text){\n return ANSI_BLUE + text + ANSI_BLUE;\n }", "abstract public String getColor();", "abstract public String getColor();", "public int mo27005e() {\n TextView textView = this.f24573m;\n if (textView != null) {\n return textView.getCurrentTextColor();\n }\n return -1;\n }", "public RMColor getColor()\n {\n return getStyle().getColor();\n }", "protected Shape getTextShape(Graphics2D g2) {\n String txt = value > 999 ? \"1K\" : Objects.toString(value);\n AffineTransform at = txt.length() < 3 ? null : AffineTransform.getScaleInstance(.66, 1d);\n return new TextLayout(txt, g2.getFont(), g2.getFontRenderContext()).getOutline(at);\n }", "public String getColor(){\r\n return color;\r\n }", "public int mo27008h() {\n TextView textView = this.f24577q;\n if (textView != null) {\n return textView.getCurrentTextColor();\n }\n return -1;\n }", "public String toString() {\n\t\treturn String.format(\"Shape: %s,Color: %s\", shape, color);\n\t}", "public final Color getFontColour() {\n return fontColour;\n }", "public Color[] getTextColorsArray() {\n\t\treturn this.textColor;\n\t}", "public String toCodedString() {\n\t\t//System.out.println(toString());\n\t\treturn String.format(\"%s%s\", getColor().toInt(), getShape().toString());\n\t}", "public TextShape (String str, int x, int y, Color col){\n this.str = str;\n this.x = x;\n this.y = y;\n this.col = col;\n }", "public String getColor(){\n return this._color;\n }", "public mxStyleSheet getTextStyle()\n\t{\n\t\treturn textStyle;\n\t}", "Color getColor();", "Color getColor();", "Color getColor();", "Color getColor();", "Color getColor();", "public TextStyle getTextStyle() {\n return this.textStyle;\n }", "public Paint getColorTitle() {\n return bufColorTitle;\n }", "public String colouredText(String word) { //O(1)\n\t\tStringBuilder sb = new StringBuilder();\n\t\tString colorWord = sb.append(ConsoleColour.RED_BRIGHT).append(word).append(ConsoleColour.RESET).toString();\n\t\treturn colorWord;\n\t}", "int getTextStrokeWidth();", "public int getTextLabelBackgroundColor() {\n\t\treturn mTextLabelBackgroundColor;\n\t}", "public int getColor();", "public int getColor();", "public String getLabelColor()\n {\n return myLabelColor;\n }", "@Override\r\n\tpublic String Color() {\n\t\treturn Color;\r\n\t}", "public int getExampleColor() {\n return mTextColor;\n }", "public String obtenColor() {\r\n return color;\r\n }", "public String getColor(){\n return this.color;\n }", "public String getColor() {\n return (String)getAttributeInternal(COLOR);\n }", "java.awt.Color getColor();", "public String getColorString() {\n return left.toString() + \", \" + right.toString();\n }", "public String getColor() {\n return currentLocation.getNodeColor();\n }", "public String getColor() {\n\t\treturn \"Elcolor del vehiculo es: \"+color; \n\t }", "public TextShape (String params){\n Enumeration data = new StringTokenizer(params);\n String shapeType = ((String)data.nextElement()).toLowerCase();\n try {\n if (!shapeType.equals(\"textshape\"))\n\tthrow new Exception(\"Invalid shape for TextShape: \"+params);\n x = Integer.parseInt((String)data.nextElement());\n y = Integer.parseInt((String)data.nextElement());\n int red = Integer.parseInt((String)data.nextElement());\n int green = Integer.parseInt((String)data.nextElement());\n int blue = Integer.parseInt((String)data.nextElement());\n col = new Color(red, green, blue);\n int textStart=0; \n for (int i=0; i<6; i++){textStart = 1+params.indexOf(\" \",textStart);}\n str=params.substring(textStart);\n }\n catch (Exception ex){\n System.out.println(\"Invalid parameters for TextShape shape: \"+params);\n System.out.println(ex.getMessage());\n ex.printStackTrace();\n }\n }", "private String getColor(String tagName) {\n if (labelColor.containsKey(tagName)) {\n return labelColor.get(tagName);\n } else {\n Random random = new Random();\n // create a big random number - maximum is ffffff (hex) = 16777215 (dez)\n int nextInt = random.nextInt(256 * 256 * 256);\n // format it as hexadecimal string (with hashtag and leading zeros)\n String colorCode = String.format(\"#%06x\", nextInt);\n labelColor.put(tagName, colorCode);\n return labelColor.get(tagName);\n }\n }", "public static String purple(String text){\n return ANSI_PURPLE + text + ANSI_PURPLE;\n }", "public String getLabelColorText(DotPalette pal) {\n return (this==BLACK || (pal==DotPalette.STANDARD && (this==RED || this==BLUE))) ? \"white\" : \"black\";\n }", "public Colour getForegroundColor() {\n return colour == null ? null : colour.getForeground();\n }", "public String getColor() {\r\n\t\treturn \"Color = [\"+ ColorUtil.red(color) + \", \"+ ColorUtil.green(color) + \", \"+ ColorUtil.blue(color) + \"]\";\r\n\t}", "@Override\n Color getColor() {\n return new Color(32, 83, 226, 255);\n }", "@Override\n public String toString() {\n return color.name();\n }", "public String getColorStyle() {\n return colorStyle;\n }", "public Color getStringColor() {\n return this.getConfiguredColor(PreferencesConstants.COLOR_STRING);\n }", "public Color getColor();", "public Color getColor();", "public Color getColor();" ]
[ "0.7665754", "0.7565578", "0.75399196", "0.7325683", "0.72656024", "0.7190755", "0.70639914", "0.6978481", "0.6928252", "0.68144906", "0.6797603", "0.67855865", "0.6698176", "0.6680454", "0.66203105", "0.64324576", "0.63544536", "0.63306457", "0.63306457", "0.632699", "0.630596", "0.6304122", "0.6293784", "0.6273101", "0.62628335", "0.6255855", "0.6255713", "0.6248557", "0.62484", "0.62484", "0.62484", "0.62484", "0.62484", "0.62484", "0.62484", "0.62484", "0.62313205", "0.6231008", "0.6213002", "0.62099624", "0.6186878", "0.6186878", "0.61867666", "0.6182619", "0.617465", "0.6168561", "0.61478585", "0.61363685", "0.6130194", "0.612864", "0.6118112", "0.6114555", "0.6114555", "0.6088586", "0.60829806", "0.60741776", "0.6071453", "0.60700864", "0.60613734", "0.6058848", "0.6053418", "0.60516566", "0.60515374", "0.6038699", "0.60385287", "0.60302883", "0.60302883", "0.60302883", "0.60302883", "0.60302883", "0.6029297", "0.6028259", "0.602741", "0.6011055", "0.598104", "0.59677655", "0.59677655", "0.5960828", "0.5958736", "0.5955955", "0.59447", "0.5933462", "0.59204596", "0.591346", "0.589498", "0.5886149", "0.58490205", "0.5833926", "0.58330697", "0.5831011", "0.5829061", "0.5824752", "0.5823645", "0.5822093", "0.580841", "0.5806396", "0.5799893", "0.57988554", "0.57988554", "0.57988554" ]
0.6777608
12
Sets the text color for the shape.
public void setTextColor(RMColor aColor) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void colorText() {\r\n String theColor = textShape.getText();\r\n if (theColor.contains(\"blue\")) {\r\n textShape.setForegroundColor(Color.BLUE);\r\n }\r\n else if (theColor.contains(\"red\")) {\r\n textShape.setForegroundColor(Color.RED);\r\n }\r\n else {\r\n textShape.setForegroundColor(Color.BLACK);\r\n }\r\n }", "public void setTextColor(String textColor);", "public void setTextColor( Color txtColor ) {\r\n textColor = txtColor;\r\n }", "Color(String text) {\n this.text = text;\n }", "public void setTextColor(Color textColor) {\r\n this.textColor = textColor;\r\n }", "public void setTextColor(int textColor) {\n this.textColor = textColor;\n }", "public void setTextColor(int color) {\n mTextColor = color;\n }", "private void highlightText(Text text){\r\n\t text.changeColor(AnimalScript.COLORCHANGE_COLOR, Color.RED, new TicksTiming(0), new TicksTiming(0));\r\n\t }", "public void setTextColor(@ColorInt int textColor) {\n mTextContainer.setTextColor(textColor);\n }", "public void setTextColorAndFont(GraphicsContext graphicsContext) {\r\n\t\tgraphicsContext.setFill(Color.WHITE);\r\n\t\tgraphicsContext.setFont(Font.font(25));\r\n\t}", "public void setColor(String c);", "public CommandViewBuilder setTextColor(Color textColor)\n\t\t{\n\t\t\tthis.textColor = textColor;\n\t\t\treturn this;\n\t\t}", "public int textColor() {\n\t\treturn textColor;\n\t}", "public native final EditorBaseEvent fontColor(String val) /*-{\n\t\tthis.fontColor = val;\n\t\treturn this;\n\t}-*/;", "public Color getTextColor() {\r\n return textColor;\r\n }", "public IconBuilder textColor(int color) {\n\t\tthis.textColor = color;\n\t\treturn this;\n\t}", "public TextShape (String str, int x, int y, Color col){\n this.str = str;\n this.x = x;\n this.y = y;\n this.col = col;\n }", "public void changeColor (Color color){\n ((Label) _node).setTextFill(color);\n }", "public void setTextColor(int color) {\n this.textColor = 0xFF000000 | color; // Remove the alpha channel\n\n if (ad != null) {\n ad.setTextColor(color);\n }\n\n invalidate();\n }", "ColorGroup(String text) {\n this.text = text;\n }", "public void setColor(String c)\n { \n color = c;\n draw();\n }", "protected void setForegroundColor(Color color) {\r\n\t\tif (primaryShape != null) {\r\n\t\t\tprimaryShape.setForegroundColor(color);\r\n\t\t}\r\n\t}", "public Color getTextColor(){\r\n return textColor;\r\n }", "public void setText(String text, int textSize, Colour textColour) {\n this.text = text;\r\n this.textSize = textSize;\r\n this.textColour = textColour;\r\n xTextOffset = w / 2 - text.length() * 7.666f;\r\n yTextOffset = h / 2 + textSize / 2.6666f;\r\n }", "public void setFillColor(Color color);", "void setGOLabelTextColor(DREM_Timeiohmm.Treenode treeptr, Color newColor) {\n\t\tif (treeptr != null) {\n\t\t\ttreeptr.goText.setTextPaint(newColor);\n\n\t\t\tfor (int nchild = 0; nchild < treeptr.numchildren; nchild++) {\n\t\t\t\tsetGOLabelTextColor(treeptr.nextptr[nchild], newColor);\n\t\t\t}\n\t\t}\n\t}", "public void setFontColor(int red, int green, int blue, int alpha){\n if(isTheColorInputCorrect(red, green, blue, alpha)){\n fontColor = new Color(red, green, blue); \n }\n }", "public void setFontColor(Color fontColor) {\r\n try {\r\n this.setForeground(fontColor);\r\n } catch (Exception e) {\r\n ToggleButton.logger.error(this.getClass().toString() + \" : Error establishing font color\", e);\r\n if (ApplicationManager.DEBUG) {\r\n ToggleButton.logger.error(null, e);\r\n }\r\n }\r\n }", "public void setStrokeColor(Color color);", "private void setPenColor() {\n\t}", "private void setConsoleText(String text) {\n //<font color='red'>red</font>\n consoleView.setText(Html.fromHtml(text), TextView.BufferType.SPANNABLE);\n }", "@Override\n public GralColor setForegroundColor(GralColor color)\n {\n return null;\n }", "public Color getTextColor();", "public void setTextSettings(){\n\n ArrayList<Text> headlines = new ArrayList<>();\n //Add any text element here\n //headlines.add(this.newText);\n\n Color textColorHeadlines = new Color(0.8,0.8,0.8,1);\n\n for ( Text text : headlines ){\n text.setFont(Font.font(\"verdana\", FontWeight.BOLD, FontPosture.REGULAR, 20));\n text.setFill(textColorHeadlines);\n text.setEffect(new DropShadow(30, Color.BLACK));\n\n }\n\n }", "public RMColor getTextColor() { return RMColor.black; }", "public String getTextColor();", "public void _TextLineColor() {\n log.println(\"Testing with custom Property tester\") ;\n testProperty(\"TextLineColor\", ColorTester) ;\n }", "@NoProxy\n @NoWrap\n public void setColor(final String val) {\n color = val;\n }", "@Override\n\tpublic void setShapeColor(Color color) {\n\t\tthis.decorateComponent.setShapeColor(color);\n\t}", "public void setProgressTextColor(@ColorInt int textColor){\n this.mProgressTextColor = textColor;\n }", "public void nodeColor(String str) { setSelected(node_colors, str); }", "Integer getTxtColor();", "public void setColor(Color color);", "@AutoEscape\n\tpublic String getTextColor();", "public void setLblTextColor(Color color) {\n lblSysteemMelding.setForeground(color);\n }", "@Override\n public void setPriorityTextColor(String textColor) {\n btnPrioritySet.setTextColor(Color.parseColor(textColor));\n }", "public final void setFontColor(String fontColor) {\n\t\tthis.fontColor = fontColor;\n\t}", "public void setColor(String value) {\n setAttributeInternal(COLOR, value);\n }", "String getTextStrokeColorAsString();", "public void setColor()\n {\n if (wall != null) // only if it's painted already...\n {\n wall.changeColor(\"red\");\n window.changeColor(\"black\");\n roof.changeColor(\"green\");\n sun.changeColor(\"yellow\");\n }\n }", "public void setColor()\n {\n if(wall != null) // only if it's painted already...\n {\n wall.changeColor(\"yellow\");\n window.changeColor(\"black\");\n roof.changeColor(\"red\");\n sun.changeColor(\"yellow\");\n }\n }", "public void setColor()\n {\n if(wall != null) // only if it's painted already...\n {\n wall.changeColor(\"red\");\n window.changeColor(\"black\");\n roof.changeColor(\"green\");\n sun.changeColor(\"yellow\");\n }\n }", "public void setColor(Color c);", "@Override\n\tpublic void setShapeColor(Color color) {\n\t\tthis.currentColor = color;\n\t}", "public void setForegroundColor(String colorString)\r\n {\r\n/* if(colorString.equals(\"red\"))\r\n graphic.setColor(Color.red);\r\n else if(colorString.equals(\"black\"))\r\n graphic.setColor(Color.black);\r\n else if(colorString.equals(\"blue\"))\r\n graphic.setColor(Color.blue);\r\n else if(colorString.equals(\"yellow\"))\r\n graphic.setColor(Color.yellow);\r\n else if(colorString.equals(\"green\"))\r\n graphic.setColor(Color.green);\r\n else if(colorString.equals(\"magenta\"))\r\n graphic.setColor(Color.magenta);\r\n else if(colorString.equals(\"white\"))\r\n graphic.setColor(Color.white);\r\n else if(colorString.equals(\"cyan\"))\r\n graphic.setColor(Color.cyan);\r\n else\r\n graphic.setColor(Color.black); */\r\n }", "private void setDefaultTextColor(Context context) {\n\n }", "public void renderText(String text, int x, int y, int color)\n {\n renderText(text, x, y, color, 1.0f);\n }", "public PatchTextStyleProperties color(String color) {\n this.color = color;\n return this;\n }", "@SuppressWarnings({ \"nls\", \"boxing\" })\n\tpublic final void appendToPane(final String text, final Color color)\n\t{\n\t\tStyleContext sc = StyleContext.getDefaultStyleContext();\n\t\tAttributeSet aset = sc.addAttribute(SimpleAttributeSet.EMPTY, StyleConstants.Foreground, color);\n\n\t\t//\t\taset = sc.addAttribute(aset, StyleConstants.FontFamily, \"Menlo Regular\");\n\t\t//\t\taset = sc.addAttribute(aset, StyleConstants.FontSize, 12);\n\t\taset = sc.addAttribute(aset, StyleConstants.Alignment, StyleConstants.ALIGN_LEFT);\n\n\t\tint len = io.getTextPane().getDocument().getLength();\n\t\tio.getTextPane().setCaretPosition(len);\n\t\tio.getTextPane().setCharacterAttributes(aset, false);\n\t\tio.getTextPane().replaceSelection(text);\n\t}", "private void updateTextColor(TextView view, boolean isOn) {\n if (isOn) {\n view.setTextColor(Color.GREEN);\n } else {\n view.setTextColor(Color.BLACK);\n }\n }", "public void setColor(Color clr){\n color = clr;\n }", "@Override\n public void changeColor(ColorEvent ce) {\n \n txtRed.setText(\"\"+ ce.getColor().getRed());\n txtGreen.setText(\"\"+ ce.getColor().getGreen());\n txtBlue.setText(\"\"+ ce.getColor().getBlue());\n \n \n }", "public void initializeText(){\n\t\tfont = new BitmapFont();\n\t\tfont1 = new BitmapFont();\n\t\tfont1.setColor(Color.BLUE);\n\t\tfont2 = new BitmapFont();\n\t\tfont2.setColor(Color.BLACK);\n\t}", "public void setColor(String color){\n this.color = color;\n }", "private void setColor() {\n cell.setStroke(Color.GRAY);\n\n if (alive) {\n cell.setFill(aliveColor);\n } else {\n cell.setFill(deadColor);\n }\n }", "public void setColor(int color);", "public void setColor(int color);", "public void setColor()\n {\n if(eyeL != null) // only if it's painted already...\n {\n eyeL.changeColor(\"yellow\");\n eyeR.changeColor(\"yellow\");\n nose.changeColor(\"green\");\n mouthM.changeColor(\"red\");\n mouthL.changeColor(\"red\");\n mouthR.changeColor(\"red\");\n }\n }", "public void setColor(Color c) { color.set(c); }", "public static void setGlobalTextColor(Context context, int color){\n SharedPreferences.Editor edit = context.getSharedPreferences(\"DEFAULTS\", Context.MODE_PRIVATE).edit();\n edit.putInt(\"textColor\", color);\n edit.apply();\n\n ArrayList<Outfit> list = getOutfitList(context);\n if(list.size()>0){\n for(int i = 0 ; i<list.size(); i++){\n list.get(i).setTextColor(color);\n }\n saveOutfitJSON(context, list);\n }\n }", "public void setForegroundColor(int color) {\n this.foregroundColor = color;\n }", "public Text(String text, Color color, String font)\n {\n this.text = text;\n this.color = color;\n this.font = font;\n \n /*\n GreenfootImage textImg=new GreenfootImage(\" \"+text+\" \", 24, Color.RED, new Color(0, 0, 0, 0));\n GreenfootImage image=new GreenfootImage(textImg.getWidth()+8, textImg.getHeight()+8);\n image.setColor(Color.BLACK);\n image.fill();\n image.setColor(Color.WHITE);\n image.fillRect(3, 3, image.getWidth()-6, image.getHeight()-6);\n image.setColor(Color.YELLOW);\n image.drawImage(textImg, (image.getWidth()-textImg.getWidth())/2, (image.getHeight()-textImg.getHeight())/2);\n setImage(image);\n */\n }", "public void setColor(String color) {\r\n this.color = color;\r\n }", "@Override\r\n\tpublic void setColor(String color) {\n\t\tthis.color=color;\r\n\t\tSystem.out.println(\"我用\"+color+\"颜色进行填充。\");\r\n\t}", "public void setStyles(String text) {\n getState().styles = text;\n }", "public void setColor(Color color) {\n this.color = color;\n }", "@Override\n public Color getFontColor(){\n return Color.BLACK;\n }", "private void changeShapeColor(int r, int g, int b)\n\t{\n\t\tthis.red = r;\n\t\tthis.green = g;\n\t\tthis.blue = b;\n\t}", "public void setColor(Graphics2D g){\r\n if(color.equals(\"yellow\") || color.equals(\"Yellow\"))\r\n g.setColor(Color.yellow);\r\n if(color.equals(\"red\") || color.equals(\"Red\"))\r\n g.setColor(Color.red);\r\n if(color.equals(\"blue\") || color.equals(\"Blue\"))\r\n g.setColor(Color.blue);\r\n \r\n }", "public void setColor(int r, int g, int b);", "private static void updateColors() {\n try {\n text.setBackground(colorScheme[0]); outputText.setBackground(colorScheme[0]); \n //frame.setBackground(colorScheme[0]);\n\n //Determines the color to set the splitter\n if(colorScheme[0].equals(Color.BLACK)) splitter.setBackground(Color.DARK_GRAY.darker());\n else if(colorScheme[0].equals(new Color(35,37,50))) splitter.setBackground(new Color(35,37,50).brighter());\n else if(colorScheme[0].equals(Color.GRAY) || colorScheme[0].equals(Color.LIGHT_GRAY) || colorScheme[0].equals(Color.WHITE)) splitter.setBackground(null);\n else splitter.setBackground(colorScheme[0].darker());\n\n text.getStyledDocument().getForeground(attributeScheme[11]); //Will work, but needs to be refreshed somehow.\n outputText.setForeground(colorScheme[11]); \n } catch (Exception e) {\n System.out.println(\"The error was here!\");\n e.printStackTrace();\n }\n }", "private void updateTextColor() {\n if (mLauncher == null) {\n return;\n }\n ItemInfo info = (ItemInfo) getTag();\n if (info == null || mSupportCard) {\n return;\n }\n int color = getDyncTitleColor(info);\n mIconTitleColor = color;\n setPaintShadowLayer(color);\n if (getPaint().getColor() != color) {\n setTextColor(color);\n }\n\n }", "public int getTextColor() {\n return mTextColor;\n }", "public void setColor(Color color) {\n\t\tp.setPaint(color);\n\t\tif (textArea!=null) {\n\t\t\tclear();\n\t\t\tcaretUpdate(null); // Force a highlight repaint.\n\t\t}\n\t}", "public void setStrokeColor(RMColor aColor)\n{\n // Set stroke color\n if(aColor==null) setStroke(null);\n else if(getStroke()==null) setStroke(new RMStroke(aColor, 1));\n else getStroke().setColor(aColor);\n}", "public void setForegroundColor(Color c) {\n this.foreColor = c;\n updateFigureForModel(nodeFigure);\n }", "void setShapeLabel(String Label);", "@Override\n public ShapeColor setColor(int r, int g, int b) {\n return new ShapeColor(r, g, b);\n }", "public void drawText(final String text, final int xPos, final int yPos, final Color color){\n font.setColor(Color.BLACK);\n font.setScale(0.51f);\n batch.begin();\n setDrawmode(GL10.GL_MODULATE);\n font.drawMultiLine(batch, text, xPos, yPos);\n batch.end();\n \n font.setColor(Color.WHITE);\n font.setScale(0.5f);\n batch.begin();\n font.drawMultiLine(batch, text, xPos, yPos);\n batch.end();\n font.setScale(1f);\n }", "public void setLblColor(Color value) {\n lblColor = value;\n }", "public void setColor(String pColor){\n this._color=pColor;\n }", "@Override\n public void setColor(String parseColor) {\n this.parseColor = parseColor;\n edtTitle.setTextColor(Color.parseColor(parseColor));\n }", "@Override\n\tpublic String shape() {\n\t\treturn \"Text\";\n\t}", "public TextButton (String text,int textSize, Color color)\n {\n buttonText = text;\n GreenfootImage tempTextImage = new GreenfootImage (text, textSize, color, Color.WHITE);\n myImage = new GreenfootImage (tempTextImage.getWidth() + 8, tempTextImage.getHeight() + 8);\n myImage.setColor (Color.WHITE);\n myImage.fill();\n myImage.drawImage (tempTextImage, 4, 4);\n\n myImage.setColor (Color.BLACK);\n myImage.drawRect (0,0,tempTextImage.getWidth() + 7, tempTextImage.getHeight() + 7);\n setImage(myImage);\n }", "public void setColor(Color c) {\n color = c;\n }", "private void setRedBorder(Shape decoratedShape) {\n\t\tSystem.out.println(\"Border Color: Red\");\r\n\t}", "public void setColor(String color) {\r\n this.color = color;\r\n }", "public IconBuilder autoTextColor() {\n\t\tthis.textColor = AUTO_TEXT_COLOR;\n\t\treturn this;\n\t}", "public static String blue(String text){\n return ANSI_BLUE + text + ANSI_BLUE;\n }", "public void strokeString(float x, float y, String text);" ]
[ "0.82916105", "0.7709654", "0.7456445", "0.7306153", "0.71230316", "0.69286937", "0.6493149", "0.6444193", "0.63917714", "0.63482976", "0.6328367", "0.6322988", "0.63207155", "0.6289367", "0.62764084", "0.6192379", "0.61911064", "0.6188627", "0.61779255", "0.6141818", "0.6104092", "0.6103091", "0.60794276", "0.6061366", "0.6029505", "0.60058504", "0.6003669", "0.5948482", "0.5918347", "0.58900225", "0.58841753", "0.58797115", "0.5874257", "0.5852724", "0.58376503", "0.5821739", "0.5808672", "0.58027875", "0.5795602", "0.57760036", "0.57679945", "0.57611656", "0.5748024", "0.5746685", "0.57432956", "0.57364494", "0.571789", "0.5698558", "0.5691475", "0.56908417", "0.56809783", "0.565986", "0.5655364", "0.56520337", "0.5650645", "0.56231534", "0.5615123", "0.56068295", "0.56027484", "0.5601342", "0.5599387", "0.5598357", "0.5596785", "0.5594459", "0.5593894", "0.55859685", "0.55859685", "0.55781585", "0.5565254", "0.5551072", "0.5549862", "0.55432194", "0.55412793", "0.5533043", "0.5530722", "0.55260414", "0.55207556", "0.55201924", "0.5520176", "0.55187666", "0.5514627", "0.5509404", "0.55088675", "0.55082005", "0.55048627", "0.55005556", "0.54983944", "0.5496344", "0.54923886", "0.5481023", "0.5477739", "0.5476946", "0.54769254", "0.545623", "0.5449406", "0.54466844", "0.54452574", "0.54426295", "0.5438305", "0.5422689" ]
0.7072355
5
Returns whether font has been set.
public boolean isFontSet() { return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean hasSoundFont() {\n\t\treturn soundFont != null;\n\t}", "public boolean isFontNameSelected()\r\n\t{\r\n\t\t// return false if Font Name list has nothing selected, true if an item is selected\r\n\t\treturn !fontNamesList.isSelectionEmpty();\r\n\t}", "public IsFont getFont() {\n\t\treturn getOriginalFont();\n\t}", "boolean isAlwaysvectorfont();", "public boolean hasOverrideFor(String fontKey) {\n return super.hasValueFor(fontKey);\n }", "public boolean isTextPainted() {\r\n return textPainted;\r\n }", "public boolean isTextPainted() {\r\n return textPainted;\r\n }", "public boolean isBigFontSet() {\n return hasBig;\n }", "public boolean isSetItalic()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(ITALIC$6) != 0;\n }\n }", "public boolean isSetBoldItalic()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(BOLDITALIC$8) != 0;\n }\n }", "public void GetFont (){\n fontBol = false;\n fontBolS = true;\n fontBolA = true;\n fontBolW = true;\n }", "public boolean isSetBold()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(BOLD$4) != 0;\n }\n }", "public boolean isSetFormat()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(FORMAT$10) != 0;\n }\n }", "public boolean isSetOutputEncoding()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().find_attribute_user(OUTPUTENCODING$18) != null;\n }\n }", "@UnsupportedAppUsage\n public boolean freeze() {\n if (mBuilderPtr == 0) {\n throw new IllegalStateException(\"This FontFamily is already frozen\");\n }\n mNativePtr = nCreateFamily(mBuilderPtr);\n mBuilderPtr = 0;\n return mNativePtr != 0;\n }", "public static boolean isFontCached(String fontName) {\n for (String name : mFontsCache.keySet()) {\n if (name.equals(fontName)) {\n return true;\n }\n }\n return false;\n }", "public String getFont() {\n return font;\n }", "public static boolean setSelectedDefaultFontName(String name) {\n return nativeSetSelectedDefaultFontName(name);\n }", "public boolean isIsFontStrikeout() {\n return isFontStrikeout;\n }", "private void setFont() {\n\t}", "public FontType getFontType() {\n\t\treturn font;\n\t}", "public boolean isIsFontBold() {\n return isFontBold;\n }", "@Override\r\n public boolean isText ()\r\n {\r\n Shape shape = getShape();\r\n\r\n return (shape != null) && shape.isText();\r\n }", "public boolean isIsFontUnderlined() {\n return isFontUnderlined;\n }", "public boolean isSerif() throws PDFNetException {\n/* 572 */ return IsSerif(this.a);\n/* */ }", "public void GetFontA (){\n fontBolA = false;\n fontBolS = true;\n fontBol = true;\n fontBolW = true;\n }", "public boolean isIsFontItalic() {\n return isFontItalic;\n }", "public void GetFontS (){\n fontBolS = false;\n fontBol = true;\n fontBolA = true;\n fontBolW = true;\n }", "public static boolean needButtonFontMetrics() {\n return !adjustedButtonSize;\n }", "public boolean isSetEncoding() {\n return this.encoding != null;\n }", "public Font getFont() {\r\n return font;\r\n }", "public Font getFont() {\r\n return font;\r\n }", "boolean hasTheme();", "public Font getFont() {\n\treturn font;\n }", "public Font getFont() {\n\treturn font;\n }", "public Font getFont(\n )\n {return font;}", "public void setTrueFont(Font font)\n\t{\n\t\tString bodyRule = \"body { font-family: \" + font.getFamily() + \"; \" +\n\t\t\t\t\"font-size: \" + font.getSize() + \"pt; }\";\n\t\t((HTMLDocument)getDocument()).getStyleSheet().addRule(bodyRule);\n\t\t//Sets the font for when the JEditorPane is switched to plain text.\n\t\tsetFont(font);\n\t}", "public Font getFont() {\n return font;\n }", "public static boolean useIText() {\n\t\treturn (isWindows() || isLinux() || isSolaris());\n\t}", "public Font getFont() {\n return this.font;\n }", "public String getFont()\n {\n return (String) getStateHelper().eval(PropertyKeys.font, null);\n }", "public boolean isSetCoResultadoUsTransfontanela() {\n return EncodingUtils.testBit(__isset_bitfield, __CORESULTADOUSTRANSFONTANELA_ISSET_ID);\n }", "public boolean isSetStyleCode()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().find_attribute_user(STYLECODE$16) != null;\n }\n }", "public boolean isSetStyleCode()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().find_attribute_user(STYLECODE$16) != null;\n }\n }", "public boolean isSetForeground() {\n return EncodingUtils.testBit(__isset_bitfield, __FOREGROUND_ISSET_ID);\n }", "public CanvasFont getFont() {\n return this.textFont;\n }", "public void GetFontW (){\n fontBolW = false;\n fontBolS = true;\n fontBolA = true;\n fontBol = true;\n }", "public boolean hasFormat() {\r\n return hasFormat;\r\n }", "public boolean isSetTextSpan() {\n return this.textSpan != null;\n }", "public Font getFont() {\r\n if (font==null)\r\n return getDesktop().getDefaultFont();\r\n else\r\n return font;\r\n }", "public static boolean hasLargeFont(MetalTheme aTheme) {\n return aTheme == LARGE_FONT || aTheme == LOW_VISION;\n }", "public final void setIsFreeText(java.lang.Boolean isfreetext)\r\n\t{\r\n\t\tsetIsFreeText(getContext(), isfreetext);\r\n\t}", "public boolean isSetText() {\r\n return this.text != null;\r\n }", "public boolean isSetText() {\n return this.text != null;\n }", "public boolean isSetBuffer() {\n return this.buffer != null;\n }", "public boolean isSetBuffer() {\n return this.buffer != null;\n }", "public boolean isSetPenClr()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(PENCLR$12) != 0;\n }\n }", "public boolean isSetText()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(TEXT$18) != 0;\n }\n }", "public boolean isTranslationPainting ()\r\n {\r\n return constants.translationPainting.getValue();\r\n }", "public boolean hasRenderers()\r\n {\r\n return !_renderers.isEmpty();\r\n }", "boolean hasTextDocument();", "boolean is(TextStyle style);", "public boolean hasText() {\n return !TextUtils.isEmpty(mText);\n }", "@Action(selectedProperty = \"bigFontSet\", enabledProperty = \"windowsOS\")\n public void toggleFontSet() {\n }", "public final boolean hasStyle() {\n return hasStyle;\n }", "public boolean isSetRawTextSpan() {\n return this.rawTextSpan != null;\n }", "public boolean isSetInputEncoding()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().find_attribute_user(INPUTENCODING$16) != null;\n }\n }", "@Override\n public String getFont() {\n return graphicsEnvironmentImpl.getFont(canvas);\n }", "public static boolean getIsDrawing() {\n\t\treturn isDrawing;\n\t}", "public Font getFont() {\n\t\treturn f;\n\t}", "public void setFont(Font value) {\r\n this.font = value;\r\n }", "public boolean isSetColor() {\r\n return this.color != null;\r\n }", "public Font font() {\n return font;\n }", "public boolean isSetColor() {\n return this.color != null;\n }", "public org.openxmlformats.schemas.drawingml.x2006.main.CTTextFont getFont()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.openxmlformats.schemas.drawingml.x2006.main.CTTextFont target = null;\n target = (org.openxmlformats.schemas.drawingml.x2006.main.CTTextFont)get_store().find_element_user(FONT$0, 0);\n if (target == null)\n {\n return null;\n }\n return target;\n }\n }", "public boolean isSentencePainting ()\r\n {\r\n return constants.sentencePainting.getValue();\r\n }", "public void saveFont()\r\n\t{\r\n\t\tsavedFont = g.getFont();\r\n\t}", "public boolean isSetAudioSpan() {\n return this.audioSpan != null;\n }", "static native boolean areFontsTheSame(int font1, int font2);", "public final boolean isText() {\n return this.getTopLevelType().equals(\"text\");\n }", "abstract Font getFont();", "public boolean isSetFamilyAssets() {\n return EncodingUtils.testBit(__isset_bitfield, __FAMILYASSETS_ISSET_ID);\n }", "public boolean isSetFileByteBuffer() {\n return this.fileByteBuffer != null;\n }", "public boolean isSetWidth()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().find_attribute_user(WIDTH$20) != null;\n }\n }", "public boolean isUsed()\n {\n return (_isUsed(\n getNativeSVGProxyHandle(),\n getHandle()) > 0 ? true : false);\n }", "public void setFont( Font font ) {\r\n this.font = font;\r\n }", "private void loadSettingFont() {\n\t\tSharedPreferences mysettings = getSharedPreferences(\n\t\t\t\tPREFERENCES_FILE_NAME, 0);\n\t\tindexFont = mysettings.getInt(\"indexFont\", 1);\n\t\tLog.d(\"indexFont\", indexFont + \"\");\n\t\tswitch (indexFont) {\n\t\tcase 0:\n\t\t\tmTypeface = Typeface.DEFAULT;\n\t\t\tbreak;\n\t\tcase 1:\n\t\t\tmTypeface = Typeface.createFromAsset(getApplicationContext()\n\t\t\t\t\t.getAssets(), \"SEGOEUI.TTF\");\n\t\t\tbreak;\n\t\tcase 2:\n\t\t\tmTypeface = Typeface.createFromAsset(getApplicationContext()\n\t\t\t\t\t.getAssets(), \"tinhyeu.ttf\");\n\t\t\tbreak;\n\t\tcase 3:\n\t\t\tmTypeface = Typeface.createFromAsset(getApplicationContext()\n\t\t\t\t\t.getAssets(), \"thuphap.ttf\");\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tmTypeface = Typeface.createFromAsset(getApplicationContext()\n\t\t\t\t\t.getAssets(), \"SEGOEUI.TTF\");\n\t\t\tbreak;\n\t\t}\n\t}", "public boolean isPaint() {\n\t\treturn isPaint;\n\t}", "public boolean isCalibrated()\n {\n return pntCalibration != null;\n }", "boolean hasText();", "boolean hasText();", "boolean hasText();", "boolean hasText();", "public boolean isSetXmlLang()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().find_attribute_user(XMLLANG$26) != null;\n }\n }", "public boolean isUseActualText() {\r\n\t\treturn useActualText;\r\n\t}", "boolean hasFocus() {\n\t\t\tif (text == null || text.isDisposed()) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\treturn text.getShell().isFocusControl() || text.isFocusControl();\n\t\t}", "private void setFont() {\n try {\n setFont(Font.loadFont(new FileInputStream(FONT_PATH), 23));\n } catch (FileNotFoundException e) {\n setFont(Font.font(\"Verdana\", 23));\n }\n }", "public boolean isSetShfit() {\n return this.shfit != null;\n }", "public static boolean hasText() {\n Transferable data = Toolkit.getDefaultToolkit().getSystemClipboard().getContents(null);\n try {\n String value = (String)data.getTransferData(DataFlavor.stringFlavor);\n return value != null;\n }\n catch (Exception ignore) {\n return false;\n }\n }", "public void setFont(Font font)\n {\n this.font = font;\n }" ]
[ "0.7472431", "0.71607864", "0.6843799", "0.679147", "0.6649706", "0.661485", "0.661485", "0.6586211", "0.653444", "0.64268124", "0.6351555", "0.6333444", "0.6269219", "0.615899", "0.61136734", "0.60891736", "0.6070329", "0.60432434", "0.60413885", "0.6035752", "0.6007081", "0.59866637", "0.597832", "0.59782267", "0.594705", "0.5933262", "0.59266967", "0.5901624", "0.58714753", "0.58669376", "0.5865347", "0.5865347", "0.5862132", "0.5861678", "0.5861678", "0.5822022", "0.58152264", "0.5806487", "0.57982403", "0.57810956", "0.5772584", "0.5762829", "0.5740937", "0.5740937", "0.5738744", "0.57383204", "0.57364947", "0.5726953", "0.5726299", "0.5719001", "0.571847", "0.5717858", "0.57006437", "0.569786", "0.5688822", "0.5688822", "0.5683235", "0.56751525", "0.5659845", "0.5624242", "0.5623404", "0.561593", "0.56109095", "0.56105345", "0.5603736", "0.5598193", "0.5594809", "0.5590894", "0.5578415", "0.5564742", "0.55630296", "0.5543387", "0.5539509", "0.55394816", "0.55390793", "0.5533781", "0.5525846", "0.5522821", "0.55194694", "0.5504979", "0.54981124", "0.5495625", "0.5492883", "0.5481204", "0.54770225", "0.54748696", "0.5470525", "0.5467323", "0.54651487", "0.54645216", "0.54645216", "0.54645216", "0.54645216", "0.54503983", "0.54461324", "0.5445764", "0.54394114", "0.54358405", "0.5425991", "0.542597" ]
0.81976825
0
Returns the font for the shape (defaults to parent font).
public RMFont getFont() { return getParent()!=null? getParent().getFont() : null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public String getFont() {\n return graphicsEnvironmentImpl.getFont(canvas);\n }", "abstract Font getFont();", "public Font getFont(\n )\n {return font;}", "public abstract Font getFont();", "public RMFont getFont()\n {\n return getStyle().getFont();\n }", "public String getFont()\n {\n return (String) getStateHelper().eval(PropertyKeys.font, null);\n }", "public String getFont() {\n return font;\n }", "public Font getFont() {\r\n if (font==null)\r\n return getDesktop().getDefaultFont();\r\n else\r\n return font;\r\n }", "public static Font getFont() {\n return getFont(12);\n }", "public Font getFont()\r\n\t{\r\n\t\treturn _g2.getFont();\r\n\t}", "public Font getFont() {\n\t\treturn f;\n\t}", "Font createFont();", "public Font getFont() {\n return font;\n }", "public Font getFont() {\r\n return font;\r\n }", "public Font getFont() {\r\n return font;\r\n }", "public Font font() {\n return font;\n }", "public CanvasFont getFont() {\n return this.textFont;\n }", "public IsFont getFont() {\n\t\treturn getOriginalFont();\n\t}", "public Font getFont() {\n\treturn font;\n }", "public Font getFont() {\n\treturn font;\n }", "public Font getFont() {\n return this.font;\n }", "public String getFontName()\n {\n return font.getFontName();\n }", "public Font createFont() {\n\t\treturn null;\n\t}", "public Font getFont() {\n return GraphicsEnvironment.getLocalGraphicsEnvironment()\n .getAllFonts()[0];\n }", "public String getName() {\n return fontName;\n }", "public Font getLabelFont();", "public org.openxmlformats.schemas.drawingml.x2006.main.CTTextFont getFont()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.openxmlformats.schemas.drawingml.x2006.main.CTTextFont target = null;\n target = (org.openxmlformats.schemas.drawingml.x2006.main.CTTextFont)get_store().find_element_user(FONT$0, 0);\n if (target == null)\n {\n return null;\n }\n return target;\n }\n }", "public String getFontName();", "public String getFontName();", "public String getFontName();", "FONT createFONT();", "@Override\n\tpublic String shape() {\n\t\treturn \"Text\";\n\t}", "public Font getStandardFont(DiagramContext context) {\n\t\treturn context.getResources().getSystemFont();\n\t}", "public FontStyle getStyle();", "String getShapeLabel();", "COSName getFontName()\r\n\t{\r\n\t\tint setFontOperatorIndex = appearanceTokens.indexOf(Operator.getOperator(\"Tf\"));\r\n\t\treturn (COSName) appearanceTokens.get(setFontOperatorIndex - 2);\r\n\t}", "public native Font getFont() /*-{\n\t\tvar jso = [email protected]::getJsObj()();\n\t\tvar obj = jso.font;\n\t\treturn @com.emitrom.ti4j.mobile.client.ui.style.Font::new(Lcom/google/gwt/core/client/JavaScriptObject;)(obj);\n }-*/;", "public String fontName() {\n\t\treturn fontName;\n\t}", "public FontFinder getFontFinder() {\n return NameFont;\n }", "public FontProps getFontProps() {\n\t\treturn mFont;\n\t}", "public native final String fontFamily() /*-{\n\t\treturn this.fontFamily;\n\t}-*/;", "public FontType getFontType() {\n\t\treturn font;\n\t}", "public static String getFontName() {\n return \"Comic Sans MS\";\n }", "String getShapeName();", "public String getFontFamily() {\n Object value = library.getObject(entries, FONT_FAMILY);\n if (value instanceof StringObject) {\n StringObject familyName = (StringObject) value;\n return familyName.getDecryptedLiteralString(library.getSecurityManager());\n }\n return FONT_NAME;\n }", "public String getFontName() {\n return getFontName(Locale.getDefault());\n }", "public String getFontName() {\n Object value = library.getObject(entries, FONT_NAME);\n if (value instanceof Name) {\n return ((Name) value).getName();\n }\n return FONT_NAME;\n }", "public FontUIResource getControlTextFont() { return fControlFont;}", "public final String getFontFamily() {\n return fontFamily;\n }", "public String getFontNameText()\r\n\t{\r\n\t\treturn fontNameTextField.getText(); // return the text in the Font Name text field\r\n\t}", "public String getFontName() {\n\t\treturn this.fontName;\n\t}", "protected String createFontReference(Font font)\n {\n String fontName = font.getName();\n\n StringBuffer psFontName = new StringBuffer();\n for (int i = 0; i < fontName.length(); i++)\n {\n char c = fontName.charAt(i);\n if (!Character.isWhitespace(c))\n {\n psFontName.append(c);\n }\n }\n\n boolean hyphen = false;\n if (font.isBold())\n {\n hyphen = true;\n psFontName.append(\"-Bold\");\n }\n if (font.isItalic())\n {\n psFontName.append((hyphen ? \"\" : \"-\") + \"Italic\");\n }\n\n fontName = psFontName.toString();\n fontName = psFontNames.getProperty(fontName, fontName);\n return fontName;\n }", "public Font getTextFont() {\r\n\t\treturn getJTextField().getFont();\r\n\t}", "public Font GetFont(String name) { return FontList.get(name); }", "@SuppressWarnings(\"unchecked\")\n public TF addFont() {\n final ParameterizedType pt = (ParameterizedType) getClass()\n .getGenericSuperclass();\n final ParameterizedType paramType = (ParameterizedType) pt\n .getActualTypeArguments()[2];\n final Class<TF> fontClass = (Class<TF>) paramType.getRawType();\n try {\n final Constructor<TF> c = fontClass\n .getDeclaredConstructor(ACellStyle.class);\n return c.newInstance(this);\n }\n catch (final Exception e) {\n throw new ReportBuilderException(e);\n }\n }", "public String getMyFont() {\n return myFont.font; /*Fault:: return \"xx\"; */\n }", "public String getMatchFontName();", "private Typeface getFont() {\n Typeface fontText = Typeface.createFromAsset(SnapziApplication.getContext().getAssets(), \"fonts/GothamHTF-Book.ttf\");\n return fontText;\n }", "public FontRenderer getFontRenderer()\n {\n return this.textRenderer;\n }", "public static Font getFont(int size) {\n if (size <= 0) {\n return getFont();\n }\n return new Font(\"Comic Sans MS\", Font.PLAIN, size);\n }", "public static Font getDefaultFont() {\r\n return defaultFont;\r\n }", "public Typeface getTypeface() {\n return mTextContainer.getTypeface();\n }", "public BitmapFont getFont(int style) {\r\n\t\treturn new BitmapFont(this, style);\r\n\t}", "public void GetFont (){\n fontBol = false;\n fontBolS = true;\n fontBolA = true;\n fontBolW = true;\n }", "public FontFile getEmbeddedFont() {\n return font;\n }", "private Font getTitleFont() {\n\t\tFont f = lblTitle.getFont();\n\t\tf = f.deriveFont(Font.BOLD, PosUIManager.getTitleFontSize());\n\t\treturn f;\n\t}", "public MinecraftFontRenderer getFont() {\n return fontRenderer;\n }", "public Font getJavaFont() {\n return javaFont;\n }", "Font getFont (StyleRange styleRange) {\n\tif (styleRange.font != null) return styleRange.font;\n\treturn getFont(styleRange.fontStyle);\n}", "private Font getScreenFont() {\n Font scoreFont = null;\n try {\n scoreFont = Font.createFont(Font.TRUETYPE_FONT,\n getClass().getResource(\"\\\\assets\\\\font\\\\game_over.ttf\").openStream());\n } catch (FontFormatException e) {\n e.printStackTrace();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return scoreFont;\n }", "private void setFont() {\n\t}", "public String getFontFace() {\n\t\treturn _fontFace;\n\t}", "public String getDefaultFontFamily() {\n return this.defaultFontFamily;\n }", "private static native Font createFont(String name, GFontPeer peer, int gdkfont);", "public FontData deriveFont(float size) {\n return deriveFont(size, javaFont.getStyle());\n }", "final Font getFont_NoClientCode() {\n Font font = this.font;\n if (font != null) {\n return font;\n }\n\n // The MenuContainer interface does not have getFont_NoClientCode()\n // and it cannot, because it must be package-private. Because of\n // this, we must manually cast classes that implement\n // MenuContainer.\n Object parent = this.parent;\n if (parent != null) {\n if (parent instanceof Component) {\n font = ((Component)parent).getFont_NoClientCode();\n } else if (parent instanceof MenuComponent) {\n font = ((MenuComponent)parent).getFont_NoClientCode();\n }\n }\n return font;\n }", "public Font deriveFont(float size){\n\tHashtable newAttributes = (Hashtable)getRequestedAttributes().clone();\n\tapplySize(size, newAttributes);\n return new Font(newAttributes, createdFont, font2DHandle);\n }", "Font getFont(int style) {\n\tswitch (style) {\n\t\tcase SWT.BOLD:\n\t\t\tif (boldFont != null) return boldFont;\n\t\t\treturn boldFont = new Font(device, getFontData(style));\n\t\tcase SWT.ITALIC:\n\t\t\tif (italicFont != null) return italicFont;\n\t\t\treturn italicFont = new Font(device, getFontData(style));\n\t\tcase SWT.BOLD | SWT.ITALIC:\n\t\t\tif (boldItalicFont != null) return boldItalicFont;\n\t\t\treturn boldItalicFont = new Font(device, getFontData(style));\n\t\tdefault:\n\t\t\treturn regularFont;\n\t}\n}", "public void createFont()\n {\n my_font = new Font(\"Helvetica\", Font.BOLD, (int) (getWidth() * FONT_SIZE));\n }", "private SpriteFont getSpriteFontInstance() {\r\n\t\t// called by the seed batch upon making a batch\r\n\t\t// only needs docPoint if an influenceImage is set\r\n\t\t//System.out.println(\"SpriteFontBiome::getSpriteFontInstance ... num biomeItems = \" + biomeItems.size());\r\n\t\tif (probabilitiesNormalised == false) normaliseProbabilities();\r\n\r\n\t\tif (biomeItems.size() == 1) {\r\n\t\t\treturn biomeItems.get(0);\r\n\t\t}\r\n\r\n\t\t\r\n\t\tfloat r = randomStream.randRangeF(0f, 1f);\r\n\t\treturn getSpriteFontFromProbabilityStack(r);\r\n\t}", "public String getFont(String id)\n\t{\n\t\tString font = fontElementMap.get(id);\n\t\tif (font == null)\n\t\t{\n\t\t\treturn \"\";\n\t\t}\n\t\telse\n\t\t{\n\t\t\treturn font;\n\t\t}\n\t}", "public PatchTextStyleProperties font(String font) {\n this.font = font;\n return this;\n }", "Shape getShape();", "public Font deriveFont(int style){\n\tHashtable newAttributes = (Hashtable)getRequestedAttributes().clone();\n\tapplyStyle(style, newAttributes);\n return new Font(newAttributes, createdFont, font2DHandle);\n }", "public void setFont(Font value) {\r\n this.font = value;\r\n }", "public String getEmbeddedFontName() throws PDFNetException {\n/* 795 */ return GetEmbeddedFontName(this.a);\n/* */ }", "public FontRenderer getFontRenderer()\r\n\t{\n\t\treturn this.fontRenderer;\r\n\t}", "public Font getCellFont() {\n return cellFont;\n }", "@Override\n\tpublic void drawShape(Graphics2D g) {\n\t\tsuper.drawShape(g);\n\t\trect.drawAndFillShape(g);\n\t\tuiText.drawShape(g);\n\t}", "static Font getFont(int style, int size) {\n\t\treturn new Font(\"Monospaced\", style, size);\n\t}", "public float getFontSize();", "public Font getFont(String property) {\r\n return calendarTable.getFont(property);\r\n }", "public String toString() {\n String name = null;\n if (font != null)\n name = font.getName();\n return super.getPObjectReference() + \" FONTDESCRIPTOR= \" + entries.toString() + \" - \" + name;\n }", "@Override\n public Shape getShape(String shapeType){\n\t\treturn null;\n }", "ShapeType getShapeType();", "public String getSoundFont() {\n\t\treturn soundFont;\n\t}", "public final FontCallback<DatasetContext> getFontCallback() {\n\t\treturn fontCallback;\n\t}", "public static String getCurrentShapeName() {\n\t\treturn currentShapeName;\n\t}", "public ShapeType getShape() {\n\t\treturn this.shape;\n\t}", "public void setLabelFont(Font f);" ]
[ "0.7220026", "0.7106452", "0.7028435", "0.7017311", "0.6968962", "0.684088", "0.6831266", "0.67572844", "0.6719605", "0.6708881", "0.66829395", "0.6679241", "0.66197973", "0.66158664", "0.66158664", "0.6579382", "0.6572743", "0.65475255", "0.6516755", "0.6516755", "0.6511941", "0.650912", "0.64949375", "0.64826566", "0.64722425", "0.6444971", "0.6440095", "0.6423352", "0.6423352", "0.6423352", "0.6418705", "0.631845", "0.63144654", "0.6286098", "0.6281016", "0.6269603", "0.6158351", "0.61554325", "0.6153451", "0.61525893", "0.6120637", "0.608945", "0.6082846", "0.6057859", "0.6054909", "0.6049038", "0.5994216", "0.59821784", "0.5981407", "0.59577936", "0.5952172", "0.5908628", "0.5900707", "0.5898499", "0.5895544", "0.5894721", "0.5891036", "0.5885889", "0.5869697", "0.582548", "0.58103615", "0.5809709", "0.58090574", "0.579785", "0.5797521", "0.5790318", "0.57870126", "0.5770777", "0.57486606", "0.5714404", "0.5691962", "0.5670401", "0.56489074", "0.5640366", "0.56345874", "0.56192094", "0.5614792", "0.5610802", "0.559898", "0.5598843", "0.5591681", "0.5587445", "0.5586767", "0.5584187", "0.55734587", "0.55547726", "0.55430406", "0.55149806", "0.5514777", "0.54990077", "0.548502", "0.54838645", "0.5465372", "0.54632187", "0.5462173", "0.5460818", "0.54522073", "0.54457206", "0.54292125", "0.5425519" ]
0.75063795
0
Sets the font for the shape.
public void setFont(RMFont aFont) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void setFont(String font) {\n graphicsEnvironmentImpl.setFont(canvas, font);\n }", "private void setFont() {\n\t}", "public void setFont( Font font ) {\n\t\tgraphics.setFont( font );\n\t}", "public void setFont(Font value) {\r\n this.font = value;\r\n }", "public void setFont(Font f) {\n font = f;\n compute();\n }", "private void setFont() {\n try {\n setFont(Font.loadFont(new FileInputStream(FONT_PATH), 23));\n } catch (FileNotFoundException e) {\n setFont(Font.font(\"Verdana\", 23));\n }\n }", "public void setFont(Font font)\n {\n this.font = font;\n }", "public void setFont(Font font) {\n this.font = font;\r\n repaint();\r\n }", "public void setFont( Font font ) {\r\n this.font = font;\r\n }", "public void setFont(Font font) {\n\tthis.font = font;\n }", "public void setTextFont(Font font)\n {\n setFont(font);\n }", "public void setTextFont(Font font);", "public void setFont(Font font)\r\n\t{\r\n\t\t_g2.setFont(font);\r\n\t}", "public native void setFont(Font value) /*-{\n\t\tvar jso = [email protected]::getJsObj()();\n\t\tjso.font = [email protected]::getJsObj()();\n }-*/;", "public void setFont(Font fnt) {\n\t\tborder.setTitleFont(fnt);\n\t}", "public void setFont(String font)\n {\n getStateHelper().put(PropertyKeys.font, font);\n }", "public void setFont(Font font)\n{\n\ttextArea().setFont(font);\n}", "public void setFont(AWTFont font) {\r\n\t\trenderer = createRendererFromAWTFont(font);\r\n\t\tthis.font = font;\r\n\t\tupdateValues();\r\n\t}", "private void setFont() {\n Typeface font = Typeface.createFromAsset(getContext().getAssets(), mFontPath);\n setTypeface(font, Typeface.NORMAL);\n }", "void setFontFamily(ReaderFontSelection f);", "public void setFont(Font newFont) {\r\n\t\tfont = newFont;\r\n\t}", "public void setFont(Font newFont) {\n\tfont = newFont;\n }", "public void setLabelFont(Font f);", "public void setFont(org.openxmlformats.schemas.drawingml.x2006.main.CTTextFont font)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.openxmlformats.schemas.drawingml.x2006.main.CTTextFont target = null;\n target = (org.openxmlformats.schemas.drawingml.x2006.main.CTTextFont)get_store().find_element_user(FONT$0, 0);\n if (target == null)\n {\n target = (org.openxmlformats.schemas.drawingml.x2006.main.CTTextFont)get_store().add_element_user(FONT$0);\n }\n target.set(font);\n }\n }", "private void setFont() {\n\t\tsessionTitle.setFont(FONT_TITLE);\n\t\tdetailedDescription.setFont(FONT_DESCRIPTION);\n\t\texitButton.setFont(FONT_BUTTON);\n\t}", "@Override\r\n public void setFont(Font font) {\r\n super.setFont(new Font(\"Times New Roman\", Font.BOLD, 18));\r\n }", "public void setFontName(String name)\n {\n font.setFontName(name);\n }", "public void setFont(BitmapFont font) {\n\t\tthis.font = font;\n\t\tthis.setLabel(this.label);\n\t}", "@Override\r\n public void setFont(Font font) {\r\n super.setFont(new Font(\"Arial\", Font.PLAIN, 11)); \r\n }", "public static void setFont(Font font){\n\t\tGComponent.fGlobalFont = font;\n\t}", "public void setFont(int fontId){\n this.fontId = fontId;\n }", "public void setFontName(String name) {\n\t\tthis.fontName = name;\n\t}", "public static void setFont(String fontName, int fontSize, int style){\n\t\tGComponent.fGlobalFont = new Font(fontName, fontSize, style);\n\t}", "public void setFontNameText( String text )\r\n\t{\r\n\t\t// set the text in the Font Name text field as per the String passed in\r\n\t\tfontNameTextField.setText( text );\r\n\t}", "public final void setFont(NativeCallback fontCallback) {\n\t\t// checks if consistent\n\t\tif (fontCallback != null) {\n\t\t\t// resets callback\n\t\t\tsetFont((FontCallback<DatasetContext>) null);\n\t\t\t// adds the callback proxy function to java script object\n\t\t\tsetValueAndAddToParent(CommonProperty.FONT, fontCallback);\n\t\t} else {\n\t\t\t// stores the font\n\t\t\tsetValueAndAddToParent(CommonProperty.FONT, getOriginalFont());\n\t\t}\n\t}", "public void createFont()\n {\n my_font = new Font(\"Helvetica\", Font.BOLD, (int) (getWidth() * FONT_SIZE));\n }", "private void setupFont() {\n CalligraphyConfig.initDefault(new CalligraphyConfig.Builder()\n .setDefaultFontPath(\"fonts/Montserrat-Regular.otf\")\n .setFontAttrId(R.attr.fontPath)\n .build()\n );\n }", "public void setFont(String fontname, int fontsize){\n\t\tint tw = textWidth;\n\t\tint fs = (int) localFont.getSize();\n\t\tlocalFont = GFont.getFont(winApp, fontname, fontsize);\n\t\tif(fontsize > fs)\n\t\t\theight += (fontsize - fs);\n\t\tsetText(text);\n\t\tif(textWidth > tw)\n\t\t\twidth += (textWidth - tw);\n\t\tArrayList<GOption> options = optGroup.getOptions();\n\t\tfor(int i = 0; i < options.size(); i++)\n\t\t\toptions.get(i).setWidth((int)width - 10);\n\t\tslider.setX((int)width - 10);\n\t}", "@Override\n public String getFont() {\n return graphicsEnvironmentImpl.getFont(canvas);\n }", "public void setLabelFont(Font value) {\n labelFont = value;\n }", "public void setFont(String font) {\r\n\t\tProps p = getPage().getPageProperties();\r\n\t\t_fontTagStart = p.getProperty(font + Props.TAG_START);\r\n\t\t_fontTagEnd = p.getProperty(font + Props.TAG_END);\r\n\t}", "public final void setFont(FontCallback<DatasetContext> fontCallback) {\n\t\t// sets the callback\n\t\tthis.fontCallback = fontCallback;\n\t\t// checks if consistent\n\t\tif (fontCallback != null) {\n\t\t\t// adds the callback proxy function to java script object\n\t\t\tsetValueAndAddToParent(CommonProperty.FONT, fontCallbackProxy.getProxy());\n\t\t} else {\n\t\t\t// stores the font\n\t\t\tsetValueAndAddToParent(CommonProperty.FONT, getOriginalFont());\n\t\t}\n\t}", "public void setFont(String property, Font font) {\r\n Font oldValue = calendarTable.getFont(property);\r\n if (font == oldValue) {\r\n return;\r\n }\r\n calendarTable.setFont(property, font);\r\n if (property.equals(FONT_PREFIX + \"Controls\")) {\r\n for(int i = 0, n = controlsPanel.getComponentCount(); i < n; i++) {\r\n controlsPanel.getComponent(i).setFont(font);\r\n }\r\n }\r\n firePropertyChange(\"Font.\" + property, oldValue, font);\r\n }", "public PatchTextStyleProperties font(String font) {\n this.font = font;\n return this;\n }", "public FontFactory(String font, int size, String text) {\n this.font = new Font(font, Font.BOLD, size);\n ttf = new TrueTypeFont(this.font, true);\n this.text = text;\n }", "private void updateFont() {\n this.currFont = new Font(this.currentFontFamily.getItemText(this.currentFontFamily.getSelectedIndex()),\n Integer.parseInt(this.currentFontSize.getItemText(this.currentFontSize.getSelectedIndex())),\n this.currentFontStyle.getItemText(this.currentFontStyle.getSelectedIndex()),\n Font.NORMAL,\n this.currentFontWeight.getItemText(this.currentFontWeight.getSelectedIndex())); \n }", "public void setFont(Font f) {\n _separator.setFont(f);\n }", "public void initFont() {\r\n\t\tFont dosFont = null;\r\n try {\r\n \t//setup font\r\n\t\t\t\tURL fontUrl = getURL(\"fonts/DOSFont.ttf\");\r\n\t\t \tdosFont = Font.createFont(Font.TRUETYPE_FONT, fontUrl.openStream());\r\n\t \tdosFont = dosFont.deriveFont(Font.PLAIN, 15);\r\n\t \tGraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();\r\n\t \tge.registerFont(dosFont);\r\n\t } catch(Exception e) {\r\n\t e.printStackTrace();\r\n\t System.exit(-1);\r\n\t }\r\n screen.setFont(dosFont);//set font on JTextArea\r\n\t}", "public void setFont(String str) {\n if (Strings.notEmpty(str)) {\n Typeface typeface = FontUtils.getTypeface(this.textView.getContext(), str);\n if (typeface != null) {\n this.textView.setTypeface(typeface);\n }\n }\n }", "public void setFontStyle(TextView textObject) {\n textObject.setTypeface(mFontStyle);\n }", "public static void setFont(PApplet theApplet, String fontName, int fontSize){\n\t\tif(theApplet != null)\n\t\t\tGComponent.globalFont = GFont.getFont(theApplet, fontName, fontSize);\n\t}", "Font createFont();", "@Override\n public void setFont(Font f) {\n super.setFont(f);\n menuDirty = true;\n ResizeUtils.updateSize(this, actions);\n }", "public HintPad setFont(Font font) {\r\n\t\tthis.font = font;\r\n\t\treturn this;\r\n\t}", "public void setFont(Font f) {\n super.setFont(f);\n columnWidth = 0;\n }", "public void setModifierFont(String name, int type, int size, float tracking, Boolean kerning) \n {\n RendererSettings.getInstance().setLabelFont(name, type, size, kerning, tracking);\n _SPR.RefreshModifierFont();\n }", "public void setFontSize(int font) {\n\t\tthis.font = font;\n\t}", "private void initFontAndChange(Context context) {\n changeFont(context);\n }", "private void loadFont() {\n\t\ttry {\n\t\t\tfont = Font.createFont(Font.TRUETYPE_FONT, new FileInputStream(\"assets/fonts/forced_square.ttf\"));\n\t\t} catch (Exception e) {\n\t\t\tfont = new Font(\"Helvetica\", Font.PLAIN, 22);\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "@Override\n public void setTypeface() {\n mAppNameTxt.setTypeface(Typeface.createFromAsset(getContext().getAssets(),\n CUSTOM_FONTS_ROOT + CUSTOM_FONT_NAME));\n }", "public void setModifierFont(String name, int type, int size) \n {\n RendererSettings.getInstance().setLabelFont(name, type, size);\n _SPR.RefreshModifierFont();\n }", "public void setFont(String key, Font value) {\n\t\tif (value != null && !value.equals(getDefault(key)))\n\t\t\tinternal.setProperty(key, value.getName() + \" \" + value.getSize() + \" \" + value.getStyle());\n\t\telse\n\t\t\tinternal.remove(key);\n\t}", "public static void setDefaultFont(Font f) {\r\n defaultFont = f;\r\n }", "public native final EditorBaseEvent fontFamily(String val) /*-{\n\t\tthis.fontFamily = val;\n\t\treturn this;\n\t}-*/;", "public void saveFont()\r\n\t{\r\n\t\tsavedFont = g.getFont();\r\n\t}", "public void setTextColorAndFont(GraphicsContext graphicsContext) {\r\n\t\tgraphicsContext.setFill(Color.WHITE);\r\n\t\tgraphicsContext.setFont(Font.font(25));\r\n\t}", "public Font setFontStyle(String font){\n\t\treturn new Font(font, Font.BOLD, 1);\r\n\t}", "public void setTrueFont(Font font)\n\t{\n\t\tString bodyRule = \"body { font-family: \" + font.getFamily() + \"; \" +\n\t\t\t\t\"font-size: \" + font.getSize() + \"pt; }\";\n\t\t((HTMLDocument)getDocument()).getStyleSheet().addRule(bodyRule);\n\t\t//Sets the font for when the JEditorPane is switched to plain text.\n\t\tsetFont(font);\n\t}", "public void setMatchFontName(String matchFontName);", "@FXML\r\n void fontAction() {\r\n // default css code for each characteristics of the text\r\n String textFont = \"-fx-font-family: \";\r\n String textSize = \"-fx-font-size: \";\r\n String textStyle = \"\";\r\n\r\n // Create and take the input from the Font dialog\r\n Dialog<Font> fontSelector = new FontSelectorDialog(null);\r\n Optional<Font> result = fontSelector.showAndWait();\r\n\r\n // add changes to the default CSS code above based on the users\r\n if (result.isPresent()) {\r\n Font newFont = result.get();\r\n textFont += \"\\\"\" + newFont.getFamily() + \"\\\";\";\r\n textSize += newFont.getSize() + \"px;\";\r\n\r\n // some basics CSS font characteristics\r\n String style = newFont.getStyle();\r\n String style_italic = \"-fx-font-style: italic;\";\r\n String style_regular = \"-fx-font-weight: normal ;\";\r\n String style_bold = \"-fx-font-weight: bold;\";\r\n switch (style) {\r\n case \"Bold Italic\":\r\n textStyle += style_bold + \"\\n\" + style_italic;\r\n case \"Italic\":\r\n textStyle += style_italic;\r\n case \"Regular\":\r\n textStyle += style_regular;\r\n case \"Regular Italic\":\r\n textStyle += style_italic;\r\n default:\r\n textStyle += style_bold;\r\n }\r\n\r\n // Add all characteristic to a single string\r\n String finalText = textFont + \"\\n\" + textSize;\r\n finalText += \"\\n\" + textStyle;\r\n // Display options and set that options to the text\r\n defOutput.setStyle(finalText);\r\n }\r\n }", "public FontRenderer(float x, float y, String text, FontType font, float size) {\n\t\tthis.text = text;\n\t\tthis.font = font;\n\t\tthis.size = size;\n\t\tcolor = new Vector4f(1, 1, 1, 1);\n\t\t\n\t\ttransform.setPosition(x, y);\n\t\tsetSize(size);\n\t\t\n\t\tprogram = FontShaderProgram.INSTANCE;\n\t\t\n\t\ttexture = font.getTexture().setParameters(GL11.GL_LINEAR, GL11.GL_TEXTURE_MAG_FILTER, GL11.GL_TEXTURE_MIN_FILTER);\n\t\t\n\t\tif(text.length() < 1)\n\t\t\tmesh = new Mesh().createEmpty();\n\t\telse\n\t\t\tcreateFont(false);\n\t}", "public void setFont(Font newFont, Timing delay, Timing duration) {\r\n\t\tif (gen instanceof AdvancedTextGeneratorInterface)\r\n\t\t\t((AdvancedTextGeneratorInterface)gen).setFont(this, newFont, \r\n\t\t\t\t\tdelay, duration);\r\n\t\telse\r\n\t\t\tthrow new IllegalArgumentException(\"gen is not an AdvancedTextGeneratorInterface -- \" +gen);\r\n\r\n\t}", "abstract Font getFont();", "private void setupFonts()\r\n\t{\r\n\t\tSystem.out.println(\"In setupFonts()\");\r\n\t\t\r\n\t\t// set up the text fonts\r\n\t\ttry\r\n\t\t{\r\n\t\t\ttextFont = Font.createFont(Font.TRUETYPE_FONT, AppletResourceLoader.getFileFromJar(GameConstants.PATH_FONTS + \"FOXLEY8_.ttf\"));\r\n\t\t\ttextFont = textFont.deriveFont(16.0f);\r\n\t\t\ttextFontBold = textFont.deriveFont(Font.BOLD, 16.0f);\r\n\t\t}\r\n\t\tcatch(Exception e)\r\n\t\t{\r\n\t\t\tSystem.out.println(\"ERROR IN setupFonts(): \" + e.getClass().getName() + \" - \" + e.getMessage());\r\n\t\t}\r\n\t}", "public final void setConsoleFont(Font font) {\r\n\t\tconsole.setFont(font);\r\n\t}", "public void setBracketfont(String val)\r\n\t{\r\n\t\t_bracketFont = val;\r\n\t}", "protected void doStandardFonts() {\r\n\t\trenderer.txt.setUseStandardFonts(ui.viewStandardFonts.isSelected());\r\n\t}", "public LabelBuilder setFont(FontCallback<LabelsContext> fontColorCallback) {\n\t\tIsBuilder.checkIfValid(getOptionsBuilder());\n\t\tlabel.setFont(fontColorCallback);\n\t\treturn this;\n\t}", "@Override\n\tpublic void setText(CharSequence text, BufferType type) {\n\t\tString selected_font = StoreUtil.getInstance().selectFrom(\"fonts\");\n\t\tif(selected_font != null){\n\t\t\tif(selected_font.equals(\"myanmar3\")){\n\t\t\t\tif(text != null){\n\t\t\t\t\ttext = FontConverter.zg12uni51(text.toString());\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tsuper.setText(text, type);\n\t}", "public String getFont() {\n return font;\n }", "public void setNodeLabelFont(Font value) {\n nodeLabelfont = value;\n }", "public void setFontProgram(PdfFile fontProgram) {\n this.add(fontProgram);\n }", "public Font getFont(\n )\n {return font;}", "public CanvasFont getFont() {\n return this.textFont;\n }", "private void settypeface() {\n }", "public synchronized void setProvider(FontProvider fontProvider) {\n/* 136 */ this.fontInfoByName = createFontInfoByName(fontProvider.getFontInfo());\n/* 137 */ this.fontProvider = fontProvider;\n/* */ }", "public static void setRobotoFont(Activity context, View view)\n {\n if (view instanceof ViewGroup)\n {\n for (int i = 0; i < ((ViewGroup)view).getChildCount(); i++)\n {\n setRobotoFont(context, ((ViewGroup)view).getChildAt(i));\n }\n }\n else if (view instanceof TextView)\n {\n TextView tv = (TextView) view;\n Typeface currentTypeface = tv.getTypeface();\n Typeface tf = getRobotoTypeface(context, currentTypeface);\n Log.v(\"SET_FONTS\", String.format(\"Setting typeface font %s on TextView %s\", tf.toString(), tv.getText()));\n tv.setTypeface(tf);\n }\n else if (view instanceof Button)\n {\n Button btn = (Button) view;\n Typeface currentTypeface = btn.getTypeface();\n Typeface tf = getRobotoTypeface(context, currentTypeface);\n Log.v(\"SET_FONTS\", String.format(\"Setting typeface font %s on Button %s\", tf.toString(), btn.getText()));\n btn.setTypeface(getRobotoTypeface(context, currentTypeface));\n }\n }", "public void setDisplayFont(int size){\n\t\tscreen.setFont(new Font(\"Serif\",Font.BOLD,size));\r\n\t}", "private void updateFontSet() {\n if (!isBigFontSet()) {\n UIFontUtils.initFontDefaults(UIManager.getDefaults(), null);\n } else {\n// <snip> Install sscaled font\n FontPolicy windowsPolicy = FontPolicies.getDefaultWindowsPolicy();\n FontSet fontSet = windowsPolicy.getFontSet(null, UIManager\n .getLookAndFeelDefaults());\n WrapperFontSet scaled = new WrapperFontSet(fontSet, 5);\n UIFontUtils.initFontDefaults(UIManager.getDefaults(), scaled);\n// </snip>\n }\n updateLookAndFeel();\n }", "public void GetFont (){\n fontBol = false;\n fontBolS = true;\n fontBolA = true;\n fontBolW = true;\n }", "public static void setFont(String fontName, int fontSize){\n\t\tsetFont(fontName, fontSize, Font.PLAIN);\n\t}", "FONT createFONT();", "private void setLayout(){\n Typeface typeface = ResourcesCompat.getFont(getActivity(), R.font.acumin);\n txtName.setTypeface(typeface);\n txtNickname.setTypeface(typeface);\n }", "public void setFontStyle(final FontStyles fontStyle)\n\t{\n\t\tthis.fontStyle = fontStyle;\n\t}", "public String getFontName();", "public String getFontName();", "public String getFontName();", "public FontFrame(JTextArea txtWorkplace) {\n initComponents();\n Font[] fontList = new Font[]{};\n fontList = GraphicsEnvironment.getLocalGraphicsEnvironment().getAllFonts();\n for (int i = 0; i < fontList.length; i++) {\n cbbFont.addItem(fontList[i].getFontName());\n }\n fontName = (String) cbbFont.getSelectedItem();\n fontSize = (int) spinnerSize.getValue();\n fontStyle = (int) cbbStyle.getSelectedIndex();\n lblTest.setFont(new Font(fontName,fontSize,fontSize));\n this.txtWorkplace = txtWorkplace;\n }", "private void applyFontStyle() {\r\n\t\tfinal Font font = SWTGraphicUtil.buildFontFrom(this.control, PromptSupport.getFontStyle(this.control));\r\n\t\tthis.control.setFont(font);\r\n\t\tSWTGraphicUtil.addDisposer(this.control, font);\r\n\t}", "public void setFont(ViewGroup group, Typeface font) {\n\t\tint count = group.getChildCount();\n\t\tView v;\n\t\tfor (int i = 0; i < count; i++) {\n\t\t\tv = group.getChildAt(i);\n\t\t\tif (v instanceof TextView || v instanceof EditText || v instanceof Button) {\n\t\t\t\t((TextView) v).setTypeface(font);\n\t\t\t} else if (v instanceof ViewGroup)\n\t\t\t\tsetFont((ViewGroup) v, font);\n\t\t}\n\t}" ]
[ "0.7912233", "0.7909928", "0.78420335", "0.77542144", "0.7743433", "0.7726675", "0.7721328", "0.7693524", "0.76423854", "0.75413644", "0.75399715", "0.7516485", "0.7507479", "0.7353219", "0.73386854", "0.7326905", "0.72965026", "0.7296079", "0.7293755", "0.7207408", "0.71840864", "0.71649534", "0.7110189", "0.70950806", "0.70703477", "0.7060375", "0.7027121", "0.7000672", "0.69371074", "0.68950725", "0.6713302", "0.67101586", "0.6670968", "0.6626745", "0.6620193", "0.65833735", "0.657455", "0.6548666", "0.6533711", "0.6529858", "0.65274084", "0.6505486", "0.6502356", "0.6493564", "0.648528", "0.6481675", "0.64725894", "0.646394", "0.64502203", "0.64308554", "0.64048445", "0.6402846", "0.6392507", "0.6389126", "0.6358884", "0.63540596", "0.6350081", "0.6348143", "0.63215655", "0.6303325", "0.62762666", "0.6271251", "0.6263483", "0.6243671", "0.62434506", "0.6232628", "0.6211069", "0.62035275", "0.6183038", "0.6177193", "0.6162227", "0.615424", "0.6143006", "0.6130549", "0.6118105", "0.61143714", "0.610291", "0.60953957", "0.6090956", "0.6087688", "0.6077393", "0.6066544", "0.6061374", "0.6060459", "0.6050853", "0.6036781", "0.603327", "0.6022769", "0.60180765", "0.60122764", "0.6000316", "0.59972525", "0.5989583", "0.59725904", "0.59713465", "0.59713465", "0.59713465", "0.5944383", "0.59393793", "0.592391" ]
0.7019305
27
Returns whether the shape is underlined.
public boolean isUnderlined() { return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isUnderlined()\n {\n return getStyle().isUnderlined();\n }", "public boolean isIsFontUnderlined() {\n return isFontUnderlined;\n }", "public boolean getUnderline() {\r\n return Underline;\r\n }", "boolean isDrawOutline(DrawContext dc, Object shape);", "public boolean getIsOutlined() {\n if (isOutlined.equalsIgnoreCase(\"TRUE\")) {\n return true;\n }\n if (isOutlined.equalsIgnoreCase(\"FALSE\")) {\n return false;\n }\n else {\n throw new IllegalArgumentException(\"Outlined policy given is invalid\");\n }\n }", "protected boolean mustDrawOutline()\n {\n return this.getActiveAttributes().isDrawOutline();\n }", "public boolean isBordered() {\n return mPolygonShapeSpec.hasBorder();\n }", "public void setIsFontUnderlined(boolean value) {\n this.isFontUnderlined = value;\n }", "boolean isDrawInterior(DrawContext dc, Object shape);", "boolean isHollow();", "public boolean isRenderInsideShape() {\n return this.renderInsideShape;\n }", "public boolean isLinePainting ()\r\n {\r\n return constants.linePainting.getValue();\r\n }", "public boolean isHovered();", "protected abstract boolean isShapeSimple();", "public boolean isMouseOver(){\n\t\treturn this.contains(Main.camera.getMousePos());\n\t}", "boolean isHighlighted();", "public boolean isThundering()\n {\n return thundering;\n }", "public boolean isLineClear() {\r\n return lineActivity.haveAverage() && (lineActivity.getAverage() < 0.5);\r\n }", "protected boolean mustDrawInterior()\n {\n return this.getActiveAttributes().isDrawInterior();\n }", "boolean hasHair();", "public boolean isFullyExplored();", "public boolean isDrawn();", "boolean isSolid();", "public boolean isDraw() {\n\t\tif (!h1.isAlive() && !h2.isAlive())\n\t\t\treturn true;\n\t\treturn false;\n\t}", "public final void setUnderline(final boolean underline) {\n this.underline = underline;\n }", "@Override\r\n public boolean isText ()\r\n {\r\n Shape shape = getShape();\r\n\r\n return (shape != null) && shape.isText();\r\n }", "public boolean isViewing() { RMShape p = getParent(); return p!=null && p.isViewing(); }", "public boolean isDashedHighlightLineEnabled() { return !(this.mHighlightDashPathEffect == null); }", "public boolean isShouldFillShape() {\n return this.shouldFillShape;\n }", "boolean hasSide();", "public boolean isStrike(){\r\n\t\tif( this.firstThrow == 10 )\r\n\t\t\treturn true;\r\n\t\treturn false;\r\n\t}", "public boolean\ngetShowBoundingShape()\n{\n\treturn (this.showBoundingShape);\n}", "boolean hasDynamicLineup();", "@Override\r\n public boolean isWellKnown ()\r\n {\r\n Shape shape = getShape();\r\n\r\n return (shape != null) && shape.isWellKnown();\r\n }", "public void setUnderlined(boolean aFlag) { }", "private boolean hasAnOutline()\n {\n return getEntryEditorWidgetTreeViewerInput() != null;\n }", "public boolean hasAlternations() {\n boolean b = false;\n POSLineItemDetail[] lineDetails = compositePOSTransaction.getLineItemDetailsArray();\n if (lineDetails == null || lineDetails.length == 0) {\n return false;\n }\n for (int i = 0; i < lineDetails.length; i++) {\n if (lineDetails[i] instanceof CMSSaleLineItemDetail) {\n CMSSaleLineItemDetail saleDetail = (CMSSaleLineItemDetail)lineDetails[i];\n AlterationLineItemDetail[] alternationsArray = saleDetail.getAlterationLineItemDetailArray();\n if (alternationsArray != null && alternationsArray.length > 0) {\n return true;\n }\n }\n }\n return b;\n }", "public boolean isHeads() {\n return (face == 0);\n }", "Shape getHighlightShape();", "protected boolean isShapeFilled(Plot plot, int series, int item, double x, double y) {\n return false;\n }", "public void paintShapeOver(RMShapePainter aPntr)\n{\n if(getStrokeOnTop() && getStroke()!=null)\n getStroke().paint(aPntr, this);\n}", "public boolean isOnCurve() {\n if (!x.isValid() || !y.isValid()) {\n return false;\n }\n\n if (isInfinity()) {\n return true;\n }\n\n final Fq2 x = getX();\n final Fq2 y = getY();\n\n return y.power(2).subtract(x.power(3)).equals(Fq2.b2());\n }", "public boolean isIsFontStrikeout() {\n return isFontStrikeout;\n }", "public boolean isPaintable() {\n return modifiedEditor.isPaintable ();\n }", "public boolean isLevelOver() {\n\t\treturn waveControl.isLevelEnd();\n\t}", "public abstract boolean isInterior();", "public boolean getStrikeout()\n {\n return font.isStruckout();\n }", "public boolean onHorizontalEdge() {\n\t\treturn horizontal != Side.None;\n\t}", "public boolean isHorizontal(){\n return head().getY() == tail().getY();\n }", "public final boolean isTouching(Shape shape) {\n\t\t// TODO: write this function.\n\t\treturn false;\n\t}", "public boolean isOver() {\n\t\treturn over;\n\t}", "public boolean isSentencePainting ()\r\n {\r\n return constants.sentencePainting.getValue();\r\n }", "public boolean isHighlighted() {\r\n\t\treturn view.isHighlighted();\r\n\t}", "public boolean acceptsMouse() \n{\n // If hover shape, return false\n if(RMShapeUtils.getHoverShape()==this) return false;\n \n // Return true if there is a URL, Hover or MouseListener\n return getURL()!=null || getHover()!=null || getListenerCount(RMShapeMouseListener.class)>0;\n}", "public boolean isAncestor(RMShape aShape) { return aShape==_parent || (_parent!=null && _parent.isAncestor(aShape)); }", "public boolean isPaintable() {\n\t\treturn false;\n\t}", "public boolean hasHair() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "boolean hasHeading();", "boolean hasHeading();", "boolean hasHeading();", "@Override\r\n\tpublic boolean isHovered() {\n\t\tint hovered = this.group.hovered;\r\n\t\tif(hovered >= 0 && hovered < this.group.items.size())\r\n\t\t{\r\n\t\t\tif(this == this.group.items.get(hovered))\r\n\t\t\t{\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "public boolean isBorderOpaque() {\n // TODO codavaj!!\n return false;\n }", "public byte getUnderline() {\n\t\treturn this.underline;\n\t}", "public boolean isDescendant(RMShape aShape) { return aShape!=null && aShape.isAncestor(this); }", "public boolean isPaint() {\n\t\treturn isPaint;\n\t}", "public boolean isOver(PVector i_mousePosition){\n\t\tPVector mouseLocal = globalToLocal(i_mousePosition);\t\t\n\t\treturn pointInTriangle(mouseLocal, c1, c2, c3);\n\t}", "public boolean canHit(Figure entity) {\n return true;\n }", "public final boolean isHyperlink() {\n return hyperlink != null;\n }", "public boolean getStrokeOnTop() { return false; }", "protected boolean checkStandardArrow() {\n\t\tboolean passed = true;\n\t\tStroke last = m_subStrokes.get(m_subStrokes.size() - 1);\n\t\tStroke secondLast = m_subStrokes.get(m_subStrokes.size() - 2);\n\t\tStroke thirdLast = m_subStrokes.get(m_subStrokes.size() - 3);\n\t\tStroke fourthLast = m_subStrokes.get(m_subStrokes.size() - 4);\n\t\tdouble lastLength = StrokeFeatures.getStrokeLength(last);\n\t\tdouble secondLastLength = StrokeFeatures.getStrokeLength(secondLast);\n\t\tdouble thirdLastLength = StrokeFeatures.getStrokeLength(thirdLast);\n\n\t\t// test 1: last two sub-strokes must be close in size\n\t\tm_lastTwoDiff = Math.abs(lastLength - secondLastLength)\n\t\t\t\t/ (lastLength + secondLastLength);\n\t\tif (m_lastTwoDiff > 0.5)\n\t\t\tpassed = false;\n\n\t\t// test 2: two points at the \"head\" of the arrow should be close\n\t\tm_headDistance = last.getFirstPoint().distance(\n\t\t\t\tthirdLast.getFirstPoint())\n\t\t\t\t/ m_features.getStrokeLength();\n\t\tif (m_headDistance > 0.11)\n\t\t\tpassed = false;\n\t\tm_standardSum = m_headDistance;\n\n\t\t// test 3: line connecting tips of arrow head should intersect shaft of\n\t\t// arrow\n\t\tLine2D.Double line1 = new Line2D.Double(\n\t\t\t\tthirdLast.getLastPoint().getX(), thirdLast.getLastPoint()\n\t\t\t\t\t\t.getY(), last.getLastPoint().getX(), last\n\t\t\t\t\t\t.getLastPoint().getY());\n\t\tArrayList<Point2D> intersect = StrokeFeatures.getIntersection(\n\t\t\t\tfourthLast, line1);\n\t\tm_numIntersect = intersect.size();\n\t\tif (m_numIntersect <= 0)\n\t\t\tpassed = false;\n\t\t// Line2D.Double line2 = new Line2D.Double(fourthLast.getPoints().get(\n\t\t// fourthLast.getNumPoints() / 2).getX(), fourthLast.getPoints()\n\t\t// .get(fourthLast.getNumPoints() / 2).getY(), fourthLast\n\t\t// .getLastPoint().getX(), fourthLast.getLastPoint().getY());\n\t\t// double perpDiff = Math.abs(getSlope(line1) - (1.0 /\n\t\t// getSlope(line2)));\n\t\t// if (perpDiff > 5)\n\t\t// passed = false;\n\n\t\t// if passed make a beautified standard arrow\n\t\tif (passed) {\n\n\t\t\tm_arrowType = Type.STANDARD;\n\t\t\t\n\t\t\tGeneralPath arrowPath = new GeneralPath();\n\n\t\t\t// generate beginning path of stroke;\n\t\t\tif (m_subStrokes.size() == 4) {\n\n\t\t\t\tm_linear = true;\n\n\t\t\t\t// we have a linear arrow so beautify accordingly\n\t\t\t\tarrowPath.moveTo(fourthLast.getFirstPoint()\n\t\t\t\t\t\t.getX(), fourthLast.getFirstPoint().getY());\n\t\t\t\tarrowPath.lineTo(\n\t\t\t\t\t\tfourthLast.getLastPoint().getX(), fourthLast\n\t\t\t\t\t\t\t\t.getLastPoint().getY());\n\t\t\t} else {\n\n\t\t\t\tm_linear = false;\n\n\t\t\t\t// we have some other general arrow path\n\t\t\t\tfor (int i = 0; i < m_subStrokes.size() - 3; i++) {\n\t\t\t\t\tif (i == 0)\n\t\t\t\t\t\tarrowPath.moveTo(m_subStrokes.get(i)\n\t\t\t\t\t\t\t\t.getFirstPoint().getX(), m_subStrokes.get(i)\n\t\t\t\t\t\t\t\t.getFirstPoint().getY());\n\t\t\t\t\tfor (int j = 0; j < m_subStrokes.get(i).getNumPoints(); j++)\n\t\t\t\t\t\tarrowPath.lineTo(m_subStrokes.get(i)\n\t\t\t\t\t\t\t\t.getPoint(j).getX(), m_subStrokes.get(i)\n\t\t\t\t\t\t\t\t.getPoint(j).getY());\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// compute and generate ideal head of arrow\n\t\t\tdouble size = (thirdLastLength + secondLastLength + lastLength) / 3;\n\t\t\tdouble angle = 0;\n\n\t\t\t// if linear, the angle of the shaft is the angle of the first line\n\t\t\tif (m_linear) {\n\t\t\t\tangle = Math.atan2(fourthLast.getFirstPoint().getY()\n\t\t\t\t\t\t- fourthLast.getLastPoint().getY(), fourthLast\n\t\t\t\t\t\t.getFirstPoint().getX()\n\t\t\t\t\t\t- fourthLast.getLastPoint().getX());\n\t\t\t}\n\n\t\t\t// compute angle of \"curved\" shaft as the line between the midpoint\n\t\t\t// and the last point of the segment before the arrow head\n\t\t\telse {\n\t\t\t\tangle = Math.atan2(\n\t\t\t\t\t\tfourthLast.getPoints()\n\t\t\t\t\t\t\t\t.get(fourthLast.getNumPoints() / 2).getY()\n\t\t\t\t\t\t\t\t- fourthLast.getLastPoint().getY(), fourthLast\n\t\t\t\t\t\t\t\t.getPoints().get(fourthLast.getNumPoints() / 2)\n\t\t\t\t\t\t\t\t.getX()\n\t\t\t\t\t\t\t\t- fourthLast.getLastPoint().getX());\n\t\t\t}\n\n\t\t\t// make arrow heads be 45 degree angles when beautified\n\t\t\tdouble deltaAngle = Math.PI / 4.0;\n\n\t\t\t// make beautified arrow head\n\t\t\tPoint2D.Double p1 = new Point2D.Double(fourthLast.getLastPoint()\n\t\t\t\t\t.getX() - Math.sin(angle - deltaAngle) * size, fourthLast\n\t\t\t\t\t.getLastPoint().getY()\n\t\t\t\t\t+ Math.cos(angle - deltaAngle)\n\t\t\t\t\t* size);\n\t\t\tPoint2D.Double p2 = new Point2D.Double(fourthLast.getLastPoint()\n\t\t\t\t\t.getX() + Math.sin(angle + deltaAngle) * size, fourthLast\n\t\t\t\t\t.getLastPoint().getY()\n\t\t\t\t\t- Math.cos(angle + deltaAngle)\n\t\t\t\t\t* size);\n\t\t\tarrowPath.lineTo(p1.getX(), p1.getY());\n\t\t\tarrowPath.lineTo(fourthLast.getLastPoint().getX(),\n\t\t\t\t\tfourthLast.getLastPoint().getY());\n\t\t\tarrowPath.lineTo(p2.getX(), p2.getY());\n\t\t\t\n\t\t\tm_shape = new SVGPath(arrowPath);\n\t\t}\n\n\t\t/*\n\t\t * System.out.println(\"StandardArrow: passed = \" + passed + \" diff = \" +\n\t\t * diff + \" dis = \" + dis + \" intersect = \" + intersect.size() +\n\t\t * \" perp diff = \" + perpDiff);\n\t\t */\n\n\t\treturn passed;\n\t}", "public boolean isPressed() {\r\n List<Entity> entities = dungeon.getEntities();\r\n for (Entity e: entities) {\r\n if (e != null && e.getY() == getY() && e.getX() == getX()) {\r\n if (\"Boulder\".equals(e.getClass().getSimpleName()))\r\n return true;\r\n }\r\n }\r\n return false;\r\n }", "private boolean isAllStrike() {\n\t\treturn false;\r\n\t}", "public boolean hasHair() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "public boolean isTriangle () {\r\n\t\tif (startSide1 > 0 && startSide2 > 0 && startSide3 > 0){\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\telse return false;\r\n\t}", "public boolean isHighlighted() {\n return _isHighlighted;\n }", "public boolean isAttachmentPainting ()\r\n {\r\n return constants.attachmentPainting.getValue();\r\n }", "public boolean isDashArrow()\n {\n return Operators.isDashArrow(getContent());\n }", "public boolean isHighlighted() {\n\t\treturn highlighted;\n\t}", "public boolean mustBeInlined() {\n // TODO(118734615): Include SINGLE_CALLER and DUAL_CALLER here as well?\n return this == FORCE || this == ALWAYS;\n }", "@Override\r\n public boolean isClef ()\r\n {\r\n return ShapeSet.Clefs.contains(getShape());\r\n }", "public boolean isInterior() {\n return true;\n }", "private static boolean isPointOnLine(LineSegment a, Point2D b) {\r\n\t // Move the image, so that a.first is on (0|0)\r\n\t LineSegment aTmp = new LineSegment(new PointDouble(0, 0), new PointDouble(\r\n\t a.endPoint.getX() - a.startPoint.getX(), a.endPoint.getY() - a.startPoint.getY()));\r\n\t PointDouble bTmp = new PointDouble(b.getX() - a.startPoint.getX(), b.getY() - a.startPoint.getY());\r\n\t double r = crossProduct(aTmp.endPoint, bTmp);\r\n\t return Math.abs(r) < 0.000001;\r\n\t}", "boolean isEnableDepthOffset(DrawContext dc, Object shape);", "public boolean isShapeMasked() {\n return this.shapeMasked;\n }", "public boolean isGlowing ( ) {\n\t\treturn extract ( handle -> handle.isGlowing ( ) );\n\t}", "Shape whoIsPlaying();", "public boolean isInShape(Point p) \n\t{\n\t\tPoint centre = new Point((int)posX + diam/2, (int)posY + diam/2);\n\t\t//If distance between two points if less than or equal to radius, true is\n\t\t//returned\n\t\treturn p.distance(centre) <= diam/2;\n\t}", "@Override\r\n public boolean isKnown ()\r\n {\r\n Shape shape = getShape();\r\n\r\n return (shape != null) && (shape != Shape.NOISE);\r\n }", "public boolean linkCurves() { return link_curves_cbmi.isSelected(); }", "public static boolean advancedShapeUp() {\n return TUIMenu.displayValueMenu(\n \"Utiliser les règles Advanced Shape Up! ?\",\n List.of(\n new SupplierAction<>() {\n public String name() {\n return \"Oui\";\n }\n\n public Boolean get() {\n return true;\n }\n },\n new SupplierAction<>() {\n public String name() {\n return \"Non\";\n }\n\n public Boolean get() {\n return false;\n }\n }\n )\n );\n }", "public boolean isIntersected(Line line)\n {\n float a = direction.y;\n float b = -direction.x;\n float d = line.getDirection().y;\n float e = -line.getDirection().x;\n\n return ((a * e - b * d) != 0);\n }", "public int isPenDown () {\n if (myPenDown) return 1;\n return 0;\n }", "public boolean getPaintBorder() {\n\t\treturn p.getPaintBorder();\n\t}", "public boolean isTextPainted() {\r\n return textPainted;\r\n }", "public boolean isTextPainted() {\r\n return textPainted;\r\n }", "public abstract boolean illuminates(Point3 point);", "public boolean isHorizontal() {\n\t\treturn ( getSlope() == 0.0d );\n\t}", "public boolean isOver() {\n \t\treturn isOver;\n \t}", "public boolean isInFrontOf(Shape other)\n {\n return parent != null && parent.isInFrontOf(this, other);\n }", "@Override\r\n public boolean isBar ()\r\n {\r\n return ShapeSet.Barlines.contains(getShape());\r\n }" ]
[ "0.8137051", "0.7452891", "0.68487436", "0.66807586", "0.65575045", "0.6204141", "0.61555076", "0.60896343", "0.60813165", "0.6032282", "0.6002801", "0.5897917", "0.57935625", "0.5766281", "0.5761438", "0.5738545", "0.5736856", "0.5686116", "0.56580883", "0.56459147", "0.5591938", "0.5588686", "0.5556095", "0.55235296", "0.5515573", "0.5502211", "0.5494859", "0.54945743", "0.54915565", "0.5484248", "0.54691046", "0.5442251", "0.54296637", "0.5428281", "0.5403521", "0.53741693", "0.5369326", "0.53590465", "0.5353984", "0.535137", "0.53423494", "0.53208643", "0.5318358", "0.53154665", "0.5312983", "0.53022885", "0.5266907", "0.5250401", "0.5247413", "0.5247299", "0.5246129", "0.52460355", "0.5243827", "0.5235448", "0.5212529", "0.5211335", "0.5208158", "0.5200865", "0.5200865", "0.5200865", "0.5198963", "0.5192393", "0.5188361", "0.51866746", "0.5181859", "0.51729447", "0.51681495", "0.51642525", "0.5164027", "0.51550835", "0.5142888", "0.51380116", "0.5131761", "0.5121916", "0.51150656", "0.51114315", "0.51095927", "0.5104067", "0.5103736", "0.5098335", "0.5090336", "0.50898564", "0.50856733", "0.5082552", "0.50761664", "0.50645334", "0.5061144", "0.5060166", "0.5056936", "0.5049155", "0.5044839", "0.5038847", "0.50380296", "0.50272477", "0.50272477", "0.5024605", "0.5015666", "0.5015629", "0.50136274", "0.5012704" ]
0.7236515
2
Sets the shape to underline.
public void setUnderlined(boolean aFlag) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void setUnderline(final boolean underline) {\n this.underline = underline;\n }", "public void setUnderline(byte underline)\n {\n font.setUnderline(underline);\n }", "public void setUnderline(byte underline) {\n\t\tthis.underline = underline;\n\t}", "public void setUnderline() {\n italics.setSelected(false);\n Ok.setSelected(false); /*FAULT:: Ok.setSelected(true); */\n bold.setSelected(false);\n underline.setSelected(true);\n }", "public boolean getUnderline() {\r\n return Underline;\r\n }", "public void setUnderline(int val) throws IOException {\n writer.write(0x1B);\n writer.write(\"-\");\n writer.write(val);\n writer.flush();\n }", "public static void setUnderlined(TextView textView, String text) {\n SpannableString spannable = new SpannableString(text);\n spannable.setSpan(new UnderlineSpan(), 0, text.length(), 0);\n textView.setText(spannable);\n }", "@Override\r\n\tpublic void draw() {\n\t\tdecoratedShape.draw();\r\n\t\tsetRedBorder(decoratedShape);\r\n\t}", "private void underlineLabelText(JLabel label) {\n Font font = label.getFont();\n Map attributes = font.getAttributes();\n attributes.put(TextAttribute.UNDERLINE, TextAttribute.UNDERLINE_ON);\n label.setFont(font.deriveFont(attributes));\n }", "public byte getUnderline() {\n\t\treturn this.underline;\n\t}", "public void strokeShape(Shape shape);", "public String getUnderline() {\n return underline.getText(); /*FAULT:: return \"y\"; */\n }", "@SuppressWarnings(\"unchecked\")\n\tpublic static void underlineLabel (JLabel label) {\n\t\t\n\t\tFont font = label.getFont();\n\t\t@SuppressWarnings(\"rawtypes\")\n\t\tMap attributes = font.getAttributes();\n\t\tattributes.put(TextAttribute.UNDERLINE, TextAttribute.UNDERLINE_ON);\n\t\tlabel.setFont(font.deriveFont(attributes));\n\t}", "void drawShape() {\n System.out.println(\"Drawing Triangle\");\n this.color.addColor();\n }", "public abstract void setStroke(BasicStroke stroke);", "public void setStroke(Stroke stroke);", "public void setStrokeStyle(STYLE style);", "public void drawStroke(Canvas canvas, Paint eraser, Shape shape, int xPosition, int yPosition, int shapePadding) {\n }", "@Override\n\tpublic void draw() {\n\t\tdecoratedShape.draw();\n\t}", "void drawOutline(DrawContext dc, Object shape);", "public void setIsFontUnderlined(boolean value) {\n this.isFontUnderlined = value;\n }", "@Override\n public void updateDrawState(TextPaint ds) {\n ds.setUnderlineText(false);\n }", "DrawShape(){\r\n super();\r\n setBackground(Color.WHITE);\r\n addMouseListener(this);\r\n }", "@Override\n public void setLineJoin(String style) {\n graphicsEnvironmentImpl.setLineJoin(canvas, style);\n }", "@Override\r\n\t\tpublic void updateDrawState(TextPaint ds) {\n\t\t\tsuper.updateDrawState(ds);\r\n\t\t\tds.setUnderlineText(false);\r\n\t\t}", "protected void setLineWidth(int width) {\r\n\t\tif (primaryShape instanceof Shape) {\r\n\t\t\t((Shape) primaryShape).setLineWidth(width);\r\n\t\t}\r\n\t}", "public byte getUnderline()\n {\n return font.getUnderline();\n }", "@Override\n\tprotected void outlineShape(Graphics graphics) {\n\t}", "@Override public void draw(){\n // this take care of applying all styles (colors/stroke)\n super.draw();\n // draw our shape\n pg.ellipseMode(PGraphics.CORNER); // TODO: make configurable\n pg.ellipse(0,0,getSize().x,getSize().y);\n }", "public void draw(Shape shape) {\n this.shape = shape; //setter\n System.out.println(shape.draw()); //execute\n }", "public void drawShape(Shape shape);", "public void initialSetting(AttributeSet attributeSet, int defStyleAttr){\n paint_brush.setAntiAlias(true);\n\n //Setting the color for the Paint Brush\n paint_brush.setColor(Color.BLACK);\n\n //Setting the corner display for the drawings done by the User\n //The corners will be seen circular in display\n paint_brush.setStrokeJoin(Paint.Join.ROUND);\n\n //Setting the style of the stroke of the paint brush\n paint_brush.setStyle(Paint.Style.STROKE);\n\n //Setting the width of the stroke of the paint brush\n paint_brush.setStrokeWidth(8f);\n }", "public void setStroke(RMStroke aStroke)\n{\n if(RMUtils.equals(getStroke(), aStroke)) return; // If value already set, just return\n repaint(); // Register repaint\n if(_stroke!=null) _stroke.removePropertyChangeListener(this);\n firePropertyChange(\"Stroke\", _stroke, _stroke = aStroke, -1); // Set value and fire PropertyChange\n if(_stroke!=null) _stroke.addPropertyChangeListener(this); // Set shape\n}", "public void setShape( final FireShapes shape ) {\r\n\t\tthis.shape = shape;\r\n\t}", "public void setLineWidth(float lineWidth);", "private void createEdgeForShape(Shape shape) {\n\t\tcurrentShape = shape;\n\t\tif (holdAltKey && !(shape instanceof JoinPoint)) {\n\t\t\tShape edge = createEdge();\n\t\t\t((Edge)edge).setSource(currentShape);\n\t\t\taddShape(edge);\n\t\t\tcurrentShape.setDrawing(false);\n\t\t\tcurrentShape = edge;\n\t\t}\n\t}", "private void setUpLedger() {\n _ledgerLine = new Line();\n _ledgerLine.setStrokeWidth(Constants.STROKE_WIDTH);\n _staffLine = new Line();\n _staffLine.setStrokeWidth(1);\n }", "public abstract void setLineWidth(float lineWidth);", "public void setStroke(Stroke s)\r\n\t{\r\n\t\tif (s instanceof BasicStroke)\r\n\t\t{\r\n\t\t\tBasicStroke bs = (BasicStroke) s;\r\n\t\t\tthis.setLineWidth(bs.getLineWidth());\r\n\r\n\t\t\tif (bs.getDashArray() != null)\r\n\t\t\t{\r\n\t\t\t\tthis.setLineStyle(CanvasType.SHORT_DASHES);\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\tthis.setLineStyle(CanvasType.SOLID);\r\n\t\t\t}\r\n\r\n\t\t}\r\n\t\t// else\r\n\t\t// System.out.println(\"setStroke not a BasicStroke\");\r\n\t}", "@Override\n\tpublic void drawShape(Graphics g) {\n\t\tg.setColor(getColor());\n\t\tg.drawLine(startPoint.getX(), startPoint.getY(), endPoint.getX(), endPoint.getY());\n\t\tif(isSelected())\n\t\t\tselectedShape(g);\n\t}", "public static String underline(String message) {\n return \"__\" + message + \"__\";\n }", "public static SpannableString getNormalUnderlineString(String normalStr, String underlineStr) {\n SpannableString ss;\n\n if (TextUtils.isEmpty(normalStr))\n normalStr = \"\";\n\n if (TextUtils.isEmpty(underlineStr)) {\n ss = new SpannableString(normalStr);\n } else {\n int pos = underlineStr.length();\n\n ss = new SpannableString(normalStr + underlineStr);\n //ss.setSpan(new ForegroundColorSpan(Color.WHITE), 0, pos, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);\n ss.setSpan(new UnderlineSpan(), normalStr.length(), normalStr.length() + underlineStr.length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);\n //ss.setSpan(new ForegroundColorSpan(Color.GRAY), pos + 2, boldStr.length() + normalStr.length() + 2, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);\n }\n\n return ss;\n }", "@Override\n\tpublic void draw() {\n\t\tSystem.out.println(\"绘制三角形\");\t\n\t}", "public boolean isUnderlined()\n {\n return getStyle().isUnderlined();\n }", "@Override\n public void setLineCap(String style) {\n graphicsEnvironmentImpl.setLineCap(canvas, style);\n }", "@Override\n public String getLineJoin() {\n return graphicsEnvironmentImpl.getLineJoin(canvas);\n }", "public void setDrawingJoin(JOIN join);", "public boolean isUnderlined() { return false; }", "protected void renderTextDecoration(final FontMetrics fm,\n final int fontsize, final InlineArea inline, final int baseline,\n final int startx) {\n final boolean hasTextDeco = inline.hasUnderline()\n || inline.hasOverline() || inline.hasLineThrough();\n if (hasTextDeco) {\n endTextObject();\n final float descender = fm.getDescender(fontsize) / 1000f;\n final float capHeight = fm.getCapHeight(fontsize) / 1000f;\n final float halfLineWidth = descender / -8f / 2f;\n final float endx = (startx + inline.getIPD()) / 1000f;\n if (inline.hasUnderline()) {\n final Color ct = (Color) inline.getTrait(Trait.UNDERLINE_COLOR);\n final float y = baseline - descender / 2f;\n drawBorderLine(startx / 1000f, (y - halfLineWidth) / 1000f,\n endx, (y + halfLineWidth) / 1000f, true, true,\n Constants.EN_SOLID, ct);\n }\n if (inline.hasOverline()) {\n final Color ct = (Color) inline.getTrait(Trait.OVERLINE_COLOR);\n final float y = (float) (baseline - 1.1 * capHeight);\n drawBorderLine(startx / 1000f, (y - halfLineWidth) / 1000f,\n endx, (y + halfLineWidth) / 1000f, true, true,\n Constants.EN_SOLID, ct);\n }\n if (inline.hasLineThrough()) {\n final Color ct = (Color) inline\n .getTrait(Trait.LINETHROUGH_COLOR);\n final float y = (float) (baseline - 0.45 * capHeight);\n drawBorderLine(startx / 1000f, (y - halfLineWidth) / 1000f,\n endx, (y + halfLineWidth) / 1000f, true, true,\n Constants.EN_SOLID, ct);\n }\n }\n }", "public final Pen changeStyle(LineStyle style) {\n Color resultColor = this.color;\n BasicStroke resultStroke = LineStyleUtils.getStroke(style, stroke.getLineWidth());\n return new Pen(resultStroke, resultColor);\n }", "private void setPenColor() {\n\t}", "public void setStrokeGradient(Gradient gradient);", "public void setLineWidth(int width)\n {\n if (width > 0)\n lineWidth = width;\n else \n lineWidth = 1;\n }", "public void draw() {\r\n\t\tbackground(255); // Clear the screen with a white background\r\n\r\n\t\ttextSize(12);\r\n\t\tfill(0);\r\n\r\n\t\tstroke(0);\r\n\t\tcurve.draw(this);\r\n\t}", "@Override\n\tpublic void setBasicStroke(String basicStroke) {\n\t\tthis.basicStroke=basicStroke;\n\t}", "public void highlight(){\n myRectangle.setFill(HIGHLIGHT);\n }", "public void OkActionPerformed(java.awt.event.ActionEvent evt) {\n // Add your handling code here:\n\n letterTool.currentFont = families.getSelectedIndex();\n letterTool.currentSize = size.getSelectedIndex();\n letterTool.boldness = bold.isSelected();\n letterTool.italicness = italics.isSelected(); /*FAULT:: letterTool.italicness = !italics.isSelected(); */\n letterTool.underlineness = underline.isSelected();\n\n\n\n BufferedImage im = ((Paint) this.getParent()).center.getBufferedImage();\n Graphics2D g2d = im.createGraphics();\n\n g2d.setPaint(((Paint) this.getParent()).center.left_color);\n int style = Font.PLAIN;\n if (bold.isSelected()) {\n style += Font.BOLD;\n }\n if (italics.isSelected()) {\n style += Font.ITALIC;\n }\n Font newFont = new Font(myFont.font, style, myFont.size);\n g2d.setFont(newFont);\n g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);\n\n String myText = text.getText();\n\n g2d.drawString(myText, x, y);\n ((Paint) this.getParent()).center.setBufferedImage(im);\n if (underline.isSelected()) {\n /*AttributedString newString = new AttributedString(myText);\n newString.addAttribute(TextAttribute.UNDERLINE, TextAttribute.UNDERLINE_ON, 0, myText.length());\n g2d.draw*/\n im = ((Paint) this.getParent()).center.getBufferedImage();\n g2d = im.createGraphics();\n g2d.setPaint(((Paint) this.getParent()).center.left_color);\n //STUFF I JUST ADDED\n FontRenderContext rend = new FontRenderContext(new AffineTransform(), true, true);\n\n if (newFont.getStringBounds(myText, rend).getMaxX() > 0) {\n g2d.drawLine(x, y + 1, (int) (x + newFont.getStringBounds(myText, rend).getMaxX()), y + 1);\n// +1 removed from before ,y\n //END OF STUFF I JUST ADDED\n }\n ((Paint) this.getParent()).center.setBufferedImage(im);\n }\n ((Paint) this.getParent()).center.setBufferedImage(im);\n this.setVisible(false);\n dispose();\n ok_action = true;\n im.flush();\n }", "public void setStrokeColor(Color color);", "public void renderShape(final Shape theShape) {\n if (myWidth > 0) {\n final Drawing newDrawing = new Drawing(theShape, myColor, myWidth);\n myCurrentShape = newDrawing;\n repaint();\n } \n }", "public void setLineWidth(Integer width) {\n style.setBorderWidth(width);\n }", "public void addShape(final Shape theShape) {\n if (myWidth > 0) {\n final Drawing newDrawing = new Drawing(theShape, myColor, myWidth);\n if (myDrawingArray.isEmpty()) {\n firePropertyChange(ARRAY_STRING, null, NOT_EMPTY_STRING);\n }\n myDrawingArray.add(newDrawing);\n repaint();\n } \n }", "public void drawTo(Point that) {\n /* DO NOT MODIFY */\n StdDraw.line(this.x, this.y, that.x, that.y);\n }", "public void drawTo(Point that) {\n /* DO NOT MODIFY */\n StdDraw.line(this.x, this.y, that.x, that.y);\n }", "public void drawTo(Point that) {\n /* DO NOT MODIFY */\n StdDraw.line(this.x, this.y, that.x, that.y);\n }", "public void drawTo(Point that) {\n /* DO NOT MODIFY */\n StdDraw.line(this.x, this.y, that.x, that.y);\n }", "public void drawTo(Point that) {\r\n /* DO NOT MODIFY */\r\n StdDraw.line(this.x, this.y, that.x, that.y);\r\n }", "public void setArrowHead(int baseX, int baseY, int tipX, int tipY);", "public void setLineWidth(float width)\r\n\t{\r\n\t\t// not implemented\r\n\t\tg.setPenWidth((int) width);\r\n\t}", "@Override\n\tpublic WebElement getTabBarUnderline() {\n\t\treturn null;\n\t}", "public void setShape(ShapeType shape) {\n\t\tthis.shape = shape;\n\t}", "public void drawTo(Point that) {\n StdDraw.line(this.x, this.y, that.x, that.y);\n }", "public CssTextEmphasisStyle() {\n value = initial;\n }", "public void setLineStyle(int style)\r\n\t{\r\n\t\tg.setPenStyle(style);\r\n\t}", "@Override\n public void setLineWidth(double width) {\n graphicsEnvironmentImpl.setLineWidth(canvas, width);\n }", "private void setupDrawing(){\n brushSize = 1;\n lastBrushSize = brushSize;\n drawPath = new Path();\n drawPaint = new Paint();\n drawPaint.setColor(paintColor);\n drawPaint.setAntiAlias(true);\n drawPaint.setStrokeWidth(brushSize);\n drawPaint.setStyle(Paint.Style.STROKE);\n drawPaint.setStrokeJoin(Paint.Join.ROUND);\n drawPaint.setStrokeCap(Paint.Cap.ROUND);\n canvasPaint = new Paint(Paint.DITHER_FLAG);\n }", "@Override public Polyline setStrokeWidth(double strokeWidth)\n {\n return (Polyline)super.setStrokeWidth(strokeWidth);\n }", "protected void setLineType(int style) {\r\n\t\tif (primaryShape instanceof Shape) {\r\n\t\t\t((Shape) primaryShape).setLineStyle(style);\r\n\t\t}\r\n\t}", "public void setArrowHead(OMArrowHead omah) {\n arrowhead = omah;\n }", "private void setRedBorder(Shape decoratedShape) {\n\t\tSystem.out.println(\"Border Color: Red\");\r\n\t}", "public void setStrokeWidth(float aValue)\n{\n // Set line width\n if(getStroke()==null) setStroke(new RMStroke(RMColor.black, aValue));\n else getStroke().setWidth(aValue);\n}", "public boolean isIsFontUnderlined() {\n return isFontUnderlined;\n }", "private void drawComposingTextUnderline(Canvas canvas,float offsetX,int color){\n if(mConnection != null && mConnection.composingLine != -1){\n int offY = getLineBottom(mConnection.composingLine) - getOffsetY();\n prepareLine(mConnection.composingLine);\n offsetX += measureText(mChars,0,mConnection.composingStart);\n float width = measureText(mChars,mConnection.composingStart,mConnection.composingEnd - mConnection.composingStart);\n mRect.top = offY - mUnderlineWidth;\n mRect.bottom = offY;\n mRect.left = offsetX;\n mRect.right = offsetX + width;\n drawColor(canvas,color,mRect);\n }\n }", "public void setArrowColor(Color arrowColor) {\r\n\t\tthis.arrowColor = arrowColor;\r\n\t}", "public void addShape(TShape aShape){\r\n // fShapes.remove(aShape); // just in case it was already there\r\n\r\n /*unfortunately we need to have a front to back screen order, properties at the back\r\n (drawn first), then individuals, finally relations between individuals*/\r\n\r\n /* if (aShape instanceof TLine)\r\n fShapes.add(aShape); // add at the end\r\n else if (aShape instanceof TProperty)\r\n fShapes.add(0,aShape); // add at the beginning\r\n else {\r\n int insertIndex=0;\r\n if (fShapes.size() > 0) {\r\n Iterator iter = fShapes.iterator();\r\n\r\n while (iter.hasNext()) {\r\n if (! ((TShape) iter.next()instanceof TProperty))\r\n break; //put it after rectangles\r\n else\r\n insertIndex++;\r\n }\r\n }\r\n fShapes.add(insertIndex,aShape);\r\n }*/\r\n\r\n\r\n // aShape.setSemantics(fSemantics);\r\n\r\n aShape.addChangeListener(this); // and we'll listen for any of its changes, such as being selected\r\n\r\n addShapeToList(aShape,fShapes);\r\n\r\n if (aShape instanceof TInterpretationBoard)\r\n ((TInterpretationBoard)aShape).setSemantics(fSemantics);\r\n\r\n\r\n fPalette.check(); // some of the names may need updating\r\n\r\n repaint();\r\n }", "public void paintShapeOver(RMShapePainter aPntr)\n{\n if(getStrokeOnTop() && getStroke()!=null)\n getStroke().paint(aPntr, this);\n}", "@Override\n\tpublic void drawShape(Graphics2D g) {\n\t\tsuper.drawShape(g);\n\t\trect.drawAndFillShape(g);\n\t\tuiText.drawShape(g);\n\t}", "@Override\r\n Shape getOutline ()\r\n {\r\n return null;\r\n }", "void drawShape(Shape s) {\n }", "public void setShape(Shape shape) {\n\tthis.shape = shape;\n\n\tPathIterator p = shape.getPathIterator(new AffineTransform());\n\t\t\n\tFlatteningPathIterator fp = new FlatteningPathIterator(p, flatness);\n\t\t\n\tpath.clear();\n\twhile(!fp.isDone()) {\n\t double[] farr = new double[6];\n\t int type = fp.currentSegment(farr);\n\t\t \n\t if (type == PathIterator.SEG_MOVETO || type == PathIterator.SEG_LINETO) {\n\t\tpath.add(new Point2D.Double(farr[0],farr[1]));\n\t }\n\t if (type == PathIterator.SEG_QUADTO) {\n\t\tfor(int i=0; i<2; i++) {\n\t\t path.add(new Point2D.Double(farr[0],farr[1]));\n\t\t}\n\t }\n\t if (type == PathIterator.SEG_CUBICTO) {\n\t\tfor(int i=0; i<3; i++) {\n\t\t path.add(new Point2D.Double(farr[2*i],farr[2*i+1]));\n\t\t}\n\t }\n\t fp.next();\n\t}\n }", "Appearance lineApp() {\n\t\tAppearance app = new Appearance();\n\t\tapp.setPolygonAttributes(\n\t\t\tnew PolygonAttributes(\n\t\t\t\tPolygonAttributes.POLYGON_LINE,\n\t\t\t\tPolygonAttributes.CULL_NONE,\n\t\t\t\t0f));\n\t\treturn app;\n\t}", "public void assignShape() {\n\t\t\n\t}", "private void initPaint() {\n mPaint = new Paint();\n mPaint.setAntiAlias(true);\n mStrokeWidth = 2.0f;\n mPaint.setStyle(Paint.Style.STROKE);// Hollow effect\n mPaint.setColor(mRippleColor);\n mPaint.setStrokeWidth(mStrokeWidth);// set the line width\n }", "public void setShape(ChamberShape theShape) {\n mySize = theShape;\n setExits();\n }", "@Override\n public void stroke() {\n graphicsEnvironmentImpl.stroke(canvas);\n }", "public void strokeRectangle(RectangleShape rectangle);", "public Pen() {\n color = Color.BLACK;\n stroke = new BasicStroke();\n }", "public void setShape(Shape shape) {\n validateShape(shape);\n\n this.shape = shape;\n this.shape.calculate();\n initializeScroller();\n resetScroll();\n }", "@Override\n\tpublic void draw() {\n\t\tSystem.out.println(\"绘制圆形\");\n\t}", "private void setShape(ChamberShape theShape) {\n mySize = theShape;\n createDoorsFromExits();\n }", "@Override\n\tpublic String shape() {\n\t\treturn \"Text\";\n\t}" ]
[ "0.7192636", "0.71138203", "0.69713473", "0.6519081", "0.58659154", "0.5773931", "0.5632725", "0.56214166", "0.5536561", "0.5533379", "0.5530682", "0.54396975", "0.54364", "0.5398802", "0.53713244", "0.5293682", "0.52709764", "0.5190824", "0.518587", "0.5169133", "0.5162557", "0.51352096", "0.50779015", "0.5041736", "0.5036775", "0.5005217", "0.50042164", "0.49404714", "0.49206746", "0.49164796", "0.4885786", "0.48526755", "0.48524562", "0.48411697", "0.4826709", "0.48177865", "0.4804658", "0.47748977", "0.4765957", "0.47492453", "0.4738054", "0.47260305", "0.47194195", "0.47171515", "0.46957737", "0.46821395", "0.46794748", "0.46726963", "0.46622366", "0.46540657", "0.4652313", "0.4644547", "0.46297207", "0.46219328", "0.46206412", "0.46074", "0.46016237", "0.45894325", "0.4581593", "0.45629004", "0.45606482", "0.454902", "0.454902", "0.454902", "0.454902", "0.4533453", "0.4531682", "0.45266026", "0.452009", "0.45133713", "0.45089874", "0.45004717", "0.4499994", "0.4487415", "0.44818917", "0.4481074", "0.4480347", "0.44739166", "0.4473223", "0.44674268", "0.4463842", "0.44542348", "0.44528207", "0.44418126", "0.44311565", "0.44201636", "0.4417989", "0.44158757", "0.44148308", "0.44137135", "0.44079643", "0.44069353", "0.44054732", "0.44039324", "0.43993986", "0.4395214", "0.43927938", "0.43805158", "0.4378968", "0.4378553" ]
0.50115776
25
Returns the outline for the shape.
public RMXString.Outline getOutline() { return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Outline getOutline()\n {\n return outline;\n }", "public String getOutline() {\n return outline;\n }", "public final Paint getOutlinePaint() {\n return outlinePaint;\n }", "public final Stroke getOutlineStroke() {\n return outlineStroke;\n }", "@Override\r\n Shape getOutline ()\r\n {\r\n return null;\r\n }", "void drawOutline(DrawContext dc, Object shape);", "public String getOutlineColor();", "public AssignmentOutline getOutline() {\n return this.outline;\n }", "public Polygon getOutline(long extrapolateTime);", "@Override\n\tprotected void outlineShape(Graphics graphics) {\n\t}", "public Shape getAreaColision();", "public String getOutlineStyleId() {\n\t\treturn this.outlineStyleId;\n\t}", "boolean isDrawOutline(DrawContext dc, Object shape);", "public Shape getTraceAreaShape()\n {\n return ScatterTraceViewShapes.getAreaShape(this);\n }", "public DirectShapeRenderer stroke() {\n \t\treturn renderer.stroke();\n \t}", "public Stroke getInnerStroke() {\n return null;\n }", "public final Outline getLastOutline() {\r\n return outlines.get(outlines.size()-1);\r\n }", "@Override\n\tpublic int getOutlineLevel() {\n\t\treturn 0;\n\t}", "@Override\n public Shape getShape() {\n myPencil.moveTo(getStartPoint().getX(), getStartPoint().getY());\n myPencil.lineTo(getEndPoint().getX(), getEndPoint().getY());\n setStartPoint(getEndPoint());\n \n return myPencil;\n }", "public Shape getShape() \n {\n return new EllipseShape(new Extent(3,3), Color.RED,true);\n }", "IShape getEndShape();", "public Stroke<R> getStroke() {\n if (stroke == null) {\n stroke = factory.createStroke();\n }\n return stroke;\n }", "@Override\n\tprotected Shape getShape() {\n\t\tRectangle2D ellipse = new Rectangle2D.Double(this.getX(), this.getY(), this.getDimension(), this.getDimension()/2);\n\t return ellipse;\n\t}", "public Stroke getStroke() {\n\t\tStroke theStroke = stroke;\n\t\tif (theStroke == null) {\n\t\t\ttheStroke = new BasicStroke(strokeWidth);\n\t\t\tstroke = theStroke;\n\t\t}\n\t\treturn theStroke;\n\t}", "Shape getShape();", "public void strokeShape(Shape shape);", "public RMStroke getStroke() { return _stroke; }", "public Shape getShape();", "public Stroke getStroke()\r\n\t{\r\n\t\treturn _g2.getStroke();\r\n\t}", "Shape getHighlightShape();", "public IntegerRange getOutlineDepthRange() {\n\t\treturn this.outlineDepthRange;\n\t}", "public int getOutlineClipBottom() {\n return mOutlineClipRect.bottom;\n }", "public Ellipse2D getShape()\r\n {\r\n if(this.stable){\r\n return new Ellipse2D.Double(x, y, XSIZE*2, YSIZE*2);\r\n }\r\n else\r\n return new Ellipse2D.Double(x, y, XSIZE, YSIZE);\r\n }", "@NonNull\n/* */ private Observable<InkDrawInfo> outlineArrayToOutlineSegmentPath(Observable<double[]> observable) {\n/* 274 */ return observable.filter(new Predicate<double[]>() { public boolean test(double[] outline) throws Exception { return (outline.length > 8); } }).map(new Function<double[], InkDrawInfo>()\n/* */ {\n/* */ public InkDrawInfo apply(double[] outline) throws Exception {\n/* 277 */ Utils.throwIfOnMainThread();\n/* 278 */ Path pathf = PathPool.getInstance().obtain();\n/* 279 */ pathf.setFillType(Path.FillType.WINDING);\n/* */ \n/* 281 */ double left = outline[0];\n/* 282 */ double top = outline[1];\n/* 283 */ double right = outline[0];\n/* 284 */ double bottom = outline[1];\n/* */ \n/* 286 */ pathf.moveTo((float)outline[0], (float)outline[1]);\n/* 287 */ for (int i = 2, cnt = outline.length; i < cnt; i += 6) {\n/* */ \n/* */ \n/* */ \n/* 291 */ for (int k = 0; k <= 5; k += 2) {\n/* 292 */ double x = outline[i + k];\n/* 293 */ double y = outline[i + k + 1];\n/* 294 */ left = Math.min(x, left);\n/* 295 */ top = Math.min(y, top);\n/* 296 */ right = Math.max(x, right);\n/* 297 */ bottom = Math.max(y, bottom);\n/* */ } \n/* */ \n/* 300 */ pathf.cubicTo((float)outline[i], (float)outline[i + 1], (float)outline[i + 2], (float)outline[i + 3], (float)outline[i + 4], (float)outline[i + 5]);\n/* */ } \n/* */ \n/* 303 */ int fudge = 2;\n/* 304 */ return new InkDrawInfo((int)left - fudge, (int)right + fudge, (int)top - fudge, (int)bottom + fudge, pathf, PointProcessor.this\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* 310 */ .mPaint);\n/* */ }\n/* */ });\n/* */ }", "public int getOutlinePickWidth()\n {\n return this.outlinePickWidth;\n }", "public Shape getShape() {\r\n\t\t\treturn shape;\r\n\t\t}", "public Shape getShape() { return shape; }", "public Rectangle getShape() \n\t{\n\t\treturn box;\n\t}", "public Shape getShape() {\n return shape;\n }", "public Shape getShape() {\n\t\treturn shape;\n\t}", "public Shape getShape() {\n\t\treturn this;\n\t}", "public Shape getShape() {\n\treturn shape;\n }", "public Shape getShape()\n\t{\n\t\treturn rect;\n\t}", "protected boolean mustDrawOutline()\n {\n return this.getActiveAttributes().isDrawOutline();\n }", "public Style createEditPathBox() {\n \t \tStroke stroke = styleFactory.createStroke(\n \t \t\tfilterFactory.literal(Color.RED), filterFactory.literal(1), null, null,null, new float[] { 5, 2 }, null, null, null\n\t\t);\n \t \t\n\t\t//Cria um Symbolizer para linha.\n\t\tPolygonSymbolizer polygonSymbolizer = styleFactory.createPolygonSymbolizer(stroke, null, null);\n\t\t//Regra para um estilo de fei��o.\n\t\tRule rulePoly = styleFactory.createRule();\n\t\t\n\t\t//Adiciona o PointSymbolizer na regra.\n\t\t//rulePoly.setName(\"Polygon\"); \n\t\t//ruleLine.setFilter(filterFactory.equals(filterFactory.property(\"geom\"), filterFactory.literal(false)));\n\t\trulePoly.symbolizers().add(polygonSymbolizer); \n\t\t\t \n\t\t//Adiciona uma ou N regras em uma estilo de uma determinada fei��o.\n\t\tFeatureTypeStyle ftsPoly = styleFactory.createFeatureTypeStyle(new Rule[]{rulePoly});\n\t\t \n\t\t//Cria o estilo (SLD).\n\t\tStyle style = styleFactory.createStyle();\n\t\tstyle.featureTypeStyles().add(ftsPoly);\n\t\t \n\t\treturn style;\n }", "public RMColor getStrokeColor() { return getStroke()==null? RMColor.black : getStroke().getColor(); }", "public void strokeRectangle(RectangleShape rectangle);", "public IconShape shape() {\n\t\treturn shape;\n\t}", "public Shape getShape()\n {\n return Shape.this;\n }", "public Color<?> getStrokeColor(\n )\n {return strokeColor;}", "public final int getStrokeColor() {\n if (org.xms.g.utils.GlobalEnvSetting.isHms()) {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).getStrokeColor()\");\n return ((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).getStrokeColor();\n } else {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).getStrokeColor()\");\n return ((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).getStrokeColor();\n }\n }", "public ShapeType getShape() {\n\t\treturn this.shape;\n\t}", "public final native Colour getStroke() /*-{\n\t\treturn @net.edzard.kinetic.Colour::new(Ljava/lang/String;)(this.getStroke());\n\t}-*/;", "public OutlineShape(final Vertex.Factory<? extends Vertex> factory) {\r\n this.vertexFactory = factory;\r\n this.outlines = new ArrayList<Outline>(3);\r\n this.outlines.add(new Outline());\r\n this.outlineState = VerticesState.UNDEFINED;\r\n this.bbox = new AABBox();\r\n this.triangles = new ArrayList<Triangle>();\r\n this.vertices = new ArrayList<Vertex>();\r\n this.addedVerticeCount = 0;\r\n this.dirtyBits = 0;\r\n this.sharpness = DEFAULT_SHARPNESS;\r\n }", "public IfcShapeAspect getShapeAspectStyle()\n\t{\n\t\treturn this.ShapeAspectStyle;\n\t}", "public String toString() {\n\t\t\treturn shape;\n\t\t}", "public Shape getShape() {\n\t\treturn null;\n\t}", "public Rectangle2D getBounds() {\n\t\t// FIXME: these bounds REALLY need to be cached. But it's\n\t\t// painful because of the public members.\n\t\tif (stroke == null) {\n\t\t\treturn shape.getBounds2D();\n\t\t} else if (stroke instanceof BasicStroke) {\n\t\t\t// For some reason (antialiasing?) the bounds returned by\n\t\t\t// BasicStroke is off by one. This code works around it.\n\t\t\t// if all we want is the bounds, then we don't need to actually\n\t\t\t// stroke the shape. We've had reports that this is no longer\n\t\t\t// necessary with JDK1.3.\n\t\t\tRectangle2D rect = shape.getBounds2D();\n\t\t\tint width = (int) ((BasicStroke) stroke).getLineWidth() + 2;\n\t\t\treturn new Rectangle2D.Double(rect.getX() - width, rect.getY()\n\t\t\t\t\t- width, rect.getWidth() + width + width, rect.getHeight()\n\t\t\t\t\t+ width + width);\n\t\t} else {\n\t\t\t// For some reason (antialiasing?) the bounds returned by\n\t\t\t// BasicStroke is off by one. This code works around it.\n\t\t\t// We've had reports that this is no longer\n\t\t\t// necessary with JDK1.3.\n\t\t\tRectangle2D rect = stroke.createStrokedShape(shape).getBounds2D();\n\t\t\treturn new Rectangle2D.Double(rect.getX() - 1, rect.getY() - 1,\n\t\t\t\t\trect.getWidth() + 2, rect.getHeight() + 2);\n\t\t}\n\t}", "IShape getCurrentShape();", "public String whatShape();", "public ValueExpression getBorder() {\n return border;\n }", "public Shape getShape() {\n\t\tif (_child == null) {\n\t\t\treturn new Rectangle2D.Double();\n\t\t} else {\n\t\t\treturn _child.getShape();\n\t\t}\n\t}", "public int getStrokeColor() {\n return (int) this.getValue(STROKE_COLOR_PROPERTY_KEY);\n }", "public Shape getClip()\r\n\t{\r\n\t\treturn _g2.getClip();\r\n\t}", "private void setOutline(JPanel panel, boolean outline) {\n Color borderColor = outline ? outlineColor : ((java.awt.Color)panel.getBackground());\n Border b = BorderFactory.createLineBorder(borderColor);\n panel.setBorder(b);\n }", "public Shape getShape() {\n return null;\n }", "public Polygon getArea() {\n\t\treturn area;\n\t}", "@Override\r\n public Shape getShape ()\r\n {\r\n if (evaluation != null) {\r\n return evaluation.shape;\r\n } else {\r\n return null;\r\n }\r\n }", "IShape getStartShape();", "void drawInterior(DrawContext dc, Object shape);", "public Color getShapeColor() {\n\t\tif (_shape != null) return _shape.getColor();\n\t\telse return null;\n\t}", "public abstract float getLineWidth();", "static Shape closedArrow(double size) {\n \t\tPath2D path = new Path2D.Double();\n \t\tpath.moveTo(-size*1.7, -size/2.0);\n \t\tpath.lineTo(0.0, 0.0);\n \t\tpath.lineTo(-size*1.7,size/2.0);\n \t\tpath.closePath();\n \t\treturn path;\n \t}", "ShapeType getShapeType();", "public BorderInfo getBorderEnd() {\n return borderEnd.getBorderInfo();\n }", "protected Shape getShape()\n {\n return null;\n }", "@Override\n public FillableShape getShape()\n {\n return FillableShape.this;\n }", "public java.lang.String getBorder()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(BORDER$22);\n if (target == null)\n {\n return null;\n }\n return target.getStringValue();\n }\n }", "public final ObjectProperty<StrokeType> strokeTypeProperty() {\n return getStrokeAttributes().typeProperty();\n }", "Shape createShape(BorderType borderType);", "public Path2D asAwtShape() {\n\t\t// creates the awt path\n\t\tPath2D.Double path = new Path2D.Double();\n\t\t\n\t\t// iterate on the path segments\n\t\tfor (Segment seg : this.segments) {\n\t\t\tseg.updatePath(path);\n\t\t}\n\t\t\n\t\t// returns the updated path\n\t\treturn path;\n\t}", "@Override\n Shape getShape() {\n return Shape.Square;\n }", "public Shape getRectangle() {\n return rectangle;\n }", "public float getStrokeWidth() { return getStroke()==null? 0 : getStroke().getWidth(); }", "public final java.util.List<org.xms.g.maps.model.PatternItem> getStrokePattern() {\n if (org.xms.g.utils.GlobalEnvSetting.isHms()) {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).getStrokePattern()\");\n java.util.List hReturn = ((com.huawei.hms.maps.model.PolygonOptions) this.getHInstance()).getStrokePattern();\n return ((java.util.List) org.xms.g.utils.Utils.mapCollection(hReturn, new org.xms.g.utils.Function<com.huawei.hms.maps.model.PatternItem, org.xms.g.maps.model.PatternItem>() {\n\n public org.xms.g.maps.model.PatternItem apply(com.huawei.hms.maps.model.PatternItem param0) {\n return new org.xms.g.maps.model.PatternItem(new org.xms.g.utils.XBox(null, param0));\n }\n }));\n } else {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).getStrokePattern()\");\n java.util.List gReturn = ((com.google.android.gms.maps.model.PolygonOptions) this.getGInstance()).getStrokePattern();\n return ((java.util.List) org.xms.g.utils.Utils.mapCollection(gReturn, new org.xms.g.utils.Function<com.google.android.gms.maps.model.PatternItem, org.xms.g.maps.model.PatternItem>() {\n\n public org.xms.g.maps.model.PatternItem apply(com.google.android.gms.maps.model.PatternItem param0) {\n return new org.xms.g.maps.model.PatternItem(new org.xms.g.utils.XBox(param0, null));\n }\n }));\n }\n }", "public Rectangle2D getBoundary()\n {\n \tRectangle2D shape = new Rectangle2D.Float();\n shape.setFrame(location.getX(),location.getY(),12,length);\n return shape;\n }", "public Shape createStrokedShape(Shape shape) {\n/* 140 */ GeneralPath result = new GeneralPath();\n/* 141 */ PathIterator it = new FlatteningPathIterator(shape.getPathIterator(null), 1.0D);\n/* 142 */ float[] points = new float[6];\n/* 143 */ float moveX = 0.0F, moveY = 0.0F;\n/* 144 */ float lastX = 0.0F, lastY = 0.0F;\n/* 145 */ float thisX = 0.0F, thisY = 0.0F;\n/* 146 */ int type = 0;\n/* 147 */ float next = 0.0F;\n/* 148 */ int phase = 0;\n/* 149 */ while (!it.isDone()) {\n/* 150 */ float dx, dy, distance; type = it.currentSegment(points);\n/* 151 */ switch (type) {\n/* */ case 0:\n/* 153 */ moveX = lastX = points[0];\n/* 154 */ moveY = lastY = points[1];\n/* 155 */ result.moveTo(moveX, moveY);\n/* 156 */ next = OutlineZigzagEffect.this.wavelength / 2.0F;\n/* */ break;\n/* */ \n/* */ case 4:\n/* 160 */ points[0] = moveX;\n/* 161 */ points[1] = moveY;\n/* */ \n/* */ \n/* */ case 1:\n/* 165 */ thisX = points[0];\n/* 166 */ thisY = points[1];\n/* 167 */ dx = thisX - lastX;\n/* 168 */ dy = thisY - lastY;\n/* 169 */ distance = (float)Math.sqrt((dx * dx + dy * dy));\n/* 170 */ if (distance >= next) {\n/* 171 */ float r = 1.0F / distance;\n/* 172 */ while (distance >= next) {\n/* 173 */ float x = lastX + next * dx * r;\n/* 174 */ float y = lastY + next * dy * r;\n/* 175 */ if ((phase & 0x1) == 0) {\n/* 176 */ result.lineTo(x + OutlineZigzagEffect.this.amplitude * dy * r, y - OutlineZigzagEffect.this.amplitude * dx * r);\n/* */ } else {\n/* 178 */ result.lineTo(x - OutlineZigzagEffect.this.amplitude * dy * r, y + OutlineZigzagEffect.this.amplitude * dx * r);\n/* 179 */ } next += OutlineZigzagEffect.this.wavelength;\n/* 180 */ phase++;\n/* */ } \n/* */ } \n/* 183 */ next -= distance;\n/* 184 */ lastX = thisX;\n/* 185 */ lastY = thisY;\n/* 186 */ if (type == 4) result.closePath(); \n/* */ break;\n/* */ } \n/* 189 */ it.next();\n/* */ } \n/* 191 */ return (new BasicStroke(OutlineZigzagEffect.this.getWidth(), 2, OutlineZigzagEffect.this.getJoin())).createStrokedShape(result);\n/* */ }", "public BoundingShape getBoundingShape() {\n\treturn boundingShape;\n }", "protected String getOutline(String description)\n\t{\n\t\tint lastIndex = Tools.seekLastIndex(description, '=');\n\t\tint index = Tools.seekIndex(description, \" \", lastIndex + 1);\n\n\t\treturn description.substring(index + 1);\n\t}", "public ColorSpace<?> getStrokeColorSpace(\n )\n {return strokeColorSpace;}", "@Override\n public Shape getCelkoveHranice() {\n return new Rectangle2D.Double(super.getX() + 22, super.getY() + 45, 45, 45);\n }", "public void drawStroke(Canvas canvas, Paint eraser, Shape shape, int xPosition, int yPosition, int shapePadding) {\n }", "public void claShapeArea(){\r\n\t\tshape.calArea();\r\n\t}", "private Rule createRule(Color outlineColor, Color fillColor) {\n Symbolizer symbolizer = null;\n Fill fill = null;\n Stroke stroke = sf.createStroke(ff.literal(outlineColor), ff.literal(LINE_WIDTH));\n\n switch (geometryType) {\n case POLYGON:\n fill = sf.createFill(ff.literal(fillColor), ff.literal(OPACITY));\n symbolizer = sf.createPolygonSymbolizer(stroke, fill, geometryAttributeName);\n break;\n\n case LINE:\n symbolizer = sf.createLineSymbolizer(stroke, geometryAttributeName);\n break;\n\n case POINT:\n fill = sf.createFill(ff.literal(fillColor), ff.literal(OPACITY));\n\n Mark mark = sf.getCircleMark();\n mark.setFill(fill);\n mark.setStroke(stroke);\n\n Graphic graphic = sf.createDefaultGraphic();\n graphic.graphicalSymbols().clear();\n graphic.graphicalSymbols().add(mark);\n graphic.setSize(ff.literal(POINT_SIZE));\n\n symbolizer = sf.createPointSymbolizer(graphic, geometryAttributeName);\n }\n\n Rule rule = sf.createRule();\n rule.symbolizers().add(symbolizer);\n return rule;\n}", "protected void prepareToDrawOutline(DrawContext dc, ShapeAttributes activeAttrs, ShapeAttributes defaultAttrs)\n {\n if (activeAttrs == null || !activeAttrs.isDrawOutline())\n return;\n\n GL2 gl = dc.getGL().getGL2(); // GL initialization checks for GL2 compatibility.\n\n if (!dc.isPickingMode())\n {\n Material material = activeAttrs.getOutlineMaterial();\n if (material == null)\n material = defaultAttrs.getOutlineMaterial();\n\n if (this.mustApplyLighting(dc, activeAttrs))\n {\n material.apply(gl, GL2.GL_FRONT_AND_BACK, (float) activeAttrs.getOutlineOpacity());\n\n gl.glEnable(GL2.GL_LIGHTING);\n gl.glEnableClientState(GL2.GL_NORMAL_ARRAY);\n }\n else\n {\n Color sc = material.getDiffuse();\n double opacity = activeAttrs.getOutlineOpacity();\n gl.glColor4ub((byte) sc.getRed(), (byte) sc.getGreen(), (byte) sc.getBlue(),\n (byte) (opacity < 1 ? (int) (opacity * 255 + 0.5) : 255));\n\n gl.glDisable(GL2.GL_LIGHTING);\n gl.glDisableClientState(GL2.GL_NORMAL_ARRAY);\n }\n\n gl.glHint(GL.GL_LINE_SMOOTH_HINT, activeAttrs.isEnableAntialiasing() ? GL.GL_NICEST : GL.GL_DONT_CARE);\n }\n\n if (dc.isPickingMode() && activeAttrs.getOutlineWidth() < this.getOutlinePickWidth())\n gl.glLineWidth(this.getOutlinePickWidth());\n else\n gl.glLineWidth((float) activeAttrs.getOutlineWidth());\n\n if (activeAttrs.getOutlineStippleFactor() > 0)\n {\n gl.glEnable(GL2.GL_LINE_STIPPLE);\n gl.glLineStipple(activeAttrs.getOutlineStippleFactor(), activeAttrs.getOutlineStipplePattern());\n }\n else\n {\n gl.glDisable(GL2.GL_LINE_STIPPLE);\n }\n\n gl.glDisable(GL.GL_TEXTURE_2D);\n }", "@Override\n\tpublic String getShape() {\n\t\treturn \"Rectangle\";\n\t}", "public void setOutline(String outline) {\n this.outline = outline == null ? null : outline.trim();\n }", "public double getArea() {\n\t\treturn 6.0 * this.edgelen * this.edgelen;\n\t}", "public double getArea() {\n\t\treturn Math.sqrt(3) * this.edgelen * this.edgelen;\n\t}", "public Shape getRenderObject(\n )\n {return renderObject;}" ]
[ "0.77653426", "0.76808333", "0.7627249", "0.7431627", "0.72373974", "0.69729745", "0.6839472", "0.6714519", "0.66309935", "0.6554457", "0.636026", "0.63141954", "0.6281458", "0.62177074", "0.6214558", "0.6121824", "0.6096051", "0.6037678", "0.6037155", "0.6025601", "0.6016594", "0.5941338", "0.59024006", "0.5871366", "0.5871323", "0.58686256", "0.5859482", "0.5855478", "0.584498", "0.5785413", "0.578125", "0.5705652", "0.5685331", "0.56774145", "0.5633099", "0.5615005", "0.56008023", "0.55944014", "0.55943745", "0.5574453", "0.5556621", "0.5536328", "0.55174476", "0.54807377", "0.54738677", "0.5471585", "0.54603857", "0.54575497", "0.54312533", "0.5419811", "0.5405838", "0.5388469", "0.53845125", "0.53728783", "0.53655493", "0.5362378", "0.5360753", "0.53532374", "0.53460217", "0.53394216", "0.53354263", "0.53274536", "0.5323411", "0.53226715", "0.53223646", "0.53130484", "0.52902806", "0.522743", "0.5220199", "0.5212117", "0.51898", "0.5182933", "0.5174763", "0.5172803", "0.5165961", "0.5162093", "0.5134363", "0.5126202", "0.51255536", "0.5112845", "0.51109385", "0.51081777", "0.51055825", "0.5097278", "0.5094412", "0.50941384", "0.50919837", "0.5088187", "0.5078821", "0.5074836", "0.50745386", "0.50689524", "0.50679225", "0.5050873", "0.5039371", "0.5033254", "0.50269794", "0.50156546", "0.5011276", "0.50080585" ]
0.6383513
10
Sets the outline for the shape.
public void setOutline(RMXString.Outline anOutline) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void setOutlinePaint(final Paint outlinePaint) {\n Paint oldOutlinePaint = this.outlinePaint;\n this.outlinePaint = outlinePaint;\n firePropertyChange(-1, \"outlinePaint\", oldOutlinePaint,\n this.outlinePaint);\n }", "private void setOutline(JPanel panel, boolean outline) {\n Color borderColor = outline ? outlineColor : ((java.awt.Color)panel.getBackground());\n Border b = BorderFactory.createLineBorder(borderColor);\n panel.setBorder(b);\n }", "public final void setOutlineStroke(final Stroke outlineStroke) {\n if (outlineStroke == null) {\n throw new IllegalArgumentException(\"outlineStroke must not be null\");\n }\n Stroke oldOutlineStroke = this.outlineStroke;\n this.outlineStroke = outlineStroke;\n firePropertyChange(-1, \"outlineStroke\", oldOutlineStroke,\n this.outlineStroke);\n }", "public void setStroke(Stroke stroke);", "public void setOutline(AssignmentOutline newOutline){\n this.outline = newOutline;\n }", "public void setOutline(String outline) {\n this.outline = outline == null ? null : outline.trim();\n }", "void drawOutline(DrawContext dc, Object shape);", "@Override\n\tprotected void outlineShape(Graphics graphics) {\n\t}", "public abstract void setStroke(BasicStroke stroke);", "public void setStroke(RMStroke aStroke)\n{\n if(RMUtils.equals(getStroke(), aStroke)) return; // If value already set, just return\n repaint(); // Register repaint\n if(_stroke!=null) _stroke.removePropertyChangeListener(this);\n firePropertyChange(\"Stroke\", _stroke, _stroke = aStroke, -1); // Set value and fire PropertyChange\n if(_stroke!=null) _stroke.addPropertyChangeListener(this); // Set shape\n}", "public void setStrokeStyle(STYLE style);", "public void strokeShape(Shape shape);", "public final Paint getOutlinePaint() {\n return outlinePaint;\n }", "@Override\n\tpublic void setOutLineFill(String outlinefill) {\n\t\tthis.outLineFill=outlinefill;\n\t}", "public final Stroke getOutlineStroke() {\n return outlineStroke;\n }", "public Outline getOutline()\n {\n return outline;\n }", "public void setStrokeColor(Color color);", "public void setStroke(Stroke s)\r\n\t{\r\n\t\tif (s instanceof BasicStroke)\r\n\t\t{\r\n\t\t\tBasicStroke bs = (BasicStroke) s;\r\n\t\t\tthis.setLineWidth(bs.getLineWidth());\r\n\r\n\t\t\tif (bs.getDashArray() != null)\r\n\t\t\t{\r\n\t\t\t\tthis.setLineStyle(CanvasType.SHORT_DASHES);\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\tthis.setLineStyle(CanvasType.SOLID);\r\n\t\t\t}\r\n\r\n\t\t}\r\n\t\t// else\r\n\t\t// System.out.println(\"setStroke not a BasicStroke\");\r\n\t}", "public final native void setStroke(Colour colour) /*-{\n\t\tthis.setStroke([email protected]::toString()());\n\t}-*/;", "@Override\n public void stroke() {\n graphicsEnvironmentImpl.stroke(canvas);\n }", "public void setStrokeColor(RMColor aColor)\n{\n // Set stroke color\n if(aColor==null) setStroke(null);\n else if(getStroke()==null) setStroke(new RMStroke(aColor, 1));\n else getStroke().setColor(aColor);\n}", "@Override\r\n Shape getOutline ()\r\n {\r\n return null;\r\n }", "protected void prepareToDrawOutline(DrawContext dc, ShapeAttributes activeAttrs, ShapeAttributes defaultAttrs)\n {\n if (activeAttrs == null || !activeAttrs.isDrawOutline())\n return;\n\n GL2 gl = dc.getGL().getGL2(); // GL initialization checks for GL2 compatibility.\n\n if (!dc.isPickingMode())\n {\n Material material = activeAttrs.getOutlineMaterial();\n if (material == null)\n material = defaultAttrs.getOutlineMaterial();\n\n if (this.mustApplyLighting(dc, activeAttrs))\n {\n material.apply(gl, GL2.GL_FRONT_AND_BACK, (float) activeAttrs.getOutlineOpacity());\n\n gl.glEnable(GL2.GL_LIGHTING);\n gl.glEnableClientState(GL2.GL_NORMAL_ARRAY);\n }\n else\n {\n Color sc = material.getDiffuse();\n double opacity = activeAttrs.getOutlineOpacity();\n gl.glColor4ub((byte) sc.getRed(), (byte) sc.getGreen(), (byte) sc.getBlue(),\n (byte) (opacity < 1 ? (int) (opacity * 255 + 0.5) : 255));\n\n gl.glDisable(GL2.GL_LIGHTING);\n gl.glDisableClientState(GL2.GL_NORMAL_ARRAY);\n }\n\n gl.glHint(GL.GL_LINE_SMOOTH_HINT, activeAttrs.isEnableAntialiasing() ? GL.GL_NICEST : GL.GL_DONT_CARE);\n }\n\n if (dc.isPickingMode() && activeAttrs.getOutlineWidth() < this.getOutlinePickWidth())\n gl.glLineWidth(this.getOutlinePickWidth());\n else\n gl.glLineWidth((float) activeAttrs.getOutlineWidth());\n\n if (activeAttrs.getOutlineStippleFactor() > 0)\n {\n gl.glEnable(GL2.GL_LINE_STIPPLE);\n gl.glLineStipple(activeAttrs.getOutlineStippleFactor(), activeAttrs.getOutlineStipplePattern());\n }\n else\n {\n gl.glDisable(GL2.GL_LINE_STIPPLE);\n }\n\n gl.glDisable(GL.GL_TEXTURE_2D);\n }", "public void setOutlineStyleId(String id) {\n\t\tthis.outlineStyleId = id;\n\t}", "public String getOutline() {\n return outline;\n }", "public void setBorder(boolean bordered) {\n mPolygonShapeSpec.setHasBorder(bordered);\n updateBorderSpecs();\n }", "private void setShape(){\n // 0 - index of the vertex at the top of the polygon\n shapex[0] = x + MathUtils.cos(radians) * 8;\n shapey[0] = y + MathUtils.sin(radians) * 8;\n\n // 1 - index of the vertex at the bottom left of the polygon\n shapex[1] = x + MathUtils.cos(radians - 4 * 3.1415f / 5) * 8;\n shapey[1] = y + MathUtils.sin(radians - 4 * 3.1415f / 5) * 8;\n\n // 2 - index of the vertex at the bottom right of the polygon\n shapex[2] = x + MathUtils.cos(radians + 4 * 3.1415f / 5) * 8;\n shapey[2] = y + MathUtils.sin(radians + 4 * 3.1415f / 5) * 8;\n }", "public void setShape(ChamberShape theShape) {\n mySize = theShape;\n setExits();\n }", "public void setBorderColor(int borderColor) {\n mPolygonShapeSpec.setBorderColor(borderColor);\n mBorderPaint.setColor(borderColor);\n invalidate();\n }", "public void drawStroke(Canvas canvas, Paint eraser, Shape shape, int xPosition, int yPosition, int shapePadding) {\n }", "public void setOutlinePickWidth(int outlinePickWidth)\n {\n if (outlinePickWidth < 0)\n {\n String message = Logging.getMessage(\"generic.ArgumentOutOfRange\", \"width < 0\");\n Logging.logger().severe(message);\n throw new IllegalArgumentException(message);\n }\n\n this.outlinePickWidth = outlinePickWidth;\n }", "public void setOutline1(java.lang.String value) {\n\t\tsetValue(org.jooq.examples.oracle.sys.packages.dbms_xplan.DiffPlanOutline.OUTLINE1, value);\n\t}", "public void setShape(Shape shape) {\n validateShape(shape);\n\n this.shape = shape;\n this.shape.calculate();\n initializeScroller();\n resetScroll();\n }", "private void setShape(ChamberShape theShape) {\n mySize = theShape;\n createDoorsFromExits();\n }", "public OutlineShape(final Vertex.Factory<? extends Vertex> factory) {\r\n this.vertexFactory = factory;\r\n this.outlines = new ArrayList<Outline>(3);\r\n this.outlines.add(new Outline());\r\n this.outlineState = VerticesState.UNDEFINED;\r\n this.bbox = new AABBox();\r\n this.triangles = new ArrayList<Triangle>();\r\n this.vertices = new ArrayList<Vertex>();\r\n this.addedVerticeCount = 0;\r\n this.dirtyBits = 0;\r\n this.sharpness = DEFAULT_SHARPNESS;\r\n }", "public void setShape (Tetromino shape)\n\t{\n\t\tfor (int i=0; i<4; i++)\n\t\t{\n\t\t\tfor (int j=0; j<2; j++)\n\t\t\t{\n\t\t\t\tcoords[i][j]=coordsTable[shape.ordinal()][i][j];\n\t\t\t}\n\t\t}\n\t\tdetailShape = shape;\n\t}", "private void setStroke(Block block) {\r\n if (stroke != null) {\r\n // Isolate the color string.\r\n String color = stroke.substring(6, stroke.length() - 1);\r\n if (stroke.startsWith(\"color\")) {\r\n String tempColor = (!color.startsWith(\"RGB\")) ? color : color.substring(4, color.length() - 1);\r\n Color strokeColor = new ColorsParser().colorFromString(tempColor);\r\n block.getCollisionRectangle().setFrameColor(strokeColor);\r\n }\r\n }\r\n }", "public void setLineWidth(float lineWidth);", "private void setPenColor() {\n\t}", "public AssignmentOutline getOutline() {\n return this.outline;\n }", "public abstract void setLineWidth(float lineWidth);", "@Override\n public void handle(ActionEvent event) {\n canvasState.changeLineColor(bordercolor.getValue());\n redrawCanvas();\n }", "public void setStrokeColor(int strokeColor) {\n this.setValue(STROKE_COLOR_PROPERTY_KEY, strokeColor);\n }", "public String getOutlineColor();", "public void setSelectOvalStrokeColor(@ColorInt int color) {\n this.mSelectOvalStrokeColor = color;\n }", "public void strokeRectangle(RectangleShape rectangle);", "@Override\n public void setStrokeStyle(Style style) {\n Object nativeStrokeStyle = graphicsEnvironmentImpl.setStrokeStyle(canvas, style, style.getCached());\n style.cache(nativeStrokeStyle);\n }", "public void setShape(Info shape) {\n \n }", "void setBorder(Color color, int thickness);", "public void setShape(Shape shape) {\n\tthis.shape = shape;\n\n\tPathIterator p = shape.getPathIterator(new AffineTransform());\n\t\t\n\tFlatteningPathIterator fp = new FlatteningPathIterator(p, flatness);\n\t\t\n\tpath.clear();\n\twhile(!fp.isDone()) {\n\t double[] farr = new double[6];\n\t int type = fp.currentSegment(farr);\n\t\t \n\t if (type == PathIterator.SEG_MOVETO || type == PathIterator.SEG_LINETO) {\n\t\tpath.add(new Point2D.Double(farr[0],farr[1]));\n\t }\n\t if (type == PathIterator.SEG_QUADTO) {\n\t\tfor(int i=0; i<2; i++) {\n\t\t path.add(new Point2D.Double(farr[0],farr[1]));\n\t\t}\n\t }\n\t if (type == PathIterator.SEG_CUBICTO) {\n\t\tfor(int i=0; i<3; i++) {\n\t\t path.add(new Point2D.Double(farr[2*i],farr[2*i+1]));\n\t\t}\n\t }\n\t fp.next();\n\t}\n }", "public void setPaintBorder(boolean paint) {\n\t\tthis.paintBorder = paint;\n\t}", "public void setShape( final FireShapes shape ) {\r\n\t\tthis.shape = shape;\r\n\t}", "public void setOutline2(java.lang.String value) {\n\t\tsetValue(org.jooq.examples.oracle.sys.packages.dbms_xplan.DiffPlanOutline.OUTLINE2, value);\n\t}", "@Override\n\tpublic void setShapeColor(Color color) {\n\t\tthis.decorateComponent.setShapeColor(color);\n\t}", "public void setPaintBorder(boolean paint) {\n\t\tif (paint!=p.getPaintBorder()) {\n\t\t\tp.setPaintBorder(paint);\n\t\t\tif (textArea!=null) {\n\t\t\t\ttextArea.repaint();\n\t\t\t}\n\t\t}\n\t}", "public void highlight(){\n myRectangle.setFill(HIGHLIGHT);\n }", "public void setStrokeWidth(float aValue)\n{\n // Set line width\n if(getStroke()==null) setStroke(new RMStroke(RMColor.black, aValue));\n else getStroke().setWidth(aValue);\n}", "public void stroke() throws IOException\n {\n\tif (_closedPath == true) {\n\t Paint strokingPaint = getGraphicsState().getStrokingColor().getJavaColor();\n\t if ( strokingPaint == null ) {\n\t\tstrokingPaint = getGraphicsState().getStrokingColor().getPaint(pageSize.height);\n\t }\n\t if ( strokingPaint == null ) {\n\t\tLOG.info(\"ColorSpace \"+getGraphicsState().getStrokingColor().getColorSpace().getName() +\" doesn't provide a stroking color, using white instead!\");\n\t\tstrokingPaint = Color.WHITE;\n\t }\n\t if (strokingPaint != Color.WHITE) {\n\t\tfor(Line line : _currentPath) {\n\t\t if(line.isVertical() || line.isHorizontal()) {\n\t\t\t_path.add(line);\n\t\t }\n\t\t}\n\t }\n\t}\n\t_currentPath.clear();\n }", "@Override\r\n\tpublic void draw() {\n\t\tdecoratedShape.draw();\r\n\t\tsetRedBorder(decoratedShape);\r\n\t}", "protected boolean mustDrawOutline()\n {\n return this.getActiveAttributes().isDrawOutline();\n }", "@Override\n public void scenarioOutline(ScenarioOutline scenarioOutline) {\n ScenarioDefinition scenarioDefinitionOut = new ScenarioDefinition();\n scenarioDefinitionOut.setType(ScenarioType.SCENARIO_OUTLINE);\n testedFeature.getScenarioDefinitionList().add(scenarioDefinitionOut);\n\n setTagStatementAttributes(scenarioDefinitionOut, scenarioOutline);\n }", "public void assignShape() {\n\t\t\n\t}", "protected abstract void setShapes();", "protected void setShape(Shape shape) {\n\t\tif (shape != null) {\n\t\t\t_shape = shape;\n\t\t\tthis.setLocation(shape.getLocation());\n\t\t\tthis.setDimensions(shape.getDimensions());\n\t\t}\n\t}", "@Override\r\n public void setShape (Shape shape,\r\n double grade)\r\n {\r\n// // Check status\r\n// if (glyph.isTransient()) {\r\n// logger.error(\"Setting shape of a transient glyph\");\r\n// }\r\n\r\n // Blacklist the old shape if any\r\n Shape oldShape = getShape();\r\n\r\n if ((oldShape != null) && (oldShape != shape)\r\n && (oldShape != Shape.GLYPH_PART)) {\r\n forbidShape(oldShape);\r\n\r\n if (glyph.isVip()) {\r\n logger.info(\"Shape {} forbidden for {}\",\r\n oldShape, glyph.idString());\r\n }\r\n }\r\n\r\n if (shape != null) {\r\n // Remove the new shape from the blacklist if any\r\n allowShape(shape);\r\n }\r\n\r\n // Remember the new shape\r\n evaluation = new Evaluation(shape, grade);\r\n\r\n if (glyph.isVip()) {\r\n logger.info(\"{} assigned {}\", glyph.idString(), evaluation);\r\n }\r\n }", "public String getOutlineStyleId() {\n\t\treturn this.outlineStyleId;\n\t}", "@Override\n\tpublic void setShapeColor(Color color) {\n\t\tthis.currentColor = color;\n\t}", "public void setLineStyle(int style)\r\n\t{\r\n\t\tg.setPenStyle(style);\r\n\t}", "@Override\r\n public void setShape (Shape shape)\r\n {\r\n setShape(shape, Evaluation.ALGORITHM);\r\n }", "private void createShape(NscComponent comp, Color color, boolean outline) {\n comp.setBackground(color);\n comp.setFilled(true);\n if (!outline) comp.setForeground(color);\n add(comp);\n repaint();\n }", "@FXML private void setOval()\t\t{ pasteboard.setTool(Tool.Circle);\t\t}", "@Override\n public void strokeRect(double x, double y, double width, double height) {\n graphicsEnvironmentImpl.strokeRect(canvas, x, y, width, height);\n }", "public void setShapeType(ShapeType shapeType) {\n }", "public void initialSetting(AttributeSet attributeSet, int defStyleAttr){\n paint_brush.setAntiAlias(true);\n\n //Setting the color for the Paint Brush\n paint_brush.setColor(Color.BLACK);\n\n //Setting the corner display for the drawings done by the User\n //The corners will be seen circular in display\n paint_brush.setStrokeJoin(Paint.Join.ROUND);\n\n //Setting the style of the stroke of the paint brush\n paint_brush.setStyle(Paint.Style.STROKE);\n\n //Setting the width of the stroke of the paint brush\n paint_brush.setStrokeWidth(8f);\n }", "public void setShape(ShapeType shape) {\n\t\tthis.shape = shape;\n\t}", "public DirectShapeRenderer stroke() {\n \t\treturn renderer.stroke();\n \t}", "@Override public Polyline setStrokeColor(Color strokeColor)\n {\n return (Polyline)super.setStrokeColor(strokeColor);\n }", "public void strokeRectangle(int x, int y, int width, int height);", "private void setRedBorder(Shape decoratedShape) {\n\t\tSystem.out.println(\"Border Color: Red\");\r\n\t}", "void setRoute(Shape route);", "@Override public void draw(){\n // this take care of applying all styles (colors/stroke)\n super.draw();\n // draw our shape\n pg.ellipseMode(PGraphics.CORNER); // TODO: make configurable\n pg.ellipse(0,0,getSize().x,getSize().y);\n }", "public void setMyShape(int shapeIndex){this.myShape = shapeIndex;}", "@Override\n public void setLineColor(int linen, Color color) {\n assemblyView.setLineColor(linen, color);\n }", "void setCurrentPenColour(Color colour) {\n int colourIndex = shapes.size();\n lineColours.set(colourIndex, colour);\n currentPenColour = colour;\n writeFile.writePen(colour);\n }", "public void setShapeMode(int _shapeMode) {\n\t\tshapeMode = _shapeMode;\n\t}", "public void setFillArea(boolean b)\r\n/* 34: */ {\r\n/* 35: 26 */ this.fillArea = b;repaint();\r\n/* 36: */ }", "public void setTemporaryWidget(double x,\n double y,\n double w,\n double h,\n boolean outline)\n {\n // get the contents of the frame editor\n CogToolScalableFigure editorContents = view.getEditor().getContents();\n\n // if it supports drawing the region, do so.\n if (editorContents instanceof ScalableInteractiveFigure) {\n ScalableInteractiveFigure contents =\n (ScalableInteractiveFigure) editorContents;\n\n // Use the Interaction Layers temporary figure to draw the rect.\n contents.setTemporaryFigure(PrecisionUtilities.round(x),\n PrecisionUtilities.round(y),\n PrecisionUtilities.round(w),\n PrecisionUtilities.round(h));\n\n // specify if the new region is an outline.\n contents.setOutlineDrawing(outline);\n }\n else {\n throw new IllegalStateException(\"Attempted to call \" +\n \"setTemporaryFigure on a \" +\n \"IScalableFigure which does not \" +\n \"support it.\");\n }\n }", "private void setupDrawing(){\n brushSize = 1;\n lastBrushSize = brushSize;\n drawPath = new Path();\n drawPaint = new Paint();\n drawPaint.setColor(paintColor);\n drawPaint.setAntiAlias(true);\n drawPaint.setStrokeWidth(brushSize);\n drawPaint.setStyle(Paint.Style.STROKE);\n drawPaint.setStrokeJoin(Paint.Join.ROUND);\n drawPaint.setStrokeCap(Paint.Cap.ROUND);\n canvasPaint = new Paint(Paint.DITHER_FLAG);\n }", "@Override\n\t\tpublic void setBorder(Border border) {\n\t\t}", "protected void setBorder(Border border) {\n\t\tthis.border = border;\n\t}", "boolean isDrawOutline(DrawContext dc, Object shape);", "DrawShape(){\r\n super();\r\n setBackground(Color.WHITE);\r\n addMouseListener(this);\r\n }", "public void setBorder(java.lang.String border)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(BORDER$22);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(BORDER$22);\n }\n target.setStringValue(border);\n }\n }", "public void setBorderColor(int borderColor) {\n\n if (paintBorder != null)\n paintBorder.setColor(borderColor);\n\n this.invalidate();\n }", "public void paintShapeOver(RMShapePainter aPntr)\n{\n if(getStrokeOnTop() && getStroke()!=null)\n getStroke().paint(aPntr, this);\n}", "public abstract void setClip(Shape clip);", "public void setShape(short shape) throws IOException\n\t{\n\t\tif ((__io__pointersize == 8)) {\n\t\t\t__io__block.writeShort(__io__address + 2, shape);\n\t\t} else {\n\t\t\t__io__block.writeShort(__io__address + 2, shape);\n\t\t}\n\t}", "private Rule createRule(Color outlineColor, Color fillColor) {\n Symbolizer symbolizer = null;\n Fill fill = null;\n Stroke stroke = sf.createStroke(ff.literal(outlineColor), ff.literal(LINE_WIDTH));\n\n switch (geometryType) {\n case POLYGON:\n fill = sf.createFill(ff.literal(fillColor), ff.literal(OPACITY));\n symbolizer = sf.createPolygonSymbolizer(stroke, fill, geometryAttributeName);\n break;\n\n case LINE:\n symbolizer = sf.createLineSymbolizer(stroke, geometryAttributeName);\n break;\n\n case POINT:\n fill = sf.createFill(ff.literal(fillColor), ff.literal(OPACITY));\n\n Mark mark = sf.getCircleMark();\n mark.setFill(fill);\n mark.setStroke(stroke);\n\n Graphic graphic = sf.createDefaultGraphic();\n graphic.graphicalSymbols().clear();\n graphic.graphicalSymbols().add(mark);\n graphic.setSize(ff.literal(POINT_SIZE));\n\n symbolizer = sf.createPointSymbolizer(graphic, geometryAttributeName);\n }\n\n Rule rule = sf.createRule();\n rule.symbolizers().add(symbolizer);\n return rule;\n}", "public final void closeLastOutline(final boolean closeTail) {\r\n if( getLastOutline().setClosed(true) ) {\r\n dirtyBits |= DIRTY_TRIANGLES | DIRTY_VERTICES;\r\n }\r\n }", "public void setCurrentStrokeValue(float value,int color) {\n currentStrokeValue = value;\n if(strokeWidthView != null) {\n strokeWidthView.setProgress((int) value,color);\n strokeWidthView.invalidate();\n }\n }" ]
[ "0.7135586", "0.68962306", "0.68414", "0.66329366", "0.65688753", "0.64231616", "0.6416309", "0.6364567", "0.6319058", "0.6190333", "0.599428", "0.59926", "0.5991607", "0.5988745", "0.5965205", "0.57510614", "0.5748992", "0.5724344", "0.5722365", "0.56508774", "0.56413597", "0.5623075", "0.5602098", "0.55988985", "0.55351853", "0.54954827", "0.5420041", "0.54187256", "0.54155904", "0.5402906", "0.53823245", "0.53290606", "0.5284447", "0.52746874", "0.5268718", "0.5233121", "0.52293557", "0.5196131", "0.51926666", "0.5192157", "0.5177515", "0.5166613", "0.5145037", "0.5134579", "0.5125082", "0.51162165", "0.51155525", "0.51113445", "0.51081955", "0.5048172", "0.50044847", "0.50022715", "0.499145", "0.49914166", "0.49871325", "0.49835774", "0.49772435", "0.49586505", "0.49479836", "0.49417704", "0.49348056", "0.49347773", "0.49293497", "0.49153385", "0.49100345", "0.4904891", "0.4900162", "0.48957622", "0.48952603", "0.48881397", "0.4876052", "0.4859116", "0.4856616", "0.4846285", "0.48442522", "0.48240408", "0.48160556", "0.4807507", "0.4801464", "0.47982442", "0.47948563", "0.47917527", "0.47792202", "0.47722286", "0.4763723", "0.47413597", "0.47389174", "0.47290447", "0.47205752", "0.47198394", "0.47163484", "0.47133598", "0.4706843", "0.47019848", "0.46910873", "0.46827048", "0.46778092", "0.46716794", "0.46656045", "0.46630314" ]
0.5734687
17
Returns the horizontal alignment.
public AlignX getAlignmentX() { return AlignX.Left; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getHorizontalAlignment() {\n return horizontalAlignment;\n }", "public int getHorizontalAlignment()\n {\n return field.getHorizontalAlignment();\n }", "public short getHorizontalAlignment()\n {\n return halign;\n }", "public final HORIZONTALALIGNMENT getHorizontalAlignment(){\n\t\treturn wDisplayHorizontalAlignment;\n\t}", "public int getHorizontalAlignment() {\r\n\t\treturn getJTextField().getHorizontalAlignment();\r\n\t}", "public int getHorizontalTextAlignment() {\r\n\t\treturn getJTextField().getHorizontalAlignment();\r\n\t}", "public int getAlignment()\n {\n return align;\n }", "public int getAlignment() {\r\n return Alignment;\r\n }", "public int getAlignment() {\r\n return Alignment;\r\n }", "boolean getAligning();", "public String getAlign() {\n return align;\n }", "public Position getAlignment()\n {\n int halign = getComponent().getHorizontalAlignment();\n int valign = getComponent().getVerticalAlignment();\n return Position.get(halign, valign);\n }", "int getAlignValue();", "public void setHorizontalAlignment( short align )\n {\n this.halign = align;\n }", "public final String getAlignAttribute() {\n return getAttributeValue(\"align\");\n }", "public Alignment getAlignment() {\n return alignment;\n }", "public int getAlignment()\n {\n return bouquet.getAlignment();\n }", "public boolean getAligning() {\n return aligning_;\n }", "public int getElementHorizontalalAlignmentLeft(WebDriver driver, String xpathUpper, String xpathLower) throws NumberFormatException, IOException {\n\t\tint X = driver.findElement(By.xpath(xpathUpper)).getLocation().getX();\n\t\tint x = driver.findElement(By.xpath(xpathLower)).getLocation().getX();\n\t\tint alignment = Math.abs(X - x);\n\t\tfileWriterPrinter(\"\\n\" + \"HORIZONTAL ALIGNMENT = \" + alignment);\n\t\treturn alignment;\n\t\t}", "public boolean getAligning() {\n return aligning_;\n }", "Alignment getAlignment() {\n return alignment;\n }", "int defaultHorizontal() {\n int horizontal;\n if (isDate(clazz) || isDateTime(clazz)\n || isLocalDate(clazz) || isLocalDateTime(clazz)\n || isTime(clazz) || isLocalTime(clazz)\n || isChar(clazz) || isBool(clazz)) {\n horizontal = Horizontals.CENTER;\n } else if (isInt(clazz) || isLong(clazz)\n || isFloat(clazz) || isDouble(clazz)\n || isBigDecimal(clazz)) {\n horizontal = Horizontals.RIGHT;\n } else {\n horizontal = Horizontals.LEFT;\n }\n return horizontal;\n }", "int getVerticalAlignValue();", "public int getSwtAlignment() {\r\n return f_swtAlignment;\r\n }", "public int getAlignment() {\n/* */ return this.newAlign;\n/* */ }", "public float getAlignment(int axis) {\n if (axis == View.X_AXIS) {\n return 0;\n }\n return super.getAlignment(axis);\n }", "public void setHorizontalAlignment(int horizontalAlignment)\n {\n field.setHorizontalAlignment(horizontalAlignment);\n }", "CrossAlign getCrossAlign();", "boolean hasAligning();", "public Alignment getCellAlign() {\r\n return EnumUtil.getEnum(Alignment.values(), getAttribute(\"cellAlign\"));\r\n }", "public static String leftAlignFormat() {\n String leftAlignFormat = \"\\n\\t\"\r\n + \"|\"\r\n + \" %-\" + Integer.toString(5) + \"s\"\r\n + \"|\"\r\n + \" %-\" + Integer.toString(40) + \"s\"\r\n + \"|\"\r\n + \" %-\" + Integer.toString(30) + \"s\"\r\n + \"|\"\r\n + \" %-\" + Integer.toString(30) + \"s\"\r\n + \"|\"\r\n + \" %-\" + Integer.toString(60) + \"s\"\r\n + \"|\"\r\n + \" %-\" + Integer.toString(15) + \"s\"\r\n + \"|\"\r\n + \" %-\" + Integer.toString(15) + \"s\" //string\r\n + \"|\"\r\n + \" %-\" + Integer.toString(24) + \"s\" \r\n + \"|\\n\";\r\n return leftAlignFormat;\r\n }", "public float getAlignment(int axis) {\n if (view != null) {\n return view.getAlignment(axis);\n }\n return 0;\n }", "protected int getAlignment() {\n writeline(\"/home/ubuntu/results/coverage/ZipArchiveEntry/ZipArchiveEntry_5_10.coverage\", \"12abfd3b-e43a-46a7-92b9-993595740399\");\n return this.alignment;\n }", "public float getLayoutAlignmentX(Container target) {\n\t\treturn 0;\r\n\t}", "@Override\r\n\tpublic int getAlignmentSize() {\r\n\t\treturn getSize();\r\n\t}", "public short getVerticalAlignment()\n {\n return valign;\n }", "public float getLayoutAlignmentX(Container target) {\n return 0.5f;\n }", "public float getLayoutAlignmentX(Container parent)\n\t{\n\t\treturn 0.5f;\n\t}", "@Override\n public String getTextAlign() {\n return graphicsEnvironmentImpl.getTextAlign(canvas);\n }", "public Alignment getFacetTitleAlign() {\r\n return EnumUtil.getEnum(Alignment.values(), getAttribute(\"facetTitleAlign\"));\r\n }", "TickAlign getAlign();", "int align();", "com.ctrip.ferriswheel.proto.v1.Placement getAlign();", "public final ObjectProperty<Pos> alignmentProperty() {\n if (alignment == null) {\n alignment = new StyleableObjectProperty<Pos>(Pos.TOP_LEFT) {\n\n @Override\n public void invalidated() {\n requestLayout();\n }\n\n @Override\n public CssMetaData<HangingFlowPane, Pos> getCssMetaData() {\n return StyleableProperties.ALIGNMENT;\n }\n\n @Override\n public Object getBean() {\n return HangingFlowPane.this;\n }\n\n @Override\n public String getName() {\n return \"alignment\";\n }\n };\n }\n return alignment;\n }", "public float getLayoutAlignmentX(Container target) \n {\n\treturn (float)0.0;\n }", "public void setHorizontalAlignment(int alignment) {\n if (alignment == horizontalAlignment) return;\n int oldValue = horizontalAlignment;\n if ((alignment == LEFT) || (alignment == CENTER) || \n\t (alignment == RIGHT)|| (alignment == LEADING) || \n\t (alignment == TRAILING)) {\n horizontalAlignment = alignment;\n } else {\n throw new IllegalArgumentException(\"horizontalAlignment\");\n }\n firePropertyChange(\"horizontalAlignment\", oldValue, horizontalAlignment); \n invalidate();\n repaint();\n }", "public String[] getStrAlign() {\n if (state) return new String[]{alignB, alignA};\n return new String[]{alignA, alignB};\n }", "default Integer getHorizontalMargin() {\n return null;\n }", "String validateAlignment() {\n\t\treturn null;\n\t}", "public void setHAlign(int hAlign) {\n this.hAlign = hAlign;\n }", "float getHorizontalMargin() {\n return mTn.mHorizontalMargin;\n }", "public int getPreferredHorizontalOffset() {\n\t\treturn preferredHorizontalOffset;\n\t}", "public void setAlignmentX(AlignX anAlignX) { }", "public void handleHorizontalAlign( IStyle style )\n \t{\n \t\tCSSValue hAlign = style.getProperty( IStyle.STYLE_TEXT_ALIGN );\n \t\tif ( null != hAlign )\n \t\t{\n \t\t\twriter.attribute( HTMLTags.ATTR_ALIGN, hAlign.getCssText( ) );\n \t\t}\n \t}", "public float getAlignmentY() { return 0.5f; }", "@Basic @Immutable\n\tpublic double getHorizontalLocation() {\n\t\treturn this.horizontalLocation;\n\t}", "public Alignment getFacetLabelHoverAlign() {\r\n return EnumUtil.getEnum(Alignment.values(), getAttribute(\"facetLabelHoverAlign\"));\r\n }", "public boolean leftJustified(){\n return justification.equals(FormatAlignment.LEFT_JUSTIFY);\n }", "public TextJustification getJustification();", "public Boolean isHorizontal() {\n return horizontal;\n }", "public int getHorizontalMargin() {\n return mLayoutManager.getHorizontalMargin();\n }", "int getAlign(XmlNode node) {\n return getAlign(node.getAttribute(ATTR_ALIGN, \"CENTER\"));\n }", "com.ctrip.ferriswheel.proto.v1.Placement getVerticalAlign();", "protected boolean isHorizontal() {\n\t\treturn true;\n\t}", "TableSectionBuilder align(String align);", "public void setHorizontalAlign(int align) {\r\n this.halign = align;\r\n updateToolbar();\r\n\r\n }", "public AlignY getAlignmentY() { return AlignY.Top; }", "public int getElementHorizontalalAlignmentRight(WebDriver driver, String xpathUpper, String xpathLower) throws NumberFormatException, IOException {\n\t\tint X = driver.findElement(By.xpath(xpathUpper)).getLocation().getX() + driver.findElement(By.xpath(xpathUpper)).getSize().getWidth();\n\t\tint x = driver.findElement(By.xpath(xpathLower)).getLocation().getX() + driver.findElement(By.xpath(xpathLower)).getSize().getWidth();\n\t\tint alignment = Math.abs(X - x);\n\t\tfileWriterPrinter(\"\\n\" + \"HORIZONTAL ALIGNMENT = \" + alignment);\n\t\treturn alignment;\n\t\t}", "public Alignment getFacetValueHoverAlign() {\r\n return EnumUtil.getEnum(Alignment.values(), getAttribute(\"facetValueHoverAlign\"));\r\n }", "public void justifyLeft() {\n\t\tleft.left();\n\t}", "public void setHorizontalTextAlignment(short value)\n {\n field_1_options = HorizontalTextAlignment.setShortValue(field_1_options, value);\n }", "public static String leftAlignFormatTitulo() {\n String leftAlignFormat = \"\\t\"\r\n + \"|\"\r\n + \" %-\" + Integer.toString(5) + \"s\"\r\n + \"|\"\r\n + \" %-\" + Integer.toString(40) + \"s\"\r\n + \"|\"\r\n + \" %-\" + Integer.toString(30) + \"s\"\r\n + \"|\"\r\n + \" %-\" + Integer.toString(30) + \"s\"\r\n + \"|\"\r\n + \" %-\" + Integer.toString(60) + \"s\"\r\n + \"|\"\r\n + \" %-\" + Integer.toString(15) + \"s\"\r\n + \"|\"\r\n + \" %-\" + Integer.toString(15) + \"s\" //string\r\n + \"|\"\r\n + \" %-\" + Integer.toString(24) + \"s\" \r\n + \"|\\n\";\r\n return leftAlignFormat;\r\n }", "public Alignment getFacetValueAlign() {\r\n return EnumUtil.getEnum(Alignment.values(), getAttribute(\"facetValueAlign\"));\r\n }", "@Override\n\tpublic float getLayoutAlignmentX(Container target) {\n\t\treturn 0;\n\t}", "public int getCompoundPaddingLeft() {\n final Drawables dr = mDrawables;\n if (dr == null || dr.mDrawableLeft == null) {\n return mPaddingLeft;\n } else {\n return mPaddingLeft + dr.mDrawablePadding + dr.mDrawableSizeLeft;\n }\n }", "public int getSectionAlignment()\n throws IOException, EndOfStreamException\n {\n return peFile_.readInt32(relpos(Offsets.SECTION_ALIGNMENT.position));\n }", "com.microsoft.schemas.office.x2006.digsig.STPositiveInteger xgetHorizontalResolution();", "public double getLeftJoystickHorizontal() {\n\t\treturn getRawAxis(LEFT_STICK_HORIZONTAL);\n\t}", "public float getWidth()\n {\n return getUpperRightX() - getLowerLeftX();\n }", "public boolean isHorizontal()\r\n\t{\r\n\t\treturn _position==Position.HORIZONTAL;\r\n\t}", "@Override\n\tpublic float getLayoutAlignmentX(final Container target) {\n\t\treturn 0;\n\t}", "public static Component horizontal() {\n return Box.createRigidArea(new Dimension(gap, 0));\n }", "void xsetHorizontalResolution(com.microsoft.schemas.office.x2006.digsig.STPositiveInteger horizontalResolution);", "private double getHorizontalOffset(final int hpos) {\n double dx;\n switch(hpos) {\n case LEFT:\n dx = 0;\n break;\n case CENTER_H:\n dx = -bbox.getWidth() * 0.5;\n break;\n case RIGHT:\n dx = -bbox.getWidth();\n break;\n default:\n throw new IllegalArgumentException(\"hpos: \" + hpos);\n }\n return dx - bbox.getX();\n }", "public int getItemAlignmentOffset() {\n return mLayoutManager.getItemAlignmentOffset();\n }", "public void justifyCenter() {\n\t\tleft.center();\n\t}", "public final VERTICALALIGNMENT getDisplayVerticalAlignment(){\n\t\treturn wDisplayVerticalAlignment;\n\t}", "public int getItemAlignmentViewId() {\n return mLayoutManager.getItemAlignmentViewId();\n }", "public int getLeading() {\n return 0;\n }", "@JSProperty(\"textAlign\")\n @Nullable\n String getTextAlign();", "public VerticalAlignment getFacetLabelHoverVAlign() {\r\n return EnumUtil.getEnum(VerticalAlignment.values(), getAttribute(\"facetLabelHoverVAlign\"));\r\n }", "public int getWindowAlignmentOffset() {\n return mLayoutManager.getWindowAlignmentOffset();\n }", "public String toString()\n {\n String str = \"\";\n switch (align)\n {\n case LEFT :\n str = \",align=left\";\n break;\n case CENTER :\n str = \",align=center\";\n break;\n case RIGHT :\n str = \",align=right\";\n break;\n }\n return getClass().getName() + \"[hgap=\" + hgap + \",vgap=\" + vgap + str + \"]\";\n }", "private AminoAction AlignLeft(final SketchDocument doc) {\n return named(\"Align Left\", groupOnly(doc, new AminoAction() {\n @Override\n public void execute() throws Exception {\n double val = apply(doc.getSelection(), Double.MAX_VALUE, new Accumulate<Double>() {\n public Double accum(SketchNode node, Double value) {\n return Math.min(value, node.getInputBounds().getX() + node.getTranslateX());\n }\n });\n \n apply(doc.getSelection(), val, new Accumulate<Double>() {\n public Double accum(SketchNode node, Double value) {\n double x = node.getInputBounds().getX() + node.getTranslateX();\n node.setTranslateX(node.getTranslateX() + value - x);\n return value;\n }\n });\n }\n }));\n }", "public abstract void doAlignment(String sq1, String sq2);", "public boolean getScaleHorizontal() {\r\n return ScaleHorizontal;\r\n }", "public double getWidth() {\n return this.left.getLeft(0) - this.right.getRight(0); \n }", "int getAlignmentStart(String[] fields) throws NumberFormatException {\n int alignmentStart = Integer.parseInt(fields[3].trim()) - 1;\n return alignmentStart;\n }", "public void setTextAlign(TEXT_ALIGN align);", "public int getSizeLeft() {\n return datasPointer - headerPointer;\n }" ]
[ "0.8667969", "0.83356947", "0.828892", "0.8195288", "0.7883944", "0.7859192", "0.7446297", "0.7336477", "0.7336477", "0.71715796", "0.71301705", "0.70562714", "0.7052594", "0.6959583", "0.6955018", "0.69531107", "0.69134223", "0.6905517", "0.68763673", "0.68642", "0.6862831", "0.6852255", "0.67685527", "0.67501533", "0.67336166", "0.6621362", "0.6548499", "0.65422", "0.6540495", "0.653978", "0.6518487", "0.65093684", "0.65090084", "0.6454703", "0.64337784", "0.6389172", "0.63789594", "0.6372498", "0.6353805", "0.63427114", "0.6340417", "0.6336195", "0.63300866", "0.6319506", "0.62801003", "0.62371856", "0.6236426", "0.623442", "0.6172766", "0.61479324", "0.61459637", "0.614564", "0.61142033", "0.6106328", "0.608752", "0.60678685", "0.6063033", "0.60493696", "0.6045635", "0.6015171", "0.5988998", "0.5986428", "0.594379", "0.59359527", "0.5905057", "0.58749557", "0.5840386", "0.5830849", "0.5822286", "0.58213353", "0.5815881", "0.58109", "0.578439", "0.57713056", "0.5762994", "0.57358706", "0.57244694", "0.5720512", "0.5700897", "0.5698437", "0.56970584", "0.5692665", "0.568837", "0.5626245", "0.5625694", "0.55996466", "0.5593967", "0.5584874", "0.557441", "0.5558193", "0.5558127", "0.555217", "0.5520616", "0.5508733", "0.55064917", "0.5504221", "0.55007654", "0.54979026", "0.54935616", "0.54812604" ]
0.7492857
6
Sets the horizontal alignment.
public void setAlignmentX(AlignX anAlignX) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setHorizontalAlignment( short align )\n {\n this.halign = align;\n }", "public void setHorizontalAlignment(int alignment) {\n if (alignment == horizontalAlignment) return;\n int oldValue = horizontalAlignment;\n if ((alignment == LEFT) || (alignment == CENTER) || \n\t (alignment == RIGHT)|| (alignment == LEADING) || \n\t (alignment == TRAILING)) {\n horizontalAlignment = alignment;\n } else {\n throw new IllegalArgumentException(\"horizontalAlignment\");\n }\n firePropertyChange(\"horizontalAlignment\", oldValue, horizontalAlignment); \n invalidate();\n repaint();\n }", "public void setHorizontalAlign(int align) {\r\n this.halign = align;\r\n updateToolbar();\r\n\r\n }", "public void setHorizontalAlignment(int horizontalAlignment)\n {\n field.setHorizontalAlignment(horizontalAlignment);\n }", "public void setHAlign(int hAlign) {\n this.hAlign = hAlign;\n }", "public void setHorizontalTextAlignment(short value)\n {\n field_1_options = HorizontalTextAlignment.setShortValue(field_1_options, value);\n }", "public void setAlignment(Position alignment)\n {\n int align = alignment.value;\n JLabel jl = getComponent();\n if ((align&NORTH.value) != 0)\n jl.setVerticalAlignment(SwingConstants.TOP);\n else if ((align&SOUTH.value) != 0)\n jl.setVerticalAlignment(SwingConstants.BOTTOM);\n else\n jl.setVerticalAlignment(SwingConstants.CENTER);\n if ((align&EAST.value) != 0)\n jl.setHorizontalAlignment(SwingConstants.RIGHT);\n else if ((align&WEST.value) != 0)\n jl.setHorizontalAlignment(SwingConstants.LEFT);\n else\n jl.setHorizontalAlignment(SwingConstants.CENTER);\n invalidateSize();\n }", "public int getHorizontalAlignment() {\n return horizontalAlignment;\n }", "public HBuilder setAlign(String align) \r\n\t\t{\r\n\t\t\th.align = align;\r\n\t\t\treturn this;\r\n\t\t}", "public void setAlignment(int align)\n {\n this.align = align;\n }", "void setAlignment(Alignment alignment) {\n this.alignment = alignment;\n }", "public short getHorizontalAlignment()\n {\n return halign;\n }", "public final HORIZONTALALIGNMENT getHorizontalAlignment(){\n\t\treturn wDisplayHorizontalAlignment;\n\t}", "public void handleHorizontalAlign( IStyle style )\n \t{\n \t\tCSSValue hAlign = style.getProperty( IStyle.STYLE_TEXT_ALIGN );\n \t\tif ( null != hAlign )\n \t\t{\n \t\t\twriter.attribute( HTMLTags.ATTR_ALIGN, hAlign.getCssText( ) );\n \t\t}\n \t}", "public void setAlignmentY(AlignY anAlignX) { }", "public void setAlignment(int paramInt) {\n/* */ this.newAlign = paramInt;\n/* */ switch (paramInt) {\n/* */ case 3:\n/* */ this.align = 0;\n/* */ return;\n/* */ case 4:\n/* */ this.align = 2;\n/* */ return;\n/* */ } \n/* */ this.align = paramInt;\n/* */ }", "public void setStatusAlign(String statusAlign) {\n\t\tthis.statusAlign = statusAlign;\n\t\thandleConfig(\"statusAlign\", statusAlign);\n\t}", "public void setAlignment(@Nullable Layout.Alignment alignment) {\n if (mAlignment == alignment) {\n return;\n }\n mAlignment = alignment;\n mNeedUpdateLayout = true;\n }", "public void setTextAlign(TEXT_ALIGN align);", "public void alignCenter() {\n\t\ttop.middle();\n\t}", "public void setVerticalAlignment( short align )\n {\n this.valign = align;\n }", "public void setLineNumberAlign(Paint.Align align){\n if(align == null){\n align = Paint.Align.LEFT;\n }\n mLineNumberAlign = align;\n invalidate();\n }", "public int getHorizontalAlignment()\n {\n return field.getHorizontalAlignment();\n }", "public void setHorizontal(boolean horizontal) {\n\t\tthis.horizontal = horizontal;\n\t}", "public int getHorizontalTextAlignment() {\r\n\t\treturn getJTextField().getHorizontalAlignment();\r\n\t}", "public AlignX getAlignmentX() { return AlignX.Left; }", "public void setAlign(String align) {\n this.align = align;\n }", "public void setVAlign(int vAlign) {\n this.vAlign = vAlign;\n }", "public int getHorizontalAlignment() {\r\n\t\treturn getJTextField().getHorizontalAlignment();\r\n\t}", "TableSectionBuilder align(String align);", "public void setAlignment(int alignment) {\n writeline(\"/home/ubuntu/results/coverage/ZipArchiveEntry/ZipArchiveEntry_5_10.coverage\", \"0d789012-3f1e-4d4b-b335-4dd81825c6f2\");\n if ((alignment & (alignment - 1)) != 0 || alignment > 0xffff) {\n writeline(\"/home/ubuntu/results/coverage/ZipArchiveEntry/ZipArchiveEntry_5_10.coverage\", \"252dca05-27a1-4fd3-bd09-346445020cc4\");\n throw new IllegalArgumentException(\"Invalid value for alignment, must be power of two and no bigger than \" + 0xffff + \" but is \" + alignment);\n }\n writeline(\"/home/ubuntu/results/coverage/ZipArchiveEntry/ZipArchiveEntry_5_10.coverage\", \"a3b0ab7b-7be3-4be3-89fd-5fe6bd660d8c\");\n this.alignment = alignment;\n }", "public Builder setAligning(boolean value) {\n bitField0_ |= 0x00000008;\n aligning_ = value;\n onChanged();\n return this;\n }", "public void setEventMarginHorizontal(int eventMarginHorizontal) {\n config.eventMarginHorizontal = eventMarginHorizontal;\n invalidate();\n }", "public void setVerticalTextAlignment(short value)\n {\n field_1_options = VerticalTextAlignment.setShortValue(field_1_options, value);\n }", "private void alignCenter(int newWidth) {\n for (Shape child : shape.getChildren()) {\n GraphicsAlgorithm ga = child.getGraphicsAlgorithm();\n int diff = (newWidth - ga.getWidth()) / 2;\n gaService.setLocation(ga, ga.getX() + diff, ga.getY());\n }\n }", "public boolean getAligning() {\n return aligning_;\n }", "public void setCellAlign(Alignment cellAlign) {\r\n setAttribute(\"cellAlign\", cellAlign == null ? null : cellAlign.getValue(), true);\r\n }", "public int getAlignment() {\r\n return Alignment;\r\n }", "public int getAlignment() {\r\n return Alignment;\r\n }", "TableSectionBuilder vAlign(String vAlign);", "public int getAlignment()\n {\n return align;\n }", "public void justifyCenter() {\n\t\tleft.center();\n\t}", "boolean getAligning();", "public boolean getAligning() {\n return aligning_;\n }", "public int getAlignment() {\n/* */ return this.newAlign;\n/* */ }", "public void justifyLeft() {\n\t\tleft.left();\n\t}", "@SuppressWarnings(\"unchecked\")\n public TCS alignment(final Alignment alignment) {\n if (Alignment.AlignmentType.V == alignment.getAlignmentType())\n cellStyle_p.setVerticalAlignment(alignment.idx);\n else\n cellStyle_p.setAlignment(alignment.idx);\n\n return (TCS) this;\n }", "public final String getAlignAttribute() {\n return getAttributeValue(\"align\");\n }", "public String getAlign() {\n return align;\n }", "@JSProperty(\"textAlign\")\n void setTextAlign(String value);", "public void setHorizontalMargin(int margin) {\n mLayoutManager.setHorizontalMargin(margin);\n requestLayout();\n }", "public int getSwtAlignment() {\r\n return f_swtAlignment;\r\n }", "public KLabelMultiline(java.lang.String text, int horizontalAlignment) {\n // TODO codavaj!!\n }", "void xsetHorizontalResolution(com.microsoft.schemas.office.x2006.digsig.STPositiveInteger horizontalResolution);", "public void align( Alignment alignment, Properties param ) {\n\t\t// For the classes : no optmisation cartesian product !\n\t\tfor ( OWLEntity cl1 : ontology1.getClassesInSignature()){\n\t\t\tfor ( OWLEntity cl2: ontology2.getClassesInSignature() ){\n\t\t\t\tdouble confidence = match(cl1,cl2);\n\t\t\t\tif (confidence > 0) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\taddAlignCell(cl1.getIRI().toURI(),cl2.getIRI().toURI(),\"=\", confidence);\n\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\tSystem.out.println(e.toString());\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\n\t\tfor (OWLEntity cl1:getDataProperties(ontology1)){\n\t\t\tfor (OWLEntity cl2:getDataProperties(ontology2)){\n\t\t\t\tdouble confidence = match(cl1,cl2);\n\t\t\t\tif (confidence > 0) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\taddAlignCell(cl1.getIRI().toURI(),cl2.getIRI().toURI(),\"=\", confidence);\n\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\tSystem.out.println(e.toString());\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (OWLEntity cl1:getObjectProperties(ontology1)){\n\t\t\tfor (OWLEntity cl2:getObjectProperties(ontology2)){\n\t\t\t\tdouble confidence = match(cl1,cl2);\n\t\t\t\tif (confidence > 0) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\taddAlignCell(cl1.getIRI().toURI(),cl2.getIRI().toURI(),\"=\", confidence);\n\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\tSystem.out.println(e.toString());\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t}\n\t\t}\n\n\n\n\n\n\n\n\n\t}", "public VFlowLayout(int align) {\n this(align, 5, 5, true, false);\n }", "Alignment getAlignment() {\n return alignment;\n }", "@Override\r\n public void setAlignmentY(float f) {\r\n super.setAlignmentY(JLabel.CENTER_ALIGNMENT);\r\n }", "public RowLayout(final boolean horizontal) {\n this(horizontal, true, true);\n }", "private void setAlignParam(ConstTiltalignParam tiltalignParam) {\n if (dialog == null) {\n return;\n }\n dialog.setAngleOffset(tiltalignParam.getAngleOffset());\n dialog.setTiltAxisZShift(tiltalignParam.getAxisZShift());\n }", "public GridBagPanel fillHorizontal()\n {\n myGBC.fill = GridBagConstraints.HORIZONTAL;\n myGBC.weightx = 1.0;\n myGBC.weighty = 0.0;\n return this;\n }", "protected boolean isHorizontal() {\n\t\treturn true;\n\t}", "public float getAlignmentY() { return 0.5f; }", "@ReactMethod\n public void setAlignment(int alignment, Promise promise){\n if (woyouService == null) {\n Toast.makeText(this.reactContext, R.string.printer_disconnect, Toast.LENGTH_LONG).show();\n promise.reject(\"0\", \"\");\n }\n\n try {\n woyouService.setAlignment(alignment, null);\n promise.resolve(null);\n } catch (RemoteException e) {\n promise.reject(\"0\", e.getMessage());\n }\n }", "private AminoAction AlignLeft(final SketchDocument doc) {\n return named(\"Align Left\", groupOnly(doc, new AminoAction() {\n @Override\n public void execute() throws Exception {\n double val = apply(doc.getSelection(), Double.MAX_VALUE, new Accumulate<Double>() {\n public Double accum(SketchNode node, Double value) {\n return Math.min(value, node.getInputBounds().getX() + node.getTranslateX());\n }\n });\n \n apply(doc.getSelection(), val, new Accumulate<Double>() {\n public Double accum(SketchNode node, Double value) {\n double x = node.getInputBounds().getX() + node.getTranslateX();\n node.setTranslateX(node.getTranslateX() + value - x);\n return value;\n }\n });\n }\n }));\n }", "public void setFacetTitleAlign(Alignment facetTitleAlign) {\r\n setAttribute(\"facetTitleAlign\", facetTitleAlign == null ? null : facetTitleAlign.getValue(), true);\r\n }", "public void setAlignedSequence( Sequence alseq ) {\n\t\tthis.alignedsequence = alseq;\n\t\tif(alseq.id == null) alseq.id = id;\n\t\tif(seq != null) alseq.name = seq.getGroup();\n\t\tif(alseq.group == null) alseq.group = group;\n\t}", "public float getLayoutAlignmentX(Container parent)\n\t{\n\t\treturn 0.5f;\n\t}", "public void setWidth(int w) {\n this.W = w;\n }", "public final ObjectProperty<Pos> alignmentProperty() {\n if (alignment == null) {\n alignment = new StyleableObjectProperty<Pos>(Pos.TOP_LEFT) {\n\n @Override\n public void invalidated() {\n requestLayout();\n }\n\n @Override\n public CssMetaData<HangingFlowPane, Pos> getCssMetaData() {\n return StyleableProperties.ALIGNMENT;\n }\n\n @Override\n public Object getBean() {\n return HangingFlowPane.this;\n }\n\n @Override\n public String getName() {\n return \"alignment\";\n }\n };\n }\n return alignment;\n }", "public void onMirrorHorizontal() {\n mirror(TransformDesign.MIRROR_HORIZONTAL, 0.0f);\n }", "public abstract void doAlignment(String sq1, String sq2);", "public static String leftAlignFormat() {\n String leftAlignFormat = \"\\n\\t\"\r\n + \"|\"\r\n + \" %-\" + Integer.toString(5) + \"s\"\r\n + \"|\"\r\n + \" %-\" + Integer.toString(40) + \"s\"\r\n + \"|\"\r\n + \" %-\" + Integer.toString(30) + \"s\"\r\n + \"|\"\r\n + \" %-\" + Integer.toString(30) + \"s\"\r\n + \"|\"\r\n + \" %-\" + Integer.toString(60) + \"s\"\r\n + \"|\"\r\n + \" %-\" + Integer.toString(15) + \"s\"\r\n + \"|\"\r\n + \" %-\" + Integer.toString(15) + \"s\" //string\r\n + \"|\"\r\n + \" %-\" + Integer.toString(24) + \"s\" \r\n + \"|\\n\";\r\n return leftAlignFormat;\r\n }", "public void setTextStyle(TextStyle.Horizontal hAlign, TextStyle.Vertical vAlign, \n TextStyle.Orientation orientation) {\n TextStyle style = this.textStyle;\n hAlign = (hAlign == null)? style.hAlign: hAlign;\n vAlign = (vAlign == null)? style.vAlign: vAlign;\n orientation = (orientation == null)? style.orientation: orientation;\n this.textStyle = new TextStyle(hAlign, vAlign, orientation);\n }", "public Alignment(Properties props) {\r\n\t\talignmentThreshold = Integer.parseInt(props.getProperty(\"alignmentThreshold\"));\r\n\t}", "public float getLayoutAlignmentX(Container target) {\n return 0.5f;\n }", "void setHorizontalResolution(int horizontalResolution);", "int defaultHorizontal() {\n int horizontal;\n if (isDate(clazz) || isDateTime(clazz)\n || isLocalDate(clazz) || isLocalDateTime(clazz)\n || isTime(clazz) || isLocalTime(clazz)\n || isChar(clazz) || isBool(clazz)) {\n horizontal = Horizontals.CENTER;\n } else if (isInt(clazz) || isLong(clazz)\n || isFloat(clazz) || isDouble(clazz)\n || isBigDecimal(clazz)) {\n horizontal = Horizontals.RIGHT;\n } else {\n horizontal = Horizontals.LEFT;\n }\n return horizontal;\n }", "boolean hasAligning();", "public Builder clearAligning() {\n bitField0_ = (bitField0_ & ~0x00000008);\n aligning_ = false;\n onChanged();\n return this;\n }", "public static void setAlignment(Node child, FlowAlignment value) {\n setConstraint(child, ALIGNMENT, value);\n }", "int getVerticalAlignValue();", "public void setWidth(int w) {\n this.width = w;\n }", "public Alignment getAlignment() {\n return alignment;\n }", "public void setHeading() {\n super.setHeading(getPrevious().getHeadingTo(this)); //The absolute angle position that robot needs to face to reach this position\n }", "public void setWidth(int w)\n {\n width = w;\n }", "public void setCenter() {\n\t\tthis.isCenter = true;\n\t}", "@Override\r\n\tpublic int getAlignmentSize() {\r\n\t\treturn getSize();\r\n\t}", "public Alignment()\n\t{\n\t}", "void setHeaderMargin(double headermargin);", "public void alignTop() {\n\t\ttop.top();\n\t}", "public void setWidth(int w){\n \twidth = w;\n }", "private void numberDisplayAlignment() {\n numberDisplay.setAlignment(Pos.CENTER_RIGHT);\n numberDisplay.setPrefSize(20, 10);\n }", "public void alignLocation();", "public void setWidth(int w) {\n\t\twidth = w;\n\t}", "private static void printCenter(String str, int fieldWidth, boolean newLine){\n int rightAlign = (int)(Math.floor(fieldWidth/2) + Math.ceil(str.length()/2));\n System.out.printf(\"%\" + rightAlign + \"s%\" + (fieldWidth - rightAlign) + \"s\" + (newLine ? \"%n\" : \"\"), str, \"\");\n }", "public void setPreferredHorizontalOrientation(@HorizontalOrientation int orientation) {\n mPreferredHorizontalOrientation = orientation;\n }", "public Boolean isHorizontal() {\n return horizontal;\n }", "public int getElementHorizontalalAlignmentLeft(WebDriver driver, String xpathUpper, String xpathLower) throws NumberFormatException, IOException {\n\t\tint X = driver.findElement(By.xpath(xpathUpper)).getLocation().getX();\n\t\tint x = driver.findElement(By.xpath(xpathLower)).getLocation().getX();\n\t\tint alignment = Math.abs(X - x);\n\t\tfileWriterPrinter(\"\\n\" + \"HORIZONTAL ALIGNMENT = \" + alignment);\n\t\treturn alignment;\n\t\t}", "int getAlignValue();" ]
[ "0.8293235", "0.80498195", "0.78054935", "0.7778014", "0.74795985", "0.6923481", "0.6899446", "0.68862355", "0.68178046", "0.67369556", "0.6646998", "0.66339606", "0.6524592", "0.6502585", "0.6453326", "0.62908787", "0.62899274", "0.6282359", "0.6253185", "0.6241512", "0.624024", "0.6198753", "0.6172022", "0.61570495", "0.60895866", "0.6077446", "0.606326", "0.6055953", "0.60460585", "0.5971603", "0.5897809", "0.58811027", "0.5696926", "0.5638591", "0.5637161", "0.5605386", "0.5576443", "0.5576401", "0.5576401", "0.55729496", "0.555461", "0.5551002", "0.55497557", "0.5546099", "0.55272907", "0.54935575", "0.5482175", "0.547707", "0.54408985", "0.5436621", "0.54275984", "0.5404682", "0.53996825", "0.5388708", "0.53777397", "0.5365626", "0.53577787", "0.5352286", "0.53443164", "0.5321334", "0.5319802", "0.53011084", "0.52623636", "0.52576447", "0.5248566", "0.5245171", "0.52367973", "0.52224404", "0.52178544", "0.5207186", "0.5206431", "0.51867", "0.517804", "0.5175834", "0.5173751", "0.5173319", "0.51669484", "0.5159575", "0.5149958", "0.51365685", "0.5134246", "0.5131135", "0.5130325", "0.51236767", "0.51230556", "0.51212525", "0.51189375", "0.51053286", "0.51023275", "0.50994897", "0.50778997", "0.5077823", "0.5076024", "0.5066069", "0.5065185", "0.50606006", "0.5058665", "0.50492656", "0.5046071", "0.5040191" ]
0.7405533
5
Returns the vertical alignment.
public AlignY getAlignmentY() { return AlignY.Top; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getVerticalAlignValue();", "com.ctrip.ferriswheel.proto.v1.Placement getVerticalAlign();", "public short getVerticalAlignment()\n {\n return valign;\n }", "public final VERTICALALIGNMENT getDisplayVerticalAlignment(){\n\t\treturn wDisplayVerticalAlignment;\n\t}", "public float getAlignmentY() { return 0.5f; }", "public int getAlignment()\n {\n return align;\n }", "int getAlignValue();", "public String getAlign() {\n return align;\n }", "public int getAlignment() {\r\n return Alignment;\r\n }", "public int getAlignment() {\r\n return Alignment;\r\n }", "public VerticalAlignment getFacetLabelHoverVAlign() {\r\n return EnumUtil.getEnum(VerticalAlignment.values(), getAttribute(\"facetLabelHoverVAlign\"));\r\n }", "public String getCaptionVerticalAlign(){\n return this.captionVerticalAlign;\n }", "public VerticalAlignment getFacetValueHoverVAlign() {\r\n return EnumUtil.getEnum(VerticalAlignment.values(), getAttribute(\"facetValueHoverVAlign\"));\r\n }", "public int getElementVerticalAlignmentTop(WebDriver driver, String xpathLeft, String xpathRight) throws NumberFormatException, IOException {\n\t\tint Y = driver.findElement(By.xpath(xpathLeft)).getLocation().getY();\n\t\tint y = driver.findElement(By.xpath(xpathRight)).getLocation().getY();\n\t\tint alignment = Math.abs(Y - y);\n\t\tfileWriterPrinter(\"\\n\" + \"VERTICAL ALIGNMENT = \" + alignment);\n\t\treturn alignment;\n\t\t}", "public int getAlignment() {\n/* */ return this.newAlign;\n/* */ }", "public short getHorizontalAlignment()\n {\n return halign;\n }", "public int getElementVerticalAlignmentBottom(WebDriver driver, String xpathLeft, String xpathRight) throws NumberFormatException, IOException {\n\t\tint Y = driver.findElement(By.xpath(xpathLeft)).getLocation().getY() + driver.findElement(By.xpath(xpathLeft)).getSize().getHeight();\n\t\tint y = driver.findElement(By.xpath(xpathRight)).getLocation().getY() + driver.findElement(By.xpath(xpathRight)).getSize().getHeight();\n\t\tint alignment = Math.abs(Y - y);\n\t\tfileWriterPrinter(\"\\n\" + \"VERTICAL ALIGNMENT = \" + alignment);\n\t\treturn alignment;\n\t\t}", "public int getHorizontalAlignment() {\n return horizontalAlignment;\n }", "public int getAlignment()\n {\n return bouquet.getAlignment();\n }", "public Position getAlignment()\n {\n int halign = getComponent().getHorizontalAlignment();\n int valign = getComponent().getVerticalAlignment();\n return Position.get(halign, valign);\n }", "@Override\n public String getTextAlign() {\n return graphicsEnvironmentImpl.getTextAlign(canvas);\n }", "public final String getAlignAttribute() {\n return getAttributeValue(\"align\");\n }", "public float getLayoutAlignmentY(Container target) {\n\t\treturn 0;\r\n\t}", "public void setVerticalAlignment( short align )\n {\n this.valign = align;\n }", "boolean getAligning();", "public int getHorizontalAlignment()\n {\n return field.getHorizontalAlignment();\n }", "public float getLayoutAlignmentY(Container target) {\n return 0.5f;\n }", "public float getLayoutAlignmentY(Container parent)\n\t{\n\t\treturn 0.5f;\n\t}", "public float getLayoutAlignmentY(Container target) \n {\n\treturn (float)0.0;\n\t\n }", "public int getSwtAlignment() {\r\n return f_swtAlignment;\r\n }", "com.ctrip.ferriswheel.proto.v1.Placement getAlign();", "public boolean getAligning() {\n return aligning_;\n }", "protected int getAlignment() {\n writeline(\"/home/ubuntu/results/coverage/ZipArchiveEntry/ZipArchiveEntry_5_10.coverage\", \"12abfd3b-e43a-46a7-92b9-993595740399\");\n return this.alignment;\n }", "Alignment getAlignment() {\n return alignment;\n }", "public Alignment getAlignment() {\n return alignment;\n }", "public boolean getAligning() {\n return aligning_;\n }", "default Integer getVerticalMargin() {\n return null;\n }", "TableSectionBuilder vAlign(String vAlign);", "public short getVertOrient() throws TextException {\r\n try {\r\n short verticalAlignment = ((Short) getXPropertySet().getPropertyValue(\"VertOrient\"))\r\n .shortValue();\r\n if (verticalAlignment == VertOrientation.CENTER) {\r\n return ALIGN_CENTER;\r\n } else if (verticalAlignment == VertOrientation.BOTTOM) {\r\n return ALIGN_BOTTOM;\r\n } else if (verticalAlignment == VertOrientation.TOP) {\r\n return ALIGN_TOP;\r\n } else {\r\n return ALIGN_UNDEFINED;\r\n }\r\n } catch (Exception exception) {\r\n TextException textException = new TextException(exception.getMessage());\r\n textException.initCause(exception);\r\n throw textException;\r\n }\r\n }", "public double getTargetVerticalOffset() {\n return getDouble(\"ty\");\n }", "public void setAlignmentY(AlignY anAlignX) { }", "float getVerticalMargin() {\n return mTn.mVerticalMargin;\n }", "public double getBboxVerticalSidelength() {\n return getDouble(\"tvert\");\n }", "public Alignment getCellAlign() {\r\n return EnumUtil.getEnum(Alignment.values(), getAttribute(\"cellAlign\"));\r\n }", "@Override\r\n\tpublic int getAlignmentSize() {\r\n\t\treturn getSize();\r\n\t}", "CrossAlign getCrossAlign();", "@Basic @Immutable\n\tpublic double getVerticalLocation() {\n\t\treturn this.verticalLocation;\n\t}", "public int getVerticalMargin() {\n return mLayoutManager.getVerticalMargin();\n }", "public void handleVerticalAlignBegine( IContent element )\n \t{\n \t\tIStyle style = element.getStyle( );\n \t\tCSSValue vAlign = style.getProperty( IStyle.STYLE_VERTICAL_ALIGN );\n \t\tCSSValue canShrink = style.getProperty( IStyle.STYLE_CAN_SHRINK );\n \t\tDimensionType height = element.getHeight( );\n \t\tif ( vAlign != null\n \t\t\t\t&& vAlign != IStyle.BASELINE_VALUE && height != null\n \t\t\t\t&& canShrink != IStyle.TRUE_VALUE )\n \t\t{\n \t\t\t// implement vertical align.\n \t\t\twriter.openTag( HTMLTags.TAG_TABLE );\n \t\t\tStringBuffer nestingTableStyleBuffer = new StringBuffer( );\n \t\t\tnestingTableStyleBuffer.append( \" width:100%; height:\" );\n \t\t\tnestingTableStyleBuffer.append( height.toString( ) );\n \t\t\twriter.attribute( HTMLTags.ATTR_STYLE, nestingTableStyleBuffer );\n \t\t\twriter.openTag( HTMLTags.TAG_TR );\n \t\t\twriter.openTag( HTMLTags.TAG_TD );\n \n \t\t\tStringBuffer textStyleBuffer = new StringBuffer( );\n \t\t\ttextStyleBuffer.append( \" vertical-align:\" );\n \t\t\ttextStyleBuffer.append( vAlign.getCssText( ) );\n \t\t\ttextStyleBuffer.append( \";\" );\n \t\t\twriter.attribute( HTMLTags.ATTR_STYLE, textStyleBuffer );\n \t\t}\n \t}", "public int getItemAlignmentOffset() {\n return mLayoutManager.getItemAlignmentOffset();\n }", "TickAlign getAlign();", "public double getdegVerticalToTarget() {\n NetworkTableEntry ty = m_table.getEntry(\"ty\");\n double y = ty.getDouble(0.0);\n return y;\n }", "public String[] getStrAlign() {\n if (state) return new String[]{alignB, alignA};\n return new String[]{alignA, alignB};\n }", "public int getHorizontalTextAlignment() {\r\n\t\treturn getJTextField().getHorizontalAlignment();\r\n\t}", "public int getHorizontalAlignment() {\r\n\t\treturn getJTextField().getHorizontalAlignment();\r\n\t}", "public int getPreferredVerticalOffset() {\n\t\treturn preferredVerticalOffset;\n\t}", "int getAlign(XmlNode node) {\n return getAlign(node.getAttribute(ATTR_ALIGN, \"CENTER\"));\n }", "public int getItemAlignmentViewId() {\n return mLayoutManager.getItemAlignmentViewId();\n }", "public Alignment getFacetValueAlign() {\r\n return EnumUtil.getEnum(Alignment.values(), getAttribute(\"facetValueAlign\"));\r\n }", "public final ObjectProperty<Pos> alignmentProperty() {\n if (alignment == null) {\n alignment = new StyleableObjectProperty<Pos>(Pos.TOP_LEFT) {\n\n @Override\n public void invalidated() {\n requestLayout();\n }\n\n @Override\n public CssMetaData<HangingFlowPane, Pos> getCssMetaData() {\n return StyleableProperties.ALIGNMENT;\n }\n\n @Override\n public Object getBean() {\n return HangingFlowPane.this;\n }\n\n @Override\n public String getName() {\n return \"alignment\";\n }\n };\n }\n return alignment;\n }", "public float getAlignment(int axis) {\n if (view != null) {\n return view.getAlignment(axis);\n }\n return 0;\n }", "public int getVSpacing() {\n return (((Integer) (data[GENERAL_VSPACING][PROP_VAL_VALUE])).intValue());\n }", "int align();", "public int getHeight() {\r\n\t\treturn height + yIndent;\r\n\t}", "public int getBlockHeight(BoxLayout boxLayout) {\n\t\tif( lines != null && lines.size() > 0 ){\n\t\t\t\n\t\t\tint l = lines.get(lines.size()-1).y;\n\t\t\t//this is the height of the last box - left or right\n\t\t\tint b = boxLayout.getHeight() ;\n\t\t\t\n\t\t\treturn ( l > b ) ? l : b;\n\t\t}\n\t\treturn boxLayout.getHeight();\n\t}", "@JSProperty(\"textAlign\")\n @Nullable\n String getTextAlign();", "public Boolean isVertical() {\n return vertical;\n }", "public void handleVerticalAlign( IStyle style )\n \t{\n \t\tCSSValue vAlign = style.getProperty( IStyle.STYLE_VERTICAL_ALIGN );\n \t\tif ( null != vAlign )\n \t\t{\n \t\t\twriter.attribute( HTMLTags.ATTR_VALIGN, vAlign.getCssText( ) );\n \t\t}\n \t}", "public int getSectionAlignment()\n throws IOException, EndOfStreamException\n {\n return peFile_.readInt32(relpos(Offsets.SECTION_ALIGNMENT.position));\n }", "boolean hasAligning();", "public int yPos() {\n\t\treturn Engine.scaleY(y);\n\t}", "public Boolean isVertical() {\r\n\t\treturn isVertical;\r\n\t}", "public boolean isVertical() {\r\n\t\treturn isVertical;\r\n\t}", "@objid (\"7f09cb65-1dec-11e2-8cad-001ec947c8cc\")\n public boolean isVertical() {\n return this.vertical;\n }", "@Override\n\tpublic float getLayoutAlignmentY(Container target) {\n\t\treturn 0;\n\t}", "public final HORIZONTALALIGNMENT getHorizontalAlignment(){\n\t\treturn wDisplayHorizontalAlignment;\n\t}", "public double getCenterY() {\n return this.getLayoutSlot().getY() + (int) (this.getLayoutSlot().getHeight() / 2);\n }", "public int getY() {\n return PADDING;\n //return rowToY(this.getRows());\n //throw new UnsupportedOperationException();\n }", "private float getYAxisLabelHeight() {\n return ViewUtils.getTextHeight(mYAxisTextPaint, PERCENTAGE_PERFECT);\n }", "String validateAlignment() {\n\t\treturn null;\n\t}", "public void setVerticalTextAlignment(short value)\n {\n field_1_options = VerticalTextAlignment.setShortValue(field_1_options, value);\n }", "@Override\n\tpublic float getLayoutAlignmentY(final Container target) {\n\t\treturn 0;\n\t}", "int getLineHeight() {\n\treturn ascent + descent;\n}", "public Alignment getFacetLabelHoverAlign() {\r\n return EnumUtil.getEnum(Alignment.values(), getAttribute(\"facetLabelHoverAlign\"));\r\n }", "public String getVerticalName() {\r\n\t\treturn verticalName;\r\n\t}", "private double getVerticalOffset(final int vpos, final boolean isBBox) {\n double dy;\n switch(vpos) {\n case BOTTOM:\n dy = 0;\n break;\n case CENTER_V:\n dy = bbox.getHeight() * 0.5;\n break;\n case TOP:\n dy = bbox.getHeight();\n break;\n default:\n throw new IllegalArgumentException(\"vpos: \" + vpos);\n }\n return dy - bbox.getY() - (isBBox ? bbox.getHeight() : 0);\n }", "@Override\r\n public void setAlignmentY(float f) {\r\n super.setAlignmentY(JLabel.CENTER_ALIGNMENT);\r\n }", "public int getSizeY(){\r\n\t\treturn size[1];\r\n\t}", "public double getyOffset() {\n\n return currentYOffset + yOffset;\n }", "public Alignment getFacetValueHoverAlign() {\r\n return EnumUtil.getEnum(Alignment.values(), getAttribute(\"facetValueHoverAlign\"));\r\n }", "public float getAlignment(int axis) {\n if (axis == View.X_AXIS) {\n return 0;\n }\n return super.getAlignment(axis);\n }", "public boolean getShowVerticalLines() {\r\n return calendarTable.getShowVerticalLines();\r\n }", "@Override\n public int height()\n {\n return textCent.height();\n }", "public float getCenterY()\n\t{\n\t\treturn (this.sy / 2) + this.y;\n\t}", "public double getCenterY()\n {\n return mainVBox.getTranslateY() + (mainVBox.getHeight() / 2);\n }", "public double getLblSpacing() {\n return lblSpacing;\n }", "com.microsoft.schemas.office.x2006.digsig.STPositiveInteger xgetVerticalResolution();", "boolean verticalAligned(int i, int j) {\n if (i < 0 || j < 0 || i >= gameBoard.getSize() || j >= gameBoard.getSize() - 2) return false;\n return gameBoard.getValue(new Coordinates(i, j)) == gameBoard.getValue(new Coordinates(i, j + 1))\n && gameBoard.getValue(new Coordinates(i, j)) == gameBoard.getValue(new Coordinates(i, j + 2));\n }", "public double getCenterY() { return centerY.get(); }", "public void setTextAlign(TEXT_ALIGN align);" ]
[ "0.8557027", "0.8041908", "0.80100316", "0.7522251", "0.733893", "0.7053489", "0.7006375", "0.69200695", "0.6857879", "0.6857879", "0.6825273", "0.6752521", "0.67211574", "0.6720032", "0.6699487", "0.66956806", "0.6677418", "0.66548586", "0.66433764", "0.66319746", "0.6630191", "0.6521896", "0.6509579", "0.6500331", "0.64919716", "0.6472257", "0.6464296", "0.6424182", "0.6420107", "0.64104354", "0.63395494", "0.6325791", "0.63183093", "0.6313625", "0.6306672", "0.6298634", "0.62968713", "0.6289684", "0.62530464", "0.62343395", "0.6220045", "0.6215132", "0.62040037", "0.61957246", "0.6164988", "0.6126182", "0.6122709", "0.6115058", "0.6107401", "0.610317", "0.6058714", "0.60337657", "0.60323757", "0.6029111", "0.6028061", "0.6004809", "0.5978199", "0.5962522", "0.59343237", "0.5920282", "0.5866943", "0.58511317", "0.5848", "0.58459413", "0.5844407", "0.5825494", "0.5824832", "0.582005", "0.5761516", "0.57594085", "0.5746876", "0.57276267", "0.5716943", "0.5710065", "0.5700917", "0.56975263", "0.5694752", "0.5682847", "0.56646997", "0.5651111", "0.56494516", "0.5644319", "0.5633115", "0.5619177", "0.5611306", "0.5593098", "0.5586512", "0.5581115", "0.557893", "0.55772567", "0.5567744", "0.55670124", "0.55639076", "0.5562208", "0.55602825", "0.5554654", "0.55448455", "0.55292404", "0.55124635", "0.5489057" ]
0.7592997
3
Sets the vertical alignment.
public void setAlignmentY(AlignY anAlignX) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setVerticalAlignment( short align )\n {\n this.valign = align;\n }", "int getVerticalAlignValue();", "public void setVerticalTextAlignment(short value)\n {\n field_1_options = VerticalTextAlignment.setShortValue(field_1_options, value);\n }", "public void setVAlign(int vAlign) {\n this.vAlign = vAlign;\n }", "@Override\r\n public void setAlignmentY(float f) {\r\n super.setAlignmentY(JLabel.CENTER_ALIGNMENT);\r\n }", "public void setAlignment(Position alignment)\n {\n int align = alignment.value;\n JLabel jl = getComponent();\n if ((align&NORTH.value) != 0)\n jl.setVerticalAlignment(SwingConstants.TOP);\n else if ((align&SOUTH.value) != 0)\n jl.setVerticalAlignment(SwingConstants.BOTTOM);\n else\n jl.setVerticalAlignment(SwingConstants.CENTER);\n if ((align&EAST.value) != 0)\n jl.setHorizontalAlignment(SwingConstants.RIGHT);\n else if ((align&WEST.value) != 0)\n jl.setHorizontalAlignment(SwingConstants.LEFT);\n else\n jl.setHorizontalAlignment(SwingConstants.CENTER);\n invalidateSize();\n }", "public void handleVerticalAlignBegine( IContent element )\n \t{\n \t\tIStyle style = element.getStyle( );\n \t\tCSSValue vAlign = style.getProperty( IStyle.STYLE_VERTICAL_ALIGN );\n \t\tCSSValue canShrink = style.getProperty( IStyle.STYLE_CAN_SHRINK );\n \t\tDimensionType height = element.getHeight( );\n \t\tif ( vAlign != null\n \t\t\t\t&& vAlign != IStyle.BASELINE_VALUE && height != null\n \t\t\t\t&& canShrink != IStyle.TRUE_VALUE )\n \t\t{\n \t\t\t// implement vertical align.\n \t\t\twriter.openTag( HTMLTags.TAG_TABLE );\n \t\t\tStringBuffer nestingTableStyleBuffer = new StringBuffer( );\n \t\t\tnestingTableStyleBuffer.append( \" width:100%; height:\" );\n \t\t\tnestingTableStyleBuffer.append( height.toString( ) );\n \t\t\twriter.attribute( HTMLTags.ATTR_STYLE, nestingTableStyleBuffer );\n \t\t\twriter.openTag( HTMLTags.TAG_TR );\n \t\t\twriter.openTag( HTMLTags.TAG_TD );\n \n \t\t\tStringBuffer textStyleBuffer = new StringBuffer( );\n \t\t\ttextStyleBuffer.append( \" vertical-align:\" );\n \t\t\ttextStyleBuffer.append( vAlign.getCssText( ) );\n \t\t\ttextStyleBuffer.append( \";\" );\n \t\t\twriter.attribute( HTMLTags.ATTR_STYLE, textStyleBuffer );\n \t\t}\n \t}", "public boolean setCaptionVerticalAlign(String align) {\n //Allowed allgments\n boolean top = align.equals(\"top\");\n boolean mid = align.equals(\"middle\");\n boolean bottom = align.equals(\"bottom\");\n \n if(top || mid || bottom) { //Checks if allowed and sets it\n this.captionVerticalAlign = align;\n return true;\n }\n \n return false;\n }", "public float getAlignmentY() { return 0.5f; }", "public short getVerticalAlignment()\n {\n return valign;\n }", "public void setHAlign(int hAlign) {\n this.hAlign = hAlign;\n }", "public void handleVerticalAlign( IStyle style )\n \t{\n \t\tCSSValue vAlign = style.getProperty( IStyle.STYLE_VERTICAL_ALIGN );\n \t\tif ( null != vAlign )\n \t\t{\n \t\t\twriter.attribute( HTMLTags.ATTR_VALIGN, vAlign.getCssText( ) );\n \t\t}\n \t}", "TableSectionBuilder vAlign(String vAlign);", "public VerticalLayout(int vgap, int alignment) {\r\n this(vgap, alignment, TOP);\r\n }", "public AlignY getAlignmentY() { return AlignY.Top; }", "public VerticalLayout() {\n setWidth(\"100%\");\n setSpacing(true);\n setMargin(true);\n }", "public void setTextAlign(TEXT_ALIGN align);", "public final VERTICALALIGNMENT getDisplayVerticalAlignment(){\n\t\treturn wDisplayVerticalAlignment;\n\t}", "public VerticalLayout(int vgap, int alignment, int anchor) {\r\n this.vgap = vgap;\r\n this.alignment = alignment;\r\n this.anchor = anchor;\r\n }", "com.ctrip.ferriswheel.proto.v1.Placement getVerticalAlign();", "public void setHorizontalAlignment( short align )\n {\n this.halign = align;\n }", "public void setAlignmentX(AlignX anAlignX) { }", "@SuppressWarnings(\"unchecked\")\n public TCS alignment(final Alignment alignment) {\n if (Alignment.AlignmentType.V == alignment.getAlignmentType())\n cellStyle_p.setVerticalAlignment(alignment.idx);\n else\n cellStyle_p.setAlignment(alignment.idx);\n\n return (TCS) this;\n }", "@ReactProp(name = ViewProps.TEXT_ALIGN_VERTICAL)\n public void setTextAlignVertical(ReactTextView view, @Nullable String textAlignVertical) {\n try {\n\n if (textAlignVertical == null || \"auto\".equals(textAlignVertical)) {\n Method method = view.getClass().getDeclaredMethod(\"setGravityVertical\");\n method.setAccessible(true);\n method.invoke(view, Gravity.NO_GRAVITY);\n } else if (\"top\".equals(textAlignVertical)) {\n Method method = view.getClass().getDeclaredMethod(\"setGravityVertical\");\n method.setAccessible(true);\n method.invoke(view, Gravity.TOP);\n } else if (\"bottom\".equals(textAlignVertical)) {\n Method method = view.getClass().getDeclaredMethod(\"setGravityVertical\");\n method.setAccessible(true);\n method.invoke(view, Gravity.BOTTOM);\n } else if (\"center\".equals(textAlignVertical)) {\n Method method = view.getClass().getDeclaredMethod(\"setGravityVertical\");\n method.setAccessible(true);\n method.invoke(view, Gravity.CENTER_VERTICAL);\n } else {\n throw new JSApplicationIllegalArgumentException(\n \"Invalid textAlignVertical: \" + textAlignVertical);\n }\n\n } catch (NoSuchMethodException e) {\n System.out.println(\"no such method\");\n } catch (IllegalAccessException e) {\n System.out.println(\"illegal access\");\n }\n catch (InvocationTargetException e) {\n System.out.println(\"invocation target exception\");\n }\n\n\n }", "public void setAlignment(int paramInt) {\n/* */ this.newAlign = paramInt;\n/* */ switch (paramInt) {\n/* */ case 3:\n/* */ this.align = 0;\n/* */ return;\n/* */ case 4:\n/* */ this.align = 2;\n/* */ return;\n/* */ } \n/* */ this.align = paramInt;\n/* */ }", "@objid (\"7f09cb6a-1dec-11e2-8cad-001ec947c8cc\")\n public void setVertical(boolean value) {\n if (this.vertical != value) {\n this.vertical = value;\n firePropertyChange(IGmObject.PROPERTY_LAYOUTDATA, null, getLayoutData());\n }\n }", "public void setAlignment(int align)\n {\n this.align = align;\n }", "void setAlignment(Alignment alignment) {\n this.alignment = alignment;\n }", "public void alignBottom() {\n\t\ttop.bottom();\n\t}", "public void setAlignment(@Nullable Layout.Alignment alignment) {\n if (mAlignment == alignment) {\n return;\n }\n mAlignment = alignment;\n mNeedUpdateLayout = true;\n }", "public void setHorizontalAlignment(int alignment) {\n if (alignment == horizontalAlignment) return;\n int oldValue = horizontalAlignment;\n if ((alignment == LEFT) || (alignment == CENTER) || \n\t (alignment == RIGHT)|| (alignment == LEADING) || \n\t (alignment == TRAILING)) {\n horizontalAlignment = alignment;\n } else {\n throw new IllegalArgumentException(\"horizontalAlignment\");\n }\n firePropertyChange(\"horizontalAlignment\", oldValue, horizontalAlignment); \n invalidate();\n repaint();\n }", "public String getCaptionVerticalAlign(){\n return this.captionVerticalAlign;\n }", "public VerticalLayout() {\r\n this(5, CENTER, TOP);\r\n }", "public void setHorizontalAlign(int align) {\r\n this.halign = align;\r\n updateToolbar();\r\n\r\n }", "public void alignCenter() {\n\t\ttop.middle();\n\t}", "public HBuilder setAlign(String align) \r\n\t\t{\r\n\t\t\th.align = align;\r\n\t\t\treturn this;\r\n\t\t}", "@JSProperty(\"textAlign\")\n void setTextAlign(String value);", "public void setVertical(Boolean isVertical) {\r\n\t\tthis.isVertical = isVertical;\r\n\t}", "public void handleVerticalAlignEnd( IContent element )\n \t{\n \t\tIStyle style = element.getStyle( );\n \t\tCSSValue vAlign = style.getProperty( IStyle.STYLE_VERTICAL_ALIGN );\n \t\tCSSValue canShrink = style.getProperty( IStyle.STYLE_CAN_SHRINK );\n \t\tDimensionType height = element.getHeight( );\n \t\tif ( vAlign != null\n \t\t\t\t&& vAlign != IStyle.BASELINE_VALUE && height != null\n \t\t\t\t&& canShrink != IStyle.TRUE_VALUE )\n \t\t{\n \t\t\twriter.closeTag( HTMLTags.TAG_TD );\n \t\t\twriter.closeTag( HTMLTags.TAG_TR );\n \t\t\twriter.closeTag( HTMLTags.TAG_TABLE );\n \t\t}\n \t}", "private void setVerticalGridViewLayout(VerticalGridView listview) {\n listview.setItemAlignmentOffset(0);\n listview.setItemAlignmentOffsetPercent(VerticalGridView.ITEM_ALIGN_OFFSET_PERCENT_DISABLED);\n listview.setWindowAlignmentOffset(mContainerListAlignTop);\n listview.setWindowAlignmentOffsetPercent(VerticalGridView.WINDOW_ALIGN_OFFSET_PERCENT_DISABLED);\n listview.setWindowAlignment(VerticalGridView.WINDOW_ALIGN_NO_EDGE);\n }", "public void setAlign(String align) {\n this.align = align;\n }", "public VFlowLayout(int align) {\n this(align, 5, 5, true, false);\n }", "public int getAlignment() {\n/* */ return this.newAlign;\n/* */ }", "public float getLayoutAlignmentY(Container target) {\n return 0.5f;\n }", "TableSectionBuilder align(String align);", "public void onMirrorVertical() {\n mirror(TransformDesign.MIRROR_VERTICAL, 0.0f);\n }", "public float getLayoutAlignmentY(Container parent)\n\t{\n\t\treturn 0.5f;\n\t}", "public void handleCellAlign( ICellContent cell )\n \t{\n \t\t/*\n \t\t * in fireforx, the text-align is used by text item, it defines the\n \t\t * alignment of the content in the text item instead of the text item in\n \t\t * its container. we can put a text item with a width into the cell to\n \t\t * see the difference. We must use computeStyle as the text-align is not\n \t\t * inherited across the table.\n \t\t */\n \t\tIStyle cellStyle = cell.getComputedStyle( );\n \t\tCSSValue vAlign = cellStyle.getProperty( IStyle.STYLE_VERTICAL_ALIGN );\n \t\tif ( null == vAlign || IStyle.BASELINE_VALUE == vAlign )\n \t\t{\n \t\t\t// The default vertical-align value of cell is top.\n \t\t\tvAlign = IStyle.TOP_VALUE;\n \t\t}\n \t\twriter.attribute( HTMLTags.ATTR_VALIGN, vAlign.getCssText( ) );\n \t\thandleHorizontalAlign( cellStyle );\n \t}", "@Override\n public String getTextAlign() {\n return graphicsEnvironmentImpl.getTextAlign(canvas);\n }", "public void setVerticalMargin(int margin) {\n mLayoutManager.setVerticalMargin(margin);\n requestLayout();\n }", "public String getAlign() {\n return align;\n }", "public void setAlignment(int alignment) {\n writeline(\"/home/ubuntu/results/coverage/ZipArchiveEntry/ZipArchiveEntry_5_10.coverage\", \"0d789012-3f1e-4d4b-b335-4dd81825c6f2\");\n if ((alignment & (alignment - 1)) != 0 || alignment > 0xffff) {\n writeline(\"/home/ubuntu/results/coverage/ZipArchiveEntry/ZipArchiveEntry_5_10.coverage\", \"252dca05-27a1-4fd3-bd09-346445020cc4\");\n throw new IllegalArgumentException(\"Invalid value for alignment, must be power of two and no bigger than \" + 0xffff + \" but is \" + alignment);\n }\n writeline(\"/home/ubuntu/results/coverage/ZipArchiveEntry/ZipArchiveEntry_5_10.coverage\", \"a3b0ab7b-7be3-4be3-89fd-5fe6bd660d8c\");\n this.alignment = alignment;\n }", "public VerticalLayout(int vgap) {\r\n this(vgap, CENTER, TOP);\r\n }", "public static void setAlignment(Node child, FlowAlignment value) {\n setConstraint(child, ALIGNMENT, value);\n }", "public void setHorizontalAlignment(int horizontalAlignment)\n {\n field.setHorizontalAlignment(horizontalAlignment);\n }", "public int getAlignment()\n {\n return align;\n }", "public void setStatusAlign(String statusAlign) {\n\t\tthis.statusAlign = statusAlign;\n\t\thandleConfig(\"statusAlign\", statusAlign);\n\t}", "public boolean getAligning() {\n return aligning_;\n }", "public int getAlignment() {\r\n return Alignment;\r\n }", "public int getAlignment() {\r\n return Alignment;\r\n }", "private void setAlignParam(ConstTiltalignParam tiltalignParam) {\n if (dialog == null) {\n return;\n }\n dialog.setAngleOffset(tiltalignParam.getAngleOffset());\n dialog.setTiltAxisZShift(tiltalignParam.getAxisZShift());\n }", "private void baselineLayout(int origin, int size) {\n int ascent;\n int descent;\n if (baselineAnchoredToTop) {\n ascent = prefAscent;\n descent = size - ascent;\n } else {\n ascent = size - prefDescent;\n descent = prefDescent;\n }\n for (Spring spring : springs) {\n Alignment alignment = spring.getAlignment();\n if (alignment == null || alignment == Alignment.BASELINE) {\n int baseline = spring.getBaseline();\n if (baseline >= 0) {\n int springMax = spring.getMaximumSize(VERTICAL);\n int springPref = spring.getPreferredSize(VERTICAL);\n int height = springPref;\n int y;\n switch(spring.getBaselineResizeBehavior()) {\n case CONSTANT_ASCENT:\n y = origin + ascent - baseline;\n height = Math.min(descent, springMax -\n baseline) + baseline;\n break;\n case CONSTANT_DESCENT:\n height = Math.min(ascent, springMax -\n springPref + baseline) +\n (springPref - baseline);\n y = origin + ascent +\n (springPref - baseline) - height;\n break;\n default: // CENTER_OFFSET & OTHER, not resizable\n y = origin + ascent - baseline;\n break;\n }\n spring.setSize(VERTICAL, y, height);\n } else {\n setChildSize(spring, VERTICAL, origin, size);\n }\n } else {\n setChildSize(spring, VERTICAL, origin, size);\n }\n }\n }", "public void setAlignedSequence( Sequence alseq ) {\n\t\tthis.alignedsequence = alseq;\n\t\tif(alseq.id == null) alseq.id = id;\n\t\tif(seq != null) alseq.name = seq.getGroup();\n\t\tif(alseq.group == null) alseq.group = group;\n\t}", "public float getLayoutAlignmentY(Container target) {\n\t\treturn 0;\r\n\t}", "public Builder setAligning(boolean value) {\n bitField0_ |= 0x00000008;\n aligning_ = value;\n onChanged();\n return this;\n }", "public void setEventMarginVertical(int eventMarginVertical) {\n config.eventMarginVertical = eventMarginVertical;\n invalidate();\n }", "public final String getAlignAttribute() {\n return getAttributeValue(\"align\");\n }", "public short getHorizontalAlignment()\n {\n return halign;\n }", "public boolean getAligning() {\n return aligning_;\n }", "public VerticalAlignment getFacetLabelHoverVAlign() {\r\n return EnumUtil.getEnum(VerticalAlignment.values(), getAttribute(\"facetLabelHoverVAlign\"));\r\n }", "public KLabelMultiline(java.lang.String text, int horizontalAlignment, int verticalAlignment) {\n // TODO codavaj!!\n }", "void setMargin(float horizontalMargin, float verticalMargin) {\n mTn.mHorizontalMargin = horizontalMargin;\n mTn.mVerticalMargin = verticalMargin;\n }", "public void setValign(String valign) {\n this.valign = valign;\n }", "public void setCellAlign(Alignment cellAlign) {\r\n setAttribute(\"cellAlign\", cellAlign == null ? null : cellAlign.getValue(), true);\r\n }", "@Override\r\n protected void layout() {\n\r\n Check.setY(this.getHalfHeight() - Check.getHalfHeight());\r\n\r\n float asc = lblName.getFont().getDescent();\r\n\r\n lblName.setY(this.getHeight() - lblName.getHeight() + asc);\r\n lblName.setX(this.getLeftWidth());\r\n }", "private void numberDisplayAlignment() {\n numberDisplay.setAlignment(Pos.CENTER_RIGHT);\n numberDisplay.setPrefSize(20, 10);\n }", "public void setFacetValueHoverVAlign(VerticalAlignment facetValueHoverVAlign) {\r\n setAttribute(\"facetValueHoverVAlign\", facetValueHoverVAlign == null ? null : facetValueHoverVAlign.getValue(), true);\r\n }", "public Boolean isVertical() {\n return vertical;\n }", "public VerticalAlignment getFacetValueHoverVAlign() {\r\n return EnumUtil.getEnum(VerticalAlignment.values(), getAttribute(\"facetValueHoverVAlign\"));\r\n }", "public void setCenterY(double y) { centerY.set(clamp(y, Y_MIN, Y_MAX)); }", "public int getSwtAlignment() {\r\n return f_swtAlignment;\r\n }", "int getAlignValue();", "@Override\n\tpublic float getLayoutAlignmentY(Container target) {\n\t\treturn 0;\n\t}", "@Override\n\tprotected void initComplete() throws Exception\n\t{\n\t\tAlignment eViewAlignment =\n\t\t\tgetUIProperty(VERTICAL_ALIGN, aViewContentParam);\n\n\t\tif (eViewAlignment != null)\n\t\t{\n\t\t\tsetUIProperty(VERTICAL_ALIGN, eViewAlignment, aViewFragmentParam);\n\t\t}\n\t}", "@objid (\"7f09cb65-1dec-11e2-8cad-001ec947c8cc\")\n public boolean isVertical() {\n return this.vertical;\n }", "public void setCurrentHeight(final int currentHeight);", "boolean getAligning();", "public int getHorizontalAlignment() {\n return horizontalAlignment;\n }", "@Override\r\n\tpublic int getAlignmentSize() {\r\n\t\treturn getSize();\r\n\t}", "public void setCenteringY(boolean centeringY) {\r\n this.centeringY = centeringY;\r\n }", "public void setFacetLabelHoverVAlign(VerticalAlignment facetLabelHoverVAlign) {\r\n setAttribute(\"facetLabelHoverVAlign\", facetLabelHoverVAlign == null ? null : facetLabelHoverVAlign.getValue(), true);\r\n }", "private void updateLineHeight() {\n Text text = new Text(\"AM\");\n text.setFont(new Font(fontType, fontSize));\n lineHeight = round(text.getLayoutBounds().getHeight());\n }", "public float getLayoutAlignmentY(Container target) \n {\n\treturn (float)0.0;\n\t\n }", "public void alignTop() {\n\t\ttop.top();\n\t}", "public void setVerticalValue(double value)\n throws RemoteException, VisADException {\n super.setZPosition(value);\n }", "@Override\n\tpublic float getLayoutAlignmentY(final Container target) {\n\t\treturn 0;\n\t}", "public void setHorizontalTextAlignment(short value)\n {\n field_1_options = HorizontalTextAlignment.setShortValue(field_1_options, value);\n }", "public int getElementVerticalAlignmentBottom(WebDriver driver, String xpathLeft, String xpathRight) throws NumberFormatException, IOException {\n\t\tint Y = driver.findElement(By.xpath(xpathLeft)).getLocation().getY() + driver.findElement(By.xpath(xpathLeft)).getSize().getHeight();\n\t\tint y = driver.findElement(By.xpath(xpathRight)).getLocation().getY() + driver.findElement(By.xpath(xpathRight)).getSize().getHeight();\n\t\tint alignment = Math.abs(Y - y);\n\t\tfileWriterPrinter(\"\\n\" + \"VERTICAL ALIGNMENT = \" + alignment);\n\t\treturn alignment;\n\t\t}", "public ToolBarLayout(int align)\n {\n this(align, 5, 5);\n }", "public void setTopRight( final Control control, final int alignment ) {\n checkWidget();\n if( alignment != SWT.RIGHT && alignment != SWT.FILL ) {\n SWT.error( SWT.ERROR_INVALID_ARGUMENT );\n }\n if( control != null && control.getParent() != this ) {\n SWT.error( SWT.ERROR_INVALID_PARENT );\n }\n if( topRight != control || topRightAlignment != alignment ) {\n topRight = control;\n topRightAlignment = alignment;\n if( updateItems() ) {\n redraw();\n }\n }\n }" ]
[ "0.78337425", "0.6840677", "0.6808675", "0.6700951", "0.6662764", "0.6629932", "0.6615036", "0.6537403", "0.64749604", "0.64402866", "0.642877", "0.63151103", "0.6314933", "0.6296078", "0.62520623", "0.6211734", "0.6170883", "0.6158881", "0.61343956", "0.6109533", "0.60656214", "0.6020461", "0.60067886", "0.5996896", "0.59932023", "0.59777665", "0.59737265", "0.594292", "0.5822761", "0.57959306", "0.5712056", "0.5708249", "0.57023996", "0.5701247", "0.56881666", "0.5669744", "0.566055", "0.563011", "0.5612311", "0.5596", "0.55038834", "0.54822", "0.545993", "0.54561776", "0.5393076", "0.5389261", "0.53816754", "0.53616214", "0.53510344", "0.5326128", "0.5279732", "0.5277268", "0.5262507", "0.5242024", "0.52377313", "0.52056485", "0.5202657", "0.5188544", "0.5174264", "0.5174264", "0.5166401", "0.5162718", "0.51620907", "0.5161626", "0.51593876", "0.5158391", "0.5156404", "0.5147138", "0.5145398", "0.51184785", "0.51113605", "0.5111117", "0.51083374", "0.5095846", "0.5081883", "0.5075791", "0.50739753", "0.50491494", "0.5045219", "0.50151694", "0.50151277", "0.50142264", "0.5013031", "0.5011964", "0.5002507", "0.49994048", "0.49898982", "0.49849838", "0.49796602", "0.49786434", "0.4975893", "0.49596936", "0.49592507", "0.49448663", "0.49432808", "0.49403507", "0.49368292", "0.49353933", "0.4932182", "0.4924699" ]
0.73534536
1
Returns the format for the shape.
public RMFormat getFormat() { // Return format from first binding if(getBindingCount()>0) return (RMFormat)getBinding(0).getFormat(); // Return null return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Object getFormat();", "String getFormat();", "String getFormat();", "String getFormat();", "public RMFormat getFormat()\n {\n return getStyle().getFormat();\n }", "public String getFormat() {\n\t\treturn format;\n\t}", "FileFormat getFormat();", "public String getFormat() {\n return format;\n }", "public String getFormat() {\n return format;\n }", "public String getFormat() {\n return format;\n }", "public String getFormat()\n {\n return format;\n }", "com.google.protobuf.ByteString\n getFormatBytes();", "public String getFormat() {\r\n return _format;\r\n }", "public String format () {\n\t\treturn format;\n\t}", "public int getFormat()\n {\n return format;\n }", "public String getFormat() {\n\t\treturn formatString;\n\t}", "public String getFormat() {\n return this.format;\n }", "public String toString() {\n\t\t\treturn shape;\n\t\t}", "public String getFormat() {\n Object ref = format_;\n if (ref instanceof String) {\n return (String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n format_ = s;\n return s;\n }\n }", "public String getFormat() {\n/* 206 */ return getValue(\"format\");\n/* */ }", "public String getFormat() {\n Object ref = format_;\n if (!(ref instanceof String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n format_ = s;\n return s;\n } else {\n return (String) ref;\n }\n }", "public int getFormat ()\n {\n return this.format;\n }", "public Class<F> getFormatType() {\n\t\treturn formatType;\n\t}", "@Field(0) \r\n\tpublic ValuedEnum<DXGI_FORMAT> format() {\r\n\t\treturn this.io.getEnumField(this, 0);\r\n\t}", "public SurfaceFormat getFormat()\n\t{\n\t\treturn this._format;\n\t}", "public final AdFormat getFormat() {\n\t\treturn impl.getFormat();\n }", "public String getFormat() {\n\t\treturn getAttribute(FORMAT_TAG);\n\t}", "public Format getFormat()\n {\n return (formatControl == null) ? null : formatControl.getFormat();\n }", "Format internalGetFormat()\n {\n return doGetFormat();\n }", "public String whatShape();", "protected Format doGetFormat()\n {\n return null;\n }", "public DatasetStorageFormat format() {\n return this.innerTypeProperties() == null ? null : this.innerTypeProperties().format();\n }", "public String toStringShort() {\n\treturn AbstractFormatter.shape(this);\n}", "public String getShapeType(){\n\t\treturn shapeType;\n\t}", "public com.google.protobuf.ByteString\n getFormatBytes() {\n Object ref = format_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (String) ref);\n format_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "ImageFormat getFormat();", "ShapeType getShapeType();", "public String getFormat() throws Exception {\n\t\treturn doc.selectSingleNode(\"/metadataFieldInfo/field/@metaFormat\").getText();\n\t}", "public com.google.protobuf.ByteString\n getFormatBytes() {\n Object ref = format_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (String) ref);\n format_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "@UML(identifier=\"fileFormat\", obligation=MANDATORY, specification=ISO_19139)\n Format getFileFormat();", "public String getFileFormat()\r\n\t{\r\n\t\treturn this.getSerializer().getFileFormat();\r\n\t}", "public abstract String getImageFormat();", "public ImageFormatProperties getFormat() {\n return this.format;\n }", "String getOutputFormat();", "public int getFileShapeType() {\n return fileShapeType;\n }", "@Override\n public com.gensym.util.Symbol getFormatType() throws G2AccessException {\n java.lang.Object retnValue = getAttributeValue (SystemAttributeSymbols.FORMAT_TYPE_);\n return (com.gensym.util.Symbol)retnValue;\n }", "@Override\r\n public OwFormat getFormat()\r\n {\n return null;\r\n }", "public String toString() {\n\t\treturn String.format(\"Shape: %s,Color: %s\", shape, color);\n\t}", "String getValueFormat();", "public String getFormatDesign() {\n return (String)getAttributeInternal(FORMATDESIGN);\n }", "String documentFormat();", "public String getPresentationFormat()\n {\n return (String) getProperty(PropertyIDMap.PID_PRESFORMAT);\n }", "protected NumberFormat getFormat() {\n return this.format;\n }", "String getFormatter();", "public FormatOptions getFormatOptions() {\n return this.formatOptions;\n }", "NumberFormat getFormat() {\n\t\t\treturn fmt_result;\n\t\t}", "public Bitmap.CompressFormat getFormat() {\n return fullPhoto.getFormat();\n }", "public edu.umich.icpsr.ddi.FormatType getFormat()\n {\n synchronized (monitor())\n {\n check_orphaned();\n edu.umich.icpsr.ddi.FormatType target = null;\n target = (edu.umich.icpsr.ddi.FormatType)get_store().find_element_user(FORMAT$10, 0);\n if (target == null)\n {\n return null;\n }\n return target;\n }\n }", "@VTID(8)\r\n java.lang.String format();", "public default String getFormat() {\n return Constants.FORMAT_JSON;\n }", "protected String getDataFormat() {\n return this.dataFormat;\n }", "@Override\n public String getFormatName() throws IOException {\n return input == null? myDefaultFormat.getName() : getInfo().getFormat().getName();\n }", "public String getSupportFormat() {\r\n\t\treturn supportFormat;\r\n\t}", "String getShapeName();", "public ShapeType getShape() {\n\t\treturn this.shape;\n\t}", "@Override\n\tpublic KRRFormat format() {\n\t\treturn null;\n\t}", "public String toCodedString() {\n\t\t//System.out.println(toString());\n\t\treturn String.format(\"%s%s\", getColor().toInt(), getShape().toString());\n\t}", "public abstract String getOutputFormat();", "public String getFormatString() {\n\t\treturn formatString;\n\t}", "public String getFormatName()\n/* */ {\n/* 465 */ if (getClass() == JsonFactory.class) {\n/* 466 */ return \"JSON\";\n/* */ }\n/* 468 */ return null;\n/* */ }", "public String getFormato() {\n\t\treturn formato;\n\t}", "public String getLabelFormat() {\n\t\treturn this.labelFormat;\n\t}", "protected abstract String format();", "public int getPreviewFormat() {\n return pixelFormatForCameraFormat(get(\"preview-format\"));\n }", "public List<Format> getFormats();", "public AVT getFormat()\n {\n return m_format_avt;\n }", "public String formatTypeName()\r\n {\r\n return mFormatTypeName;\r\n }", "@ApiModelProperty(required = true, value = \"The file type of the file.\")\n public String getFormat() {\n return format;\n }", "public String getFormatCode() {\n if (format == null) return \"MP4\";\n switch(format) {\n case \"Windows Media\": return \"WMV\";\n case \"Flash Video\": return \"FLV\";\n case \"MPEG-4\": return \"MP4\";\n case \"Matroska\": return \"MKV\";\n case \"AVI\": return \"AVI\";\n default: return \"MP4\";\n }\n }", "public String getFormat()\r\n\t{\r\n\t\treturn (String) queryParams.get(FMT_JSON);\r\n\t}", "public boolean isFormat() {\n\t\treturn isFormat;\n\t}", "public String getDocumentFormat() {\n return this.documentFormat;\n }", "@Field(0) \n\tpublic int format() {\n\t\treturn this.io.getIntField(this, 0);\n\t}", "private RouteFormatter getTravelFormat(){\n \t\n \tint format = jComboBoxFormat.getSelectedIndex();\n \tif(format == 0){\n \t\treturn new DrivingRouteFormatter();\n \t}else if(format == 1){\n \t\treturn new WalkingRouteFormatter();\n \t}\n \treturn null;\n }", "public String getDataFormatPattern() {\r\n return dataFormatPattern;\r\n }", "public Format getBestFormat() {\n\t\tif (formats.contains(Format.JSON)) {\n\t\t\treturn Format.JSON;\n\t\t}\n\t\tif (formats.contains(Format.XML)) {\n\t\t\treturn Format.XML;\n\t\t}\n\t\treturn null;\n\t}", "public Format getOutputFormat() {\n return outputFormat;\n }", "public String getFormatOfRecords() {\n\t\tString t = doc.get(\"formatofrecords\");\n\n\t\tif (t == null) {\n\t\t\treturn \"\";\n\t\t} else {\n\t\t\treturn t;\n\t\t}\n\t}", "public DataFormat createDataFormat() {\n\t\treturn null;\n\t}", "public int getPictureFormat() {\n return pixelFormatForCameraFormat(get(\"picture-format\"));\n }", "public Class<? extends FormatFeature> getFormatWriteFeatureType()\n/* */ {\n/* 426 */ return null;\n/* */ }", "public int getAlFormat()\n {\n return alFormat;\n }", "public String getFormatString() {\r\n if (format == null) { return \"\"; }\r\n if (format.equals(ImportQueueItem.FORMAT_TAB)) {\r\n return FORMAT_TAB_DISPLAY;\r\n } else if (format.equals(ImportQueueItem.FORMAT_XML)) {\r\n return FORMAT_XML_DISPLAY;\r\n } else if (format.equals(ImportQueueItem.FORMAT_DISCOURSE)) {\r\n return FORMAT_DISCOURSE_DISPLAY;\r\n } else {\r\n return format + \" format\";\r\n }\r\n }", "public int getDisplayFormat() {\r\n return insertMode ? 0 : intValue(CONTACTS_DISPLAY_FORMAT);\r\n }", "@Override\r\n\tpublic String getFormat() {\r\n\t\treturn \"properties\";\r\n\t}", "public static String getFormatsPrettyPrint() {\n return formatsPrettyPrint;\n }", "public AudioFormat getFormat() {\n return format;\n }", "public Format getInputFormat() {\n return inputFormat;\n }", "public abstract String getFileFormatName();", "public AudioFormat getFormat() throws AudioSourceException {\n if (format==null){\n AudioInputStream dummyStream=getAudioInputStream();\n try {\n dummyStream.close();\n } catch (IOException e) {\n throw new AudioSourceException(e);\n }\n }\n \n\t\treturn format;\n\t}" ]
[ "0.7606493", "0.7185847", "0.7185847", "0.7185847", "0.713266", "0.7071527", "0.70194596", "0.69975966", "0.69975966", "0.69975966", "0.6994695", "0.696918", "0.6947741", "0.68820155", "0.68746275", "0.6856784", "0.68479246", "0.6845751", "0.6811666", "0.67895234", "0.6761255", "0.67264056", "0.6679491", "0.6659017", "0.66572315", "0.66510165", "0.6614301", "0.6606906", "0.66017574", "0.6593901", "0.65331465", "0.6493373", "0.64904195", "0.6488944", "0.64870644", "0.64750415", "0.64575416", "0.64493823", "0.64298934", "0.64159507", "0.6401028", "0.6392491", "0.63906056", "0.63485354", "0.6344706", "0.633864", "0.633085", "0.62884784", "0.6287234", "0.62649715", "0.62520736", "0.6250171", "0.6233362", "0.6231051", "0.61979586", "0.61796665", "0.61755353", "0.6149329", "0.6144184", "0.61200696", "0.61079353", "0.6090709", "0.6076214", "0.60711926", "0.604693", "0.60451156", "0.60392565", "0.6035876", "0.60350615", "0.6031878", "0.6023855", "0.6018274", "0.5994009", "0.5992122", "0.59744155", "0.59726244", "0.5964757", "0.59552354", "0.5954112", "0.5952014", "0.5951397", "0.5946504", "0.5945388", "0.5942934", "0.5928602", "0.5926035", "0.5912627", "0.5891719", "0.5886339", "0.585474", "0.5827222", "0.58128", "0.58089167", "0.5806261", "0.57923895", "0.5783803", "0.57818407", "0.57600486", "0.57549375", "0.57541144" ]
0.66892016
22
Sets the format for the shape.
public void setFormat(RMFormat aFormat) { // Add format to first binding if((aFormat==null || aFormat instanceof java.text.Format) && getBindingCount()>0) getBinding(0).setFormat((java.text.Format)aFormat); // Pass down to children for(int i=0, iMax=getChildCount(); i<iMax; i++) getChild(i).setFormat(aFormat); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setFormat(Format format) {\n this.format = format.getIndex();\n }", "public void setFormat(edu.umich.icpsr.ddi.FormatType format)\n {\n synchronized (monitor())\n {\n check_orphaned();\n edu.umich.icpsr.ddi.FormatType target = null;\n target = (edu.umich.icpsr.ddi.FormatType)get_store().find_element_user(FORMAT$10, 0);\n if (target == null)\n {\n target = (edu.umich.icpsr.ddi.FormatType)get_store().add_element_user(FORMAT$10);\n }\n target.set(format);\n }\n }", "public void setFormat(String format) {\r\n _format = format;\r\n }", "public void setFormat(ChartFormat chartFormat) {\n // check for null pointer\n if( chartFormat == null) {\n // error ..\n eHandler.newError(ErrorType.NULL_ARGUMENT, \"setFormat\");\n\n // exit from method\n return;\n } // end of if statement\n\n // set the format\n format = new ChartFormat(chartFormat);\n\n // force repaint of the window to update it\n repaint();\n\n }", "public void setFormat(String format) {\n this.format = format;\n }", "public void setFormat(String format) {\n this.format = format;\n }", "public void setFormat(String format) {\n this.format = format;\n }", "void setFormat(ImageFormat format);", "public void setFormat(Connector connector, Format format);", "protected Format doSetFormat(Format format)\n {\n return null;\n }", "public void setOutputFormat(OutputFormat format);", "public final void setFormat(AdFormat format) {\n\t\timpl.setFormat(format);\n }", "public void setFormat(String fmt)\n {\n format = fmt;\n }", "public abstract void setImageFormat(String format);", "public void setShape(ShapeType shape) {\n\t\tthis.shape = shape;\n\t}", "Format internalSetFormat(Format format)\n {\n return doSetFormat(format);\n }", "public void setShapeType(ShapeType shapeType) {\n }", "public void setShape(short shape) throws IOException\n\t{\n\t\tif ((__io__pointersize == 8)) {\n\t\t\t__io__block.writeShort(__io__address + 2, shape);\n\t\t} else {\n\t\t\t__io__block.writeShort(__io__address + 2, shape);\n\t\t}\n\t}", "public void setFormat(String value) {\n/* 198 */ setValue(\"format\", value);\n/* */ }", "public void setFormat(final NumberFormat f) {\r\n format = f;\r\n }", "public void setFormatOptions(FormatOptions formatOptions) {\n this.formatOptions = formatOptions;\n }", "public void setShape(Info shape) {\n \n }", "@Override\n public void setFormat(Format format) {\n if (format != Format.XML)\n throw new IllegalArgumentException(\"JAXBHandle supports the XML format only\");\n }", "public ImageProperties setFormat(ImageFormatProperties format) {\n this.format = format;\n return this;\n }", "public Format setInputFormat(Format input) {\n inputFormat = input;\n return input;\n }", "@Field(0) \r\n\tpublic D2D1_PIXEL_FORMAT format(ValuedEnum<DXGI_FORMAT> format) {\r\n\t\tthis.io.setEnumField(this, 0, format);\r\n\t\treturn this;\r\n\t}", "public void setDataFormat(String dataFormat) {\n this.dataFormat = dataFormat;\n }", "@Override\n public Format setOutputFormat(Format format)\n {\n Format outputFormat = super.setOutputFormat(format);\n \n if (logger.isDebugEnabled() && (outputFormat != null))\n logger.debug(\"SwScaler set to output in \" + outputFormat);\n return outputFormat;\n }", "public void setFillStyle(STYLE style);", "public void setFormats(Vector<String> formats) {\n\t\tthis.formats = formats;\n\t}", "void setShape(IReadableShape shape) {\n keyframes.clear();\n if (!Objects.isNull(shape)) {\n this.shape = shape;\n this.updateKeyframes();\n }\n this.resetFrameList();\n\n }", "public synchronized void setAudioFormat(AudioFormat format) {\n currentFormat = format;\n }", "@Field(0) \n\tpublic AVBufferSrcParameters format(int format) {\n\t\tthis.io.setIntField(this, 0, format);\n\t\treturn this;\n\t}", "public void setCustomFormat(CSVCustomFormat format) {\n Log.d(TAG,\"setCustomFormat \"+format.getFormat().hashCode() + \" \"+getCustomFormatData().getFormat().hashCode());\n if(!format.equals(getCustomFormatData())) {\n Log.d(TAG,\"New Format\");\n csvCustomFormat.setValue(format);\n }\n }", "public void setShape(String shape)\n\t{\n \t \n \tlength.setVisible(false); \n \twidth.setVisible(false); \n \theight.setVisible(false); \n \tradius.setVisible(false); \n \tradius2.setVisible(false); \n \troll.setVisible(false); \n \tpitch.setVisible(false); \n \tyaw.setVisible(false); \n \tquality.setVisible(false); \n \tsides.setVisible(false);\n \t\n \tlengthText.setVisible(false); \n \twidthText.setVisible(false); \n \theightText.setVisible(false); \n \tradiusText.setVisible(false); \n \tradius2Text.setVisible(false); \n \trollText.setVisible(false); \n \tpitchText.setVisible(false); \n \tyawText.setVisible(false); \n \tqualityText.setVisible(false); \n \tsidesText.setVisible(false);\n \t\n\t\tif(shape.equals(\"Cube\"))\n \t{\n \t\tlengthText.setVisible(true);\n \t\tlength.setVisible(true);\n \t\twidthText.setVisible(true);\n \t\twidth.setVisible(true);\n \t\theightText.setVisible(true);\n \t\theight.setVisible(true);\n \t\trollText.setVisible(true);\n \t\troll.setVisible(true);\n \t\tpitchText.setVisible(true);\n \t\tpitch.setVisible(true);\n \t\tyawText.setVisible(true);\n \t\tyaw.setVisible(true);\n \t\t\n \t\tlength.setText(\"1\");\n \t\twidth.setText(\"1\");\n \t\theight.setText(\"1\");\n \t\troll.setText(\"0\");\n \t\tpitch.setText(\"0\");\n \t\tyaw.setText(\"0\");\n \t}\n \telse if(shape.equals(\"Sphere\"))\n \t{\n \t\tradiusText.setVisible(true);\n \t\tradius.setVisible(true);\n \t\tqualityText.setVisible(true);\n \t\tquality.setVisible(true);\n \t\t\n \t\tradius.setText(\"1\");\n \t\tquality.setText(\"15\");\n \t}\n \telse if(shape.equals(\"Prism\"))\n \t{\n \t\theightText.setVisible(true);\n \t\theight.setVisible(true);\n \t\tradiusText.setVisible(true);\n \t\tradius.setVisible(true);\n \t\tsidesText.setVisible(true);\n \t\tsides.setVisible(true);\n \t\trollText.setVisible(true);\n \t\troll.setVisible(true);\n \t\tpitchText.setVisible(true);\n \t\tpitch.setVisible(true);\n \t\tyawText.setVisible(true);\n \t\tyaw.setVisible(true);\n \t\t\n \t\theight.setText(\"1\");\n \t\tradius.setText(\"1\");\n \t\tsides.setText(\"4\");\n \t\troll.setText(\"0\");\n \t\tpitch.setText(\"0\");\n \t\tyaw.setText(\"0\");\n \t\t\n \t}\n \telse if(shape.equals(\"Cylinder\"))\n \t{\n \t\theightText.setVisible(true);\n \t\theight.setVisible(true);\n \t\tradiusText.setVisible(true);\n \t\tradius.setVisible(true);\n \t\trollText.setVisible(true);\n \t\troll.setVisible(true);\n \t\tpitchText.setVisible(true);\n \t\tpitch.setVisible(true);\n \t\t//yawText.setVisible(true);\n \t\t//yaw.setVisible(true);\n \t\t\n \t\theight.setText(\"1\");\n \t\tradius.setText(\"1\");\n \t\troll.setText(\"0\");\n \t\tpitch.setText(\"0\");\n \t\t//yaw.setText(\"0\");\n \t}\n \telse if(shape.equals(\"Torus\"))\n \t{\n \t\tradiusText.setVisible(true);\n \t\tradius.setVisible(true);\n \t\tradius2Text.setVisible(true);\n \t\tradius2.setVisible(true);\n \t\tqualityText.setVisible(true);\n \t\tquality.setVisible(true);\n \t\trollText.setVisible(true);\n \t\troll.setVisible(true);\n \t\tpitchText.setVisible(true);\n \t\tpitch.setVisible(true);\n \t\tyawText.setVisible(true);\n \t\tyaw.setVisible(true);\n \t\t\n \t\tradius.setText(\"1\");\n \t\tradius2.setText(\"2\");\n \t\tquality.setText(\"15\");\n \t\troll.setText(\"0\");\n \t\tpitch.setText(\"0\");\n \t\tyaw.setText(\"0\");\n \t}\n \t\n\t}", "public void setShape( final FireShapes shape ) {\r\n\t\tthis.shape = shape;\r\n\t}", "public FormattedCellRenderer(Format format) {\r\n this.format = format;\r\n }", "public void set_standard_format () {\n\t\tf_friendly_format = false;\n\n\t\tmainshock_time = 0L;\n\t\tmainshock_mag = 0.0;\n\t\tmainshock_lat = 0.0;\n\t\tmainshock_lon = 0.0;\n\t\tmainshock_depth = 0.0;\n\n\t\treturn;\n\t}", "public void setFormat(String format) {\n\t\tString contents = getText().trim();\n\t\tdouble value = 0;\n\t\tif (contents.length() != 0) {\n\t\t\ttry {\n\t\t\t\tvalue = parser.parse(contents).doubleValue();\n\t\t\t} catch (ParseException ex) {\n\t\t\t\tthrow new ErrorException(ex);\n\t\t\t}\n\t\t}\n\t\tformatString = format;\n\t\tif (format == null) {\n\t\t\tformatter = null;\n\t\t\tparser = NumberFormat.getNumberInstance(Locale.US);\n\t\t} else {\n\t\t\tformatter = (format.length() == 0) ? new DecimalFormat() : new DecimalFormat(format);\n\t\t\tparser = formatter;\n\t\t}\n\t\tif (contents.length() != 0) {\n\t\t\tsetValue(value);\n\t\t}\n\t}", "public void setShapeMode(int _shapeMode) {\n\t\tshapeMode = _shapeMode;\n\t}", "public String getFormat() {\n\t\treturn format;\n\t}", "@Override\r\n\tpublic void setAudioFormat(AudioFormat format) {\r\n\r\n\t}", "public void setMarshalDateFormat (String format) {\n\t\tthis.outFormat = format;\n }", "void setOutputFormat(String outputFormat);", "public void setFormat(String value) \r\n\t{\r\n\t\tformatString = value;\r\n\t}", "public void setDisplayingFormat(String format){\n\t\tthis.currentShowingMode = format;\n\t}", "FileFormat getFormat();", "public Dataset withFormat(InputFormat format) {\n this.format = format.toString();\n return this;\n }", "public Builder clearFormat() {\n \n format_ = getDefaultInstance().getFormat();\n onChanged();\n return this;\n }", "public void setFormat(AVT v)\n {\n m_format_avt = v;\n }", "@ApiModelProperty(required = true, value = \"The file type of the file.\")\n public String getFormat() {\n return format;\n }", "protected void setShape(Shape shape) {\n\t\tif (shape != null) {\n\t\t\t_shape = shape;\n\t\t\tthis.setLocation(shape.getLocation());\n\t\t\tthis.setDimensions(shape.getDimensions());\n\t\t}\n\t}", "public Format setOutputFormat(Format output) {\n outputFormat = output;\n return output;\n }", "private native static int shout_set_format(long shoutInstancePtr, int format);", "@Override\r\n public void setShape (Shape shape,\r\n double grade)\r\n {\r\n// // Check status\r\n// if (glyph.isTransient()) {\r\n// logger.error(\"Setting shape of a transient glyph\");\r\n// }\r\n\r\n // Blacklist the old shape if any\r\n Shape oldShape = getShape();\r\n\r\n if ((oldShape != null) && (oldShape != shape)\r\n && (oldShape != Shape.GLYPH_PART)) {\r\n forbidShape(oldShape);\r\n\r\n if (glyph.isVip()) {\r\n logger.info(\"Shape {} forbidden for {}\",\r\n oldShape, glyph.idString());\r\n }\r\n }\r\n\r\n if (shape != null) {\r\n // Remove the new shape from the blacklist if any\r\n allowShape(shape);\r\n }\r\n\r\n // Remember the new shape\r\n evaluation = new Evaluation(shape, grade);\r\n\r\n if (glyph.isVip()) {\r\n logger.info(\"{} assigned {}\", glyph.idString(), evaluation);\r\n }\r\n }", "private void setGeometry() {\n GeometryDescriptor geomDesc = featureSource.getSchema().getGeometryDescriptor();\n geometryAttributeName = geomDesc.getLocalName();\n\n Class<?> clazz = geomDesc.getType().getBinding();\n\n if (Polygon.class.isAssignableFrom(clazz) || MultiPolygon.class.isAssignableFrom(clazz)) {\n geometryType = GeomType.POLYGON;\n\n } else if (LineString.class.isAssignableFrom(clazz)\n || MultiLineString.class.isAssignableFrom(clazz)) {\n\n geometryType = GeomType.LINE;\n\n } else {\n geometryType = GeomType.POINT;\n }\n}", "public Builder setFormat(\n String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n format_ = value;\n onChanged();\n return this;\n }", "public native void setMagick(String imageFormat) throws MagickException;", "public String getFormat() {\n return format;\n }", "public String getFormat() {\n return format;\n }", "public String getFormat() {\n return format;\n }", "public void m7902a(int format) {\n this.f6691d = format;\n }", "public String getFormat() {\r\n return _format;\r\n }", "public ImageWriterSVG(String format)\n\t{\n\t\tif (!(\"svg\".equals(format) || \"svgz\".equals(format)))\n\t\t{\n\t\t\tthrow new IllegalArgumentException(\"format \" + format + \" is not accepted by this ImageWriter\");\n\t\t}\n\t\t\n\t\tacceptedFormat = format;\n\t}", "public void setDateFormat(String format) {\n dateFormat = format;\n constructVssDateTimeFormat();\n }", "public void setOnClickDisplayFormat(int format){\n \t\tthis.displayFormat = format;\n \t}", "@Override\r\n public void setShape (Shape shape)\r\n {\r\n setShape(shape, Evaluation.ALGORITHM);\r\n }", "public Class<F> getFormatType() {\n\t\treturn formatType;\n\t}", "public void shapeMode(int mode) {\n\t\tthis.shapeMode = mode;\n\n\t\tswitch (mode) {\n\t\tcase (POINTS):\n\t\t\tDebug.info(\"Jay3dModel\",\"draw mode:\\t\\tPOINTS\");\n\t\tbreak;\n\n\t\tcase (LINES):\n\t\t\tDebug.info(\"Jay3dModel\",\"draw mode:\\t\\tLINES\");\n\t\tbreak;\n\n\t\tcase (POLYGON):\n\t\t\tDebug.info(\"Jay3dModel\",\"draw mode:\\t\\tPOLYGON\");\n\t\tbreak;\n\n\t\tcase (TRIANGLES):\n\t\t\tDebug.info(\"Jay3dModel\",\"draw mode:\\t\\tTRIANGLES\");\n\t\tbreak;\n\n\t\tcase (TRIANGLE_STRIP):\n\t\t\tDebug.info(\"Jay3dModel\",\"draw mode:\\t\\tTRIANGLE_STRIP\");\n\t\tbreak;\n\n\t\tcase (QUADS):\n\t\t\tDebug.info(\"Jay3dModel\",\"draw mode:\\t\\tQUADS\");\n\t\tbreak;\n\n\t\tcase (QUAD_STRIP):\n\t\t\tDebug.info(\"Jay3dModel\",\"draw mode:\\t\\t\");\n\t\tbreak;\n\t\t}\n\t}", "public void setDataFormatPattern(String dataFormatPattern) {\r\n this.dataFormatPattern = dataFormatPattern;\r\n }", "public void addFormat(Format format);", "public void setShape(Shape shape) {\n validateShape(shape);\n\n this.shape = shape;\n this.shape.calculate();\n initializeScroller();\n resetScroll();\n }", "public void setInputFormat(String inputFormat) {\n this.inputFormat = inputFormat;\n }", "public String getFormat() {\n return this.format;\n }", "public void setType(ShapeType ty) {\n\t\t\ttype.set(ty);\n\t\t}", "Object getFormat();", "public String getFormat()\n {\n return format;\n }", "public void setSupportFormat(String supportFormat) {\r\n\t\tthis.supportFormat = supportFormat;\r\n\t}", "public void setPreviewFormat(int pixel_format) {\n String s = cameraFormatForPixelFormat(pixel_format);\n if (s == null) {\n throw new IllegalArgumentException();\n }\n\n set(\"preview-format\", s);\n }", "public void setNumberFormat(NumberFormat numberFormat) {\n this.numberFormat = numberFormat;\n\n if (numberFormat instanceof DecimalFormat) {\n symbols = ((DecimalFormat) numberFormat).getDecimalFormatSymbols();\n } else {\n symbols = new DecimalFormatSymbols();\n }\n }", "@Override\n public Format setInputFormat(Format format)\n {\n Format inputFormat\n = ((format instanceof VideoFormat)\n && (((VideoFormat) format).getSize() == null))\n ? null // size is required\n : super.setInputFormat(format);\n \n if (logger.isDebugEnabled() && (inputFormat != null))\n logger.debug(\"SwScaler set to input in \" + inputFormat);\n return inputFormat;\n }", "@Field(0) \r\n\tpublic ValuedEnum<DXGI_FORMAT> format() {\r\n\t\treturn this.io.getEnumField(this, 0);\r\n\t}", "public void setDocumentFormat(DocumentFormat documentFormat) {\n withDocumentFormat(documentFormat);\n }", "public int getFormat()\n {\n return format;\n }", "@Override\n\tpublic void setPaintType(int type) {\n\t\tthis.shapeType = type;\n\t}", "protected void setLineType(int style) {\r\n\t\tif (primaryShape instanceof Shape) {\r\n\t\t\t((Shape) primaryShape).setLineStyle(style);\r\n\t\t}\r\n\t}", "public String getFormat() {\n\t\treturn formatString;\n\t}", "public int getFormat ()\n {\n return this.format;\n }", "protected abstract void setShapes();", "public void setStrokeStyle(STYLE style);", "public void setFormato(String formato) {\n\t\tthis.formato = formato;\n\t}", "public RMFormat getFormat()\n {\n return getStyle().getFormat();\n }", "public void assignMediaType(Shape shape, Graph graph) {\r\n\t\tString mediaTypeName = mediaTypeNamer.baseMediaTypeName(shape);\r\n\t\tLiteral literal = new KonigLiteral(mediaTypeName);\r\n\t\tgraph.edge(shape.getId(), Konig.mediaTypeBaseName, literal);\r\n\t}", "public void assignShape() {\n\t\t\n\t}", "public void setDateFormat(String format) {\n this.mDateFormat = format;\n }", "public void setShape(ChamberShape theShape) {\n mySize = theShape;\n setExits();\n }", "private void setShape(ChamberShape theShape) {\n mySize = theShape;\n createDoorsFromExits();\n }", "public void setShape(Shape shape) {\n\tthis.shape = shape;\n\n\tPathIterator p = shape.getPathIterator(new AffineTransform());\n\t\t\n\tFlatteningPathIterator fp = new FlatteningPathIterator(p, flatness);\n\t\t\n\tpath.clear();\n\twhile(!fp.isDone()) {\n\t double[] farr = new double[6];\n\t int type = fp.currentSegment(farr);\n\t\t \n\t if (type == PathIterator.SEG_MOVETO || type == PathIterator.SEG_LINETO) {\n\t\tpath.add(new Point2D.Double(farr[0],farr[1]));\n\t }\n\t if (type == PathIterator.SEG_QUADTO) {\n\t\tfor(int i=0; i<2; i++) {\n\t\t path.add(new Point2D.Double(farr[0],farr[1]));\n\t\t}\n\t }\n\t if (type == PathIterator.SEG_CUBICTO) {\n\t\tfor(int i=0; i<3; i++) {\n\t\t path.add(new Point2D.Double(farr[2*i],farr[2*i+1]));\n\t\t}\n\t }\n\t fp.next();\n\t}\n }", "public void setDefaultNumberFormat(NumberFormat format)\n {\n valueRenderer.defaultNumberFormat = format;\n }", "@Override\n public void setFillStyle(Style style) {\n Object nativeFillStyle = graphicsEnvironmentImpl.setFillStyle(canvas, style, style.getCached());\n style.cache(nativeFillStyle);\n }" ]
[ "0.71468216", "0.67867345", "0.67712426", "0.66651976", "0.6590041", "0.6590041", "0.6590041", "0.65727013", "0.65520674", "0.6477129", "0.6470212", "0.64389765", "0.64252746", "0.64007765", "0.6297802", "0.62822545", "0.62804127", "0.6222832", "0.6209458", "0.61793834", "0.61461484", "0.61269796", "0.6111905", "0.60599023", "0.60326105", "0.6024228", "0.59297156", "0.5840802", "0.5829769", "0.5818453", "0.58160913", "0.57914555", "0.5787518", "0.57799196", "0.57743347", "0.57660663", "0.5764743", "0.57609004", "0.5703638", "0.5696929", "0.5686508", "0.5683479", "0.5625999", "0.5624462", "0.5611553", "0.5601902", "0.55780613", "0.5577477", "0.5577023", "0.55645335", "0.5548677", "0.5542354", "0.55372566", "0.5532562", "0.5527766", "0.5517556", "0.55091274", "0.5505037", "0.5504529", "0.5504529", "0.5504529", "0.55032915", "0.5490127", "0.54744726", "0.5427816", "0.5425557", "0.5424687", "0.5422594", "0.54211885", "0.5419206", "0.5414261", "0.5412732", "0.53947574", "0.5393652", "0.53904706", "0.53857255", "0.5379031", "0.5374354", "0.5369135", "0.53668725", "0.5366559", "0.53572226", "0.5355633", "0.5350703", "0.5346327", "0.530852", "0.52968943", "0.5293735", "0.52848446", "0.52763504", "0.52735704", "0.5271815", "0.52654994", "0.526253", "0.52575326", "0.5247162", "0.52247363", "0.52237785", "0.52224433", "0.51884115" ]
0.6543177
9
Adds a deep change listener to shape to listen for shape changes and property changes received by shape.
public void addDeepChangeListener(DeepChangeListener aListener) { addListener(DeepChangeListener.class, aListener); // Add listener if(getListenerCount(DeepChangeListener.class)==1) // If first listener, add for children for(int i=0, iMax=getChildCount(); i<iMax; i++) { RMShape child = getChild(i); child.addPropertyChangeListener(this); child.addDeepChangeListener(this); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void propertyChange(PropertyChangeEvent anEvent)\n{\n // Get DeepChangeListener count (just return if zero)\n int deepListenerCount = getListenerCount(DeepChangeListener.class); if(deepListenerCount==0) return;\n \n // If change is fill/stroke, convert property name to \"Fill.xxx\" or \"Stroke.xxx\" for the sake of animation\n if(anEvent.getSource() instanceof RMFill) {\n Object source = anEvent.getSource();\n String prefix = source==getFill()? \"Fill\" : source==getStroke()? \"Stroke\" : null;\n String propertyName = prefix + \".\" + anEvent.getPropertyName();\n anEvent = new PropertyChangeEvent(this, propertyName, anEvent.getOldValue(), anEvent.getNewValue());\n repaint();\n }\n \n // Propagate to this shape's DeepChangeListeners (if present)\n for(int i=0, iMax=getListenerCount(DeepChangeListener.class); i<iMax; i++)\n getListener(DeepChangeListener.class, i).deepChange(this, anEvent);\n}", "public interface ShapeListener {\n\tvoid shapeChanged(Shape shape);\n}", "public void deepChange(PropertyChangeListener aListener, PropertyChangeEvent anEvent)\n{\n for(int i=0, iMax=getListenerCount(DeepChangeListener.class); i<iMax; i++)\n getListener(DeepChangeListener.class, i).deepChange(aListener, anEvent);\n}", "@Override\n\tpublic void update(ShapeModelEvent event) {\n\t\t\n\t\tShapeModel source = event.source();\n\t\t\n\t\tint[] childIndices = new int[1];\n\t\tchildIndices[0] = event.index();\n\t\t\n\t\tShape[] children = new Shape[1];\n\t\tchildren[0] = event.operand();\n\t\t\n\t\t\n\t\t\n\t\tif(event.eventType().equals(EventType.ShapeAdded)){\n\t\t\tTreeModelEvent treeModelEvent = new TreeModelEvent(source, event.parent().path().toArray(), childIndices, children);\n\t\t\tfireTreeNodesInserted(treeModelEvent);\n\t\t\t\n\t\t}else if(event.eventType().equals(EventType.ShapeRemoved)){\n\t\t\tTreeModelEvent treeModelEvent = new TreeModelEvent(source, event.parent().path().toArray(), childIndices, children);\n\t\t\tfireTreeNodesRemoved(treeModelEvent);\n\t\t}\n\t\t\n\t}", "public void structureChanged(GraphEvent e);", "public void setShape( final FireShapes shape ) {\r\n\t\tthis.shape = shape;\r\n\t}", "public @Override void changedUpdate(DocumentEvent e, Shape a, ViewFactory f) {\n if (children == null && getParent() == null) {\n return;\n }\n \n super.changedUpdate(e, a, f);\n }", "@Override\n\tpublic void addGraphChangeListener(GraphChangeListener<N, ET> listener)\n\t{\n\t\tgcs.addGraphChangeListener(listener);\n\t}", "private void updateListener() {\n \n if(resizeListener != null) {\n s.heightProperty().removeListener(resizeListener);\n s.widthProperty().removeListener(resizeListener);\n }\n \n resizeListener = (observable, oldValue, newValue) -> {\n listeners.forEach((r) -> r.onResize());\n };\n \n s.heightProperty().addListener(resizeListener);\n s.widthProperty().addListener(resizeListener);\n }", "protected void initModifiedListeners()\n\t{\n\t\tif (path != null)\n\t\t{\n\t\t\tpath.addModifiedListener(this);\n\t\t}\n\t}", "private void addBindingAndListener() {\n // When the simulation has more than one time of simulation this property change the selected element\n // of time series.\n this.changeListener = (observable, oldValue, newValue) -> {\n if (newValue instanceof Component) { // IS LINK OR NODE\n Component comp = (Component) newValue;\n idTextField.setText(comp.getId());\n }\n };\n this.selectableItem.addListener(changeListener);\n }", "@Override\n\t\t\tpublic void onChanged(ListChangeListener.Change<? extends PR1Model.Shape> e) { \n\t\t\t\t\n\t\t\t\trepaint(); \n\t\t\t\treTable();\n\t\t\t\tviewState.set(ViewState.MODIFIED);\n\t\t\t\t\n\t\t\t}", "@Override\n public void setOnHierarchyChangeListener(OnHierarchyChangeListener listener) {\n mPassThroughListener.mOnHierarchyChangeListener = listener;\n }", "public void mouseDragged(RMShapeMouseEvent anEvent)\n{\n // Iterate over mouse motion listeners and forward\n for(int i=0, iMax=getListenerCount(RMShapeMouseListener.class); i<iMax; i++)\n getListener(RMShapeMouseListener.class, i).mouseDragged(anEvent);\n}", "protected void addWidgetShapeChangeHandler()\n {\n AlertHandler widgetTitleChangeHandler =\n new AlertHandler() {\n\n public void handleAlert(EventObject alert)\n {\n FrameUIModel.WidgetTitleChange chg =\n (FrameUIModel.WidgetTitleChange) alert;\n\n // chg.widget may be the remote label of the currently\n // selected widget\n if (selection.getElementSelectionCount() == 1) {\n FrameElement elt =\n selection.getSelectedIFrameElements()[0];\n\n if (chg.widget == elt.getAttribute(WidgetAttributes.REMOTE_LABEL_ATTR))\n {\n view.setRemoteLabelText(chg.widget.getTitle());\n }\n }\n }\n };\n\n frameUI.addHandler(this,\n FrameUIModel.WidgetTitleChange.class,\n widgetTitleChangeHandler);\n\n AlertHandler widgetShapeChangeHandler =\n new AlertHandler() {\n\n public void handleAlert(EventObject alert)\n {\n delayedRepainting.requestRepaint(SHAPE_CHANGE_REPAINT);\n // a FULL repaint is probably not needed\n }\n };\n\n frameUI.addHandler(this,\n FrameUIModel.WidgetShapeImageChange.class,\n widgetShapeChangeHandler);\n\n AlertHandler widgetGroupChangeHandler =\n new AlertHandler() {\n\n public void handleAlert(EventObject alert)\n {\n FrameUIModel.WidgetGroupChange evt =\n (FrameUIModel.WidgetGroupChange) alert;\n\n if (evt.isAdd) {\n GraphicalWidget<?> gw =\n frameUI.getWidgetFigure(evt.widget);\n\n delayedWidgetSelection.addToSelection(evt.widget, gw);\n }\n else {\n delayedWidgetSelection.removeFromSelection(evt.widget);\n\n SimpleWidgetGroup group = evt.widget.getParentGroup();\n\n if (group.size() == 0) {\n //evt.widget was the last widget in this group,\n //so hide the halo for it\n\n removeHalo(evt.widget);\n }\n }\n }\n };\n\n frameUI.addHandler(this,\n FrameUIModel.WidgetGroupChange.class,\n widgetGroupChangeHandler);\n }", "public void addGraphChangeListener(GraphChangeListener<N, ET> listener)\n\t{\n\t\tlistenerList.add(GraphChangeListener.class, listener);\n\t}", "public interface NewObjectListener extends EventListener {\r\n //~ Methods ////////////////////////////////////////////////////////////////\r\n\r\n /**\r\n * Called when an new HyperEdge has just been created.\r\n * @param hedge the newly created HyperEdge.\r\n * hedge should be in a well-defined state with all required\r\n * fields and attributes set.\r\n *\r\n * <P>Note that since this callback may be invoked while in the\r\n * middle of making major object changes, care must be taken in\r\n * examining and modifying arbitrary HyperEdges while in this\r\n * callback. You should always check the state any objects (using\r\n * isState()) you wish to examine or modify before actually\r\n * examining or modifying them.\r\n */\r\n void objectCreated (HyperEdge hedge);\r\n}", "protected void childrenChanged() {\n proxyGroup.childrenChanged();\n }", "public interface GraphListener extends java.util.EventListener {\n /**\n * An edge's head has been changed in a registered\n * graph or one of its subgraphs. The added edge\n * is the \"source\" of the event. The previous head\n * is accessible via e.getOldValue().\n */\n public void edgeHeadChanged(GraphEvent e);\n\n /**\n * An edge's tail has been changed in a registered\n * graph or one of its subgraphs. The added edge\n * is the \"source\" of the event. The previous tail\n * is accessible via e.getOldValue().\n */\n public void edgeTailChanged(GraphEvent e);\n\n /**\n * A node has been been added to the registered\n * graph or one of its subgraphs. The added node\n * is the \"source\" of the event.\n */\n public void nodeAdded(GraphEvent e);\n\n /**\n * A node has been been deleted from the registered\n * graphs or one of its subgraphs. The deleted node\n * is the \"source\" of the event. The previous parent\n * graph is accessible via e.getOldValue().\n */\n public void nodeRemoved(GraphEvent e);\n\n /**\n * The structure of the event's \"source\" graph has\n * been drastically changed in some way, and this\n * event signals the listener to refresh its view\n * of that graph from model.\n */\n public void structureChanged(GraphEvent e);\n}", "public void setShape(Shape shape) {\n\tthis.shape = shape;\n\n\tPathIterator p = shape.getPathIterator(new AffineTransform());\n\t\t\n\tFlatteningPathIterator fp = new FlatteningPathIterator(p, flatness);\n\t\t\n\tpath.clear();\n\twhile(!fp.isDone()) {\n\t double[] farr = new double[6];\n\t int type = fp.currentSegment(farr);\n\t\t \n\t if (type == PathIterator.SEG_MOVETO || type == PathIterator.SEG_LINETO) {\n\t\tpath.add(new Point2D.Double(farr[0],farr[1]));\n\t }\n\t if (type == PathIterator.SEG_QUADTO) {\n\t\tfor(int i=0; i<2; i++) {\n\t\t path.add(new Point2D.Double(farr[0],farr[1]));\n\t\t}\n\t }\n\t if (type == PathIterator.SEG_CUBICTO) {\n\t\tfor(int i=0; i<3; i++) {\n\t\t path.add(new Point2D.Double(farr[2*i],farr[2*i+1]));\n\t\t}\n\t }\n\t fp.next();\n\t}\n }", "public void addStructuralListener(StructuralListener listener) {\n\t\tstateHandler.assertAlive();\n\t\t\n\t\tchildHelper.addStructuralListener(listener);\n\t}", "private void addListeners(){\n Conservable[] listenerFromProductTypeRelation = this.productRelation.getListener();\n this.listener[0] = listenerFromProductTypeRelation[0];\n this.listener[1] = listenerFromProductTypeRelation[1];\n this.listener[2] = this.post;\n this.listener[3] = this.productRelation;\n this.listener[4] = this;\n }", "public void edgeTailChanged(GraphEvent e);", "public interface IGraphNodeDragDropListener {\n}", "public void addPropertyChangeListener(ActionListener<PropertyChangeEvent> l) {\n if (root != null) {\n Property prop = property;\n if (prop == null && tags != null) {\n prop = root.getEntity().findProperty(tags);\n }\n if (prop != null) {\n root.getEntity().addPropertyChangeListener(prop, pcl());\n }\n } else {\n Entity leafEntity = getLeafEntity();\n Property leafProperty = getLeafProperty();\n if (leafEntity != null && leafProperty != null) {\n leafEntity.getEntity().addPropertyChangeListener(leafProperty, pcl());\n }\n parent.addVetoablePropertyChangeListener(vpcl());\n parent.addListChangeListener(listChangeListener());\n }\n if (listeners == null) {\n listeners = new EventDispatcher();\n }\n listeners.addListener(l);\n \n }", "public interface DrawListener {\n\n\tpublic void shapeDrawn(Shape s);\n\n\tpublic void newFileCreated();\n\n\tpublic void shapeUndo();\n\n\tpublic void shapeRedo();\n}", "public void addDrawingModelListener(DrawingModelListener l);", "void addPropertyListener(PropertyListener listener);", "private void updateShapeHandles() {\n for (Shape shape : this.model.getShapes()) {\n shape.updateHandles(this.viewModel.getZoomFactor());\n }\n }", "protected void refineShape(FoundShape shape) {\n\n\t\tShapeDescription shapeDesc = models.get(shape.whichShape);\n\n\t\trefine.configure(shapeDesc.modelFitter, shapeDesc.modelDistance, shapeDesc.modelCheck, shapeDesc.codec, shapeDesc.thresholdFit);\n\t\trefine.refine(shape.points, shape.modelParam, true);\n\t\t// todo handle if refine is false\n\t}", "public void onRelationshipChanged();", "public abstract void addPropertyChangeListener(PropertyChangeListener listener);", "void addListener(GraphListener listener);", "public void addShape(TShape aShape){\r\n // fShapes.remove(aShape); // just in case it was already there\r\n\r\n /*unfortunately we need to have a front to back screen order, properties at the back\r\n (drawn first), then individuals, finally relations between individuals*/\r\n\r\n /* if (aShape instanceof TLine)\r\n fShapes.add(aShape); // add at the end\r\n else if (aShape instanceof TProperty)\r\n fShapes.add(0,aShape); // add at the beginning\r\n else {\r\n int insertIndex=0;\r\n if (fShapes.size() > 0) {\r\n Iterator iter = fShapes.iterator();\r\n\r\n while (iter.hasNext()) {\r\n if (! ((TShape) iter.next()instanceof TProperty))\r\n break; //put it after rectangles\r\n else\r\n insertIndex++;\r\n }\r\n }\r\n fShapes.add(insertIndex,aShape);\r\n }*/\r\n\r\n\r\n // aShape.setSemantics(fSemantics);\r\n\r\n aShape.addChangeListener(this); // and we'll listen for any of its changes, such as being selected\r\n\r\n addShapeToList(aShape,fShapes);\r\n\r\n if (aShape instanceof TInterpretationBoard)\r\n ((TInterpretationBoard)aShape).setSemantics(fSemantics);\r\n\r\n\r\n fPalette.check(); // some of the names may need updating\r\n\r\n repaint();\r\n }", "public void addListener(PropertyChangeListener listener, String propertyType);", "protected void addShapePropertyDescriptor(Object object) {\n\t\titemPropertyDescriptors.add\n\t\t\t(createItemPropertyDescriptor\n\t\t\t\t(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),\n\t\t\t\t getResourceLocator(),\n\t\t\t\t getString(\"_UI_Line_shape_feature\"),\n\t\t\t\t getString(\"_UI_PropertyDescriptor_description\", \"_UI_Line_shape_feature\", \"_UI_Line_type\"),\n\t\t\t\t GraphicsPackage.Literals.LINE__SHAPE,\n\t\t\t\t true,\n\t\t\t\t false,\n\t\t\t\t false,\n\t\t\t\t ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,\n\t\t\t\t null,\n\t\t\t\t null));\n\t}", "public void addPropertyChangeListener(PropertyChangeListener l);", "@Override\n public void redrawFeatureDiagram(boolean repopulate) {\n // Keep the same position and scaling as before\n if (featureDiagramView == null) {\n featureDiagramView = new FeatureDiagramEditView(getWidth(), getHeight(), this);\n containerLayer.addChild(featureDiagramView);\n featureDiagramView.setHandler(HandlerFactory.INSTANCE.getFeatureDiagramEditHandler());\n } else {\n featureDiagramView.updateFeaturesDisplay(repopulate);\n }\n\n // change listeners depending if we are in association or edit mode\n if (isAspectSelected()) {\n updateColorsFromSelection();\n featureDiagramView.changeHandlers(HandlerFactory.INSTANCE.getFeatureAssociationModeHandler());\n } else {\n featureDiagramView.changeHandlers(HandlerFactory.INSTANCE.getFeatureEditModeHandler());\n }\n }", "public void addPropertyChangeListener(GeoImageLayer layer) {\n\t\t\n\t}", "@Override\n\tpublic void roadChanged() {\n\t\tthis.from_x=this.from.getX();\n\t\tthis.from_y=this.from.getY();\n\t\tthis.to_x=this.to.getX();\n\t\tthis.to_y=this.to.getY();\n\t\tthis.getTopLevelAncestor().repaint();\n\t\tthis.repaint();\n//\t\tthis.getParent().repaint();\n\t}", "void addChangeListener(PropertyChangeListener<? super R> listener);", "public void stateChanged(ChangeEvent e){\n\r\n fShape.removeChangeListener(this); // ordinarily stateChange can get called many\r\n //times during resize, so we'll stop listening once we know\r\n // there is change\r\n\r\n\r\n if (fLastEdit!=this){\r\n if (fLastEdit != null) // kill the previous one so there's only one undo\r\n fLastEdit.die(); // don't kill ourselves\r\n\r\n //fUndoListener.undoableEditHappened(new UndoableEditEvent(TShapePanel.this, this)); // tell the listener.\r\n\r\n tellListeners(new UndoableEditEvent(TShapePanel.this,this)); // tell the listeners.\r\n\r\n fLastEdit = this;\r\n }\r\n }", "@Override\n public void changed( Change change ) {\n if ( !( change.isSelected()\n && change.isForInstanceOf( Node.class )\n && change.isForProperty( \"other\" ) ) ) {\n if ( change.isUpdated() ) {\n setFlowUpdated( true );\n }\n super.changed( change );\n }\n }", "public void propertyChange(PropertyChangeEvent evt)\n/* */ {\n/* 76 */ CompoundPainter<?> painter = (CompoundPainter)this.ref.get();\n/* */ \n/* 78 */ if (painter == null) {\n/* 79 */ AbstractPainter<?> src = (AbstractPainter)evt.getSource();\n/* 80 */ src.removePropertyChangeListener(this);\n/* */ } else {\n/* 82 */ String property = evt.getPropertyName();\n/* */ \n/* 84 */ if ((\"dirty\".equals(property)) && (evt.getNewValue() == Boolean.FALSE)) {\n/* 85 */ return;\n/* */ }\n/* */ \n/* 88 */ painter.setDirty(true);\n/* */ }\n/* */ }", "@Override\n public final void onActivation() {\n eventManager.addListener(strokeConfigListener);\n eventBus.addSubscriber(regenerateShapeSubscriber);\n }", "public abstract void addPropertyChangeListener(IPropertyChangeListener listener);", "public void addPropertyChangeListener(PropertyChangeListener pcl) {\n\t\tproperties.addListener(pcl);\n\t}", "public void removeDeepChangeListener(DeepChangeListener aLstnr) { removeListener(DeepChangeListener.class, aLstnr); }", "public void addBinding(Binding aBinding)\n{\n removeBinding(aBinding.getPropertyName()); // Remove current binding for property name (if it exists)\n List <Binding> bindings = getBindings(true); // Add binding\n bindings.add(aBinding);\n aBinding.setNode(this); // Set binding width to this shape\n}", "public final void init(Shape shape) {\n if (shape.getCustomConfig() instanceof BrushConfig) {\n BrushConfig bc = (BrushConfig) shape.getCustomConfig();\n Brush brush = getBrush(bc.getBrush());\n brush.init(shape, bc.getRulerMode());\n \n for (Vector2 point : bc.getPoints()) {\n brush.mouseMove(point);\n }\n }\n }", "static public void shape(Shape2D shape, float dx, float dy){\n if (shape!=null) {\n if (shape instanceof Polygon) {\n polygon((Polygon) shape, dx, dy);\n } else if (shape instanceof Circle) {\n circle((Circle) shape, dx, dy);\n } else if (shape instanceof Rectangle) {\n rectangle((Rectangle) shape, dx, dy);\n } else if (shape instanceof Polypoint) {\n polypoint((Polypoint) shape, dx, dy);\n } else if (shape instanceof Polyline) {\n polyline((Polyline) shape, dx, dy);\n } else if (shape instanceof Edge) {\n edge((Edge) shape, dx, dy);\n } else if (shape instanceof Chain) {\n chain((Chain) shape, dx, dy);\n } else if (shape instanceof Shape2DCollection) { // includes subclass DotsAndLines\n collection((Shape2DCollection) shape, dx, dy);\n } else {\n throw new RuntimeException(\"unknown shape \" + shape.getClass());\n }\n }\n }", "public void addDrawingClickListener(DrawingClickListener listener);", "public void changedUpdate(DocumentEvent e, Shape a, ViewFactory f) {\n if (view != null) {\n view.changedUpdate(e, a, f);\n }\n }", "@Override\n public void propertyChange(java.beans.PropertyChangeEvent ev) {\n fireInAWT(PROP_NODE_CHANGE, null, null);\n }", "private void fireAreaUpdated(Rectangle original, Rectangle updated) {\n for (Iterator<AreaUpdatedListener> iterator = listeners.iterator(); iterator.hasNext();) {\n AreaUpdatedListener listener = iterator.next();\n listener.rectangleUpdated(original, updated);\n }\n }", "@Override\n\tpublic void mouseReleased(MouseEvent e) {\n\t\tif (this.currentShape instanceof Edge) {\n\t\t\tPoint2D point = new Point2D.Double(e.getX(), e.getY());\n\t\t\tfor (Shape shape: shapes) {\n\t\t\t\tif (shape.verifyShapeExists(point)){\n\t\t\t\t\t/**\n\t\t\t\t\t * Ignore if current shape is JoinPoint or EdgeLabel\n\t\t\t\t\t */\n\t\t\t\t\tif (shape instanceof JoinPoint || shape instanceof EdgeLabel) {\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\t/**\n\t\t\t\t\t * Otherwise, set current edge point to this shape\n\t\t\t\t\t */\n\t\t\t\t\t((Edge) currentShape).setDest(shape);\n\t\t\t\t\tcurrentShape.setDrawing(false);\n\t\t\t\t\tcurrentShape = null;\n\t\t\t\t\tvalidate();\n\t\t\t\t\trepaint();\n\t\t\t\t\t/**\n\t\t\t\t\t * Notify to automata that it have changes\n\t\t\t\t\t */\n\t\t\t\t\tsetAutomataChanges();\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t\t/**\n\t\t\t * If it doesn't have any shape, create a new one\n\t\t\t */\n\t\t\tShape shape = shapeFactory.getShape(shapeType);\n\t\t\tshape.setPosition(point);\n\t\t\taddShape(shape);\n\t\t\t((Edge) currentShape).setDest(shape);\n\t\t\tsetAutomataChanges();\n\t\t}\n\t\tif (currentShape != null) {\n\t\t\tcurrentShape.setDrawing(false);\n\t\t\tcurrentShape = null;\n\t\t}\n\t\tvalidate();\n\t\trepaint();\n\t}", "public void stateChanged(ChangeEvent e){\n\r\n repaint(); // at the moment we're being pretty crude with this, redrawing all the shapes\r\n\r\n\r\n\r\n if (fDeriverDocument!=null) // if this drawing has a journal, set it for saving\r\n fDeriverDocument.setDirty(true);\r\n\r\n\r\n\r\n }", "private void createEdgeForShape(Shape shape) {\n\t\tcurrentShape = shape;\n\t\tif (holdAltKey && !(shape instanceof JoinPoint)) {\n\t\t\tShape edge = createEdge();\n\t\t\t((Edge)edge).setSource(currentShape);\n\t\t\taddShape(edge);\n\t\t\tcurrentShape.setDrawing(false);\n\t\t\tcurrentShape = edge;\n\t\t}\n\t}", "public void afterPropertiesSet() {\n\t\tString[] listenerClassNames = StringUtil.split(GetterUtil.getString(\n\t\t\t\t\tcom.liferay.util.service.ServiceProps.get(\n\t\t\t\t\t\t\"value.object.listener.org.lrc.liferay.toolbuilder.model.StepDefsCompositeStepDefDBE\")));\n\n\t\tif (listenerClassNames.length > 0) {\n\t\t\ttry {\n\t\t\t\tList<ModelListener<StepDefsCompositeStepDefDBE>> listenersList = new ArrayList<ModelListener<StepDefsCompositeStepDefDBE>>();\n\n\t\t\t\tfor (String listenerClassName : listenerClassNames) {\n\t\t\t\t\tlistenersList.add((ModelListener<StepDefsCompositeStepDefDBE>)InstanceFactory.newInstance(\n\t\t\t\t\t\t\tgetClassLoader(), listenerClassName));\n\t\t\t\t}\n\n\t\t\t\tlisteners = listenersList.toArray(new ModelListener[listenersList.size()]);\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\t_log.error(e);\n\t\t\t}\n\t\t}\n\t}", "protected void childrenChanged() {\n\n }", "public void addPropertyChangeListener(PropertyChangeListener listener);", "void addPropertyChangeListener(PropertyChangeListener listener);", "protected void visualizeShape(Shape shape, PdfDrawer drawer) throws VisualizerException {\n visualizePosition(shape.getPosition(), drawer, Color.ORANGE);\n }", "private void addChangeListeners() {\r\n myTetrisPanel.addPropertyChangeListener(myInfoPanel);\r\n myTetrisMenuBar.addPropertyChangeListener(myInfoPanel);\r\n myTetrisMenuBar.addPropertyChangeListener(myKeyAdapter);\r\n myTetrisMenuBar.addPropertyChangeListener(myTetrisPanel);\r\n addPropertyChangeListener(myTetrisMenuBar);\r\n myInfoPanel.addPropertyChangeListener(myTetrisMenuBar);\r\n }", "public void firePartInputChanged(final IWorkbenchPartReference ref) {\n Object[] array = getListeners();\n for (int i = 0; i < array.length; i++) {\n final IPartListener2 l;\n if (array[i] instanceof IPartListener2) {\n l = (IPartListener2) array[i];\n } else {\n continue;\n }\n fireEvent(new SafeRunnable() {\n\n @Override\n public void run() {\n l.partInputChanged(ref);\n }\n }, l, ref, //$NON-NLS-1$\n \"inputChanged::\");\n }\n }", "public void setShouldFillShape(boolean shouldFillShape) {\n boolean oldShouldFillShape = this.shouldFillShape;\n this.shouldFillShape = shouldFillShape;\n propertyChangeSupport.firePropertyChange(\"shouldFillShape\", oldShouldFillShape, shouldFillShape);\n }", "public void addListener(PropertyChangeListener pcl) {\n\t\tthis.pcl = pcl;\n\t}", "public interface TwoWayListener<DM, UMD, DMD> extends EventListener {\n\n /**\n * Called when a new derived value has been produced.\n * May have been a result of a synchronous or asynchronous derivation.\n * @param evt the associated event with more information\n */\n void derived(TwoWayEvent.Derived<DM, UMD, DMD> evt);\n\n /**\n * Called when a derived model has been invalidated.\n * @param evt the associated event with more information\n */\n void invalidated(TwoWayEvent.Invalidated<DM, UMD, DMD> evt);\n \n /**\n * Called when the derived model was changed and the underlying model recreated.\n * @param evt the associated event with more information\n */\n void recreated(TwoWayEvent.Recreated<DM, UMD, DMD> evt);\n \n /**\n * Called when changes in the underlying model were clobbered by changes to\n * the derived model.\n * @param evt the associated event with more information\n */\n void clobbered(TwoWayEvent.Clobbered<DM, UMD, DMD> evt);\n \n /**\n * Called when the reference to the derived model was garbage collected.\n * @param evt the associated event\n */\n void forgotten(TwoWayEvent.Forgotten<DM, UMD, DMD> evt);\n \n /**\n * Called when an attempted derivation failed with an exception.\n * The underlying model is thus considered to be in an inconsistent state.\n * @param evt the associated event with more information\n */\n void broken(TwoWayEvent.Broken<DM, UMD, DMD> evt);\n \n}", "@Override\r\n public void setShape (Shape shape,\r\n double grade)\r\n {\r\n// // Check status\r\n// if (glyph.isTransient()) {\r\n// logger.error(\"Setting shape of a transient glyph\");\r\n// }\r\n\r\n // Blacklist the old shape if any\r\n Shape oldShape = getShape();\r\n\r\n if ((oldShape != null) && (oldShape != shape)\r\n && (oldShape != Shape.GLYPH_PART)) {\r\n forbidShape(oldShape);\r\n\r\n if (glyph.isVip()) {\r\n logger.info(\"Shape {} forbidden for {}\",\r\n oldShape, glyph.idString());\r\n }\r\n }\r\n\r\n if (shape != null) {\r\n // Remove the new shape from the blacklist if any\r\n allowShape(shape);\r\n }\r\n\r\n // Remember the new shape\r\n evaluation = new Evaluation(shape, grade);\r\n\r\n if (glyph.isVip()) {\r\n logger.info(\"{} assigned {}\", glyph.idString(), evaluation);\r\n }\r\n }", "@Override\n\tpublic void update() {\n\t\tfor (ShapeBase w : getChildren()) {\n\t\t\tw.update();\n\t\t}\n\t}", "protected abstract void updateShapeColor(Color color);", "@Override\n public void addListener(InvalidationListener listener) {\n }", "final void fireListeners(){\n /// Fire target edited listeners\n if (editedTarget){\n fire(spanEditedListeners);\n editedTarget = false;\n }\n\n /// Fire child edited listeners\n if (editedChild){\n fire(childEditedListeners);\n editedChild = false;\n }\n\n /// Fire doc edited listeners\n fire(docEditedListeners);\n\n /// Recusive call\n for (Span span: this){\n if (span instanceof SpanNode){\n ((SpanNode<?>)span).fireListeners();\n }\n }\n }", "protected void repaint(RMShape aShape) { if(_parent!=null) _parent.repaint(aShape); }", "public void addShape(Shape shape)\n {\n shapes.add(shape);\n }", "public void addChangeListener(ChangeListener<BufferedImage> listener) {\n observer.add(listener);\n }", "public void addChildEdited(Consumer<SpanNode<T>> listener){\n childEditedListeners.add(listener);\n }", "public void bindPlotDefinitionListChangedEvent(final OIFitsCollectionManagerEventListener listener) {\n getPlotDefinitionListChangedEventNotifier().register(listener);\n\n // force fire PLOT_DEFINITION_LIST_CHANGED event to initialize the listener ASAP:\n firePlotDefinitionListChanged(null, listener);\n }", "public abstract void redrawPathsafterDeserialization(FingerDrawingActivity fda);", "@Override\r\n\tpublic void accept(ShapeElementVisitor visitor) {\n\t\tvisitor.visit(this);\r\n\t}", "public void setShape(Shape shape) {\n validateShape(shape);\n\n this.shape = shape;\n this.shape.calculate();\n initializeScroller();\n resetScroll();\n }", "public void add(Shape c) {\n\t\tc.centerXProperty().addListener(doubleListener);\n\t\tc.centerYProperty().addListener(doubleListener);\n\t\tc.radiusProperty().addListener(doubleListener);\n\t\tc.colorProperty().addListener(colorListener);\n\t\tc.widthProperty().addListener(doubleListener);\n\t\tc.heightProperty().addListener(doubleListener);\n\t\tc.arcWidthProperty().addListener(doubleListener);\n\t\tc.arcHeightProperty().addListener(doubleListener);\n\t\tc.textProperty().addListener(textListener);\n\t\tc.typeProperty().addListener(typeListener);\n\t\tc.deleteProperty().addListener(deleteListener);\n\t\tdrawData.add(c);\n\t}", "public void mousePressed(RMShapeMouseEvent anEvent)\n{\n // Iterate over mouse listeners and forward\n for(int i=0, iMax=getListenerCount(RMShapeMouseListener.class); i<iMax; i++)\n getListener(RMShapeMouseListener.class, i).mousePressed(anEvent);\n}", "public void animUpdate(PropertyChangeEvent anEvent)\n{\n // Return if shape is a new-born\n if(getAnimator()==null || getAnimator().isNewborn(this) || !getAnimator().isEnabled()) return;\n \n // If change is anim property, add record\n if(isAnimProperty(anEvent.getPropertyName()))\n addTimelineEntry(anEvent.getPropertyName(), anEvent.getNewValue(), anEvent.getOldValue());\n \n // Add anim records for Fill\n else if(anEvent.getPropertyName().equals(\"Fill\")) {\n RMFill f1 = (RMFill)anEvent.getNewValue();\n RMFill f2 = (RMFill)anEvent.getOldValue();\n RMColor c1 = f1!=null? f1.getColor() : RMColor.clearWhite;\n RMColor c2 = f2!=null? f2.getColor() : RMColor.clearWhite;\n addTimelineEntry(\"Color\", c1, c2);\n }\n \n // Add anim records for Fill.Color\n else if(anEvent.getPropertyName().equals(\"Fill.Color\"))\n addTimelineEntry(\"Color\", anEvent.getNewValue(), anEvent.getOldValue());\n \n // Add anim records for Stroke\n else if(anEvent.getPropertyName().equals(\"Stroke\")) {\n RMStroke s1 = (RMStroke)anEvent.getNewValue();\n RMStroke s2 = (RMStroke)anEvent.getOldValue();\n RMColor c1 = s1!=null? s1.getColor() : RMColor.clearWhite;\n RMColor c2 = s2!=null? s2.getColor() : RMColor.clearWhite;\n addTimelineEntry(\"StrokeColor\", c1, c2);\n float lw1 = s1!=null? s1.getWidth() : 0;\n float lw2 = s2!=null? s2.getWidth() : 0;\n addTimelineEntry(\"StrokeWidth\", lw1, lw2);\n }\n \n // Add anim records for Stroke.Color\n else if(anEvent.getPropertyName().equals(\"Stroke.Color\"))\n addTimelineEntry(\"StrokeColor\", anEvent.getNewValue(), anEvent.getOldValue());\n \n // Add anim records for Stroke.Width\n else if(anEvent.getPropertyName().equals(\"Stroke.Width\"))\n addTimelineEntry(\"StrokeWidth\", anEvent.getNewValue(), anEvent.getOldValue());\n}", "public void Add( TopoDS_Shape aShape) {\n OCCwrapJavaJNI.ShapeFix_EdgeConnect_Add__SWIG_1(swigCPtr, this, TopoDS_Shape.getCPtr(aShape), aShape);\n }", "public void addPropertyChangeListener(@NotNull PropertyChangeListener listener) {\n }", "public void addChangeListener(ChangeListener listener) { _changeListeners.add(listener); }", "public void addShape(final Shape theShape) {\n if (myWidth > 0) {\n final Drawing newDrawing = new Drawing(theShape, myColor, myWidth);\n if (myDrawingArray.isEmpty()) {\n firePropertyChange(ARRAY_STRING, null, NOT_EMPTY_STRING);\n }\n myDrawingArray.add(newDrawing);\n repaint();\n } \n }", "@Override\n public void propertyChange(PropertyChangeEvent e) {\n this.updateCoords();\n }", "public void treeStructureChanged(TreeModelEvent e) {\n //To change body of implemented methods use Options | File Templates.\n }", "private void addListener(org.eclipse.swt.widgets.Tree tree) {\n\t\t// Listener fuer \"Folder auf machen\"\n\t\ttree.addListener(SWT.Expand, new Listener() {\n\t\t\tpublic void handleEvent(Event event) {\n\t\t\t\thandleFolderOpen(event);\n\t\t\t}\n\t\t});\n\t\t// Listener fuer \"Folder auf machen\"\n\t\ttree.addListener(SWT.Collapse, new Listener() {\n\t\t\tpublic void handleEvent(Event event) {\n\t\t\t\thandleFolderClose(event);\n\t\t\t}\n\t\t});\n\t\t// Listener fuer die Aktionen\n\t\ttree.addMouseListener(new MouseAdapter() {\n\t\t\tpublic void mouseDoubleClick(MouseEvent e) {\n\t\t\t\thandleSelect(e);\n\t\t\t}\n\t\t});\n\t}", "public void addListener(ModifiedEventListener listener) {\n\t\tlisteners.add(listener);\n\t}", "public interface ProjectDiagramListener {\n\n /**\n * Listener method. Whenever any publishable change occurs, this method of all listeners is invoked.\n *\n * @param change is an object holding info about the change\n *\n * @see cz.cvut.promod.services.projectService.treeProjectNode.ProjectDiagramChange\n */\n public void changePerformed(final ProjectDiagramChange change);\n}", "public void mouseClicked(RMShapeMouseEvent anEvent)\n{\n // Iterate over mouse listeners and forward\n for(int i=0, iMax=getListenerCount(RMShapeMouseListener.class); i<iMax; i++)\n getListener(RMShapeMouseListener.class, i).mouseClicked(anEvent);\n}", "void addEvent(IShape shape, IEvent event, int eventBegin, int eventEnd);", "public void setShape(ShapeType shape) {\n\t\tthis.shape = shape;\n\t}", "public void addPropertyChangeListener(PropertyChangeListener listener)\n {\n }", "public void addConnectedCallback(OctaveReference listener) {\n\t\tlistenerConnected.add(listener);\n\t}", "void setOnColorChangedListener(@NonNull OnColorChangedListener listener);", "public void handle(MouseEvent event)\n {\n\n System.out.println(event.getEventType().getName());\n if (event.getEventType() == MouseEvent.MOUSE_PRESSED) {\n xs = event.getX();\n ys = event.getY();\n }else if (event.getEventType() == MouseEvent.MOUSE_DRAGGED){\n if (currentShapeNode != null) {\n canvas.getChildren().remove(currentShapeNode);\n shapeList.remove(currentShapeNode);\n }\n switch (shapeInfo) {\n case 1 : {\n xe = event.getX();\n ye = event.getY();\n currentShapeNode = new Rectangle(xs, ys, xe-xs, ye-ys);\n currentShapeNode.setFill(selectedColor);\n break;\n }\n case 2 : {\n xe = event.getX();\n ye = event.getY();\n double radius = Math.sqrt(Math.pow(xe-xs, 2) + Math.pow(ye-ys, 2));\n currentShapeNode = new Circle(xs, ys, radius);\n currentShapeNode.setFill(selectedColor);\n break;\n }\n case 3 : {\n xe = event.getX();\n ye = event.getY();\n double angle = Math.atan2(-(ys-ye), xe-xs);\n double length = Math.toDegrees(angle);\n Arc arc = new Arc(xs, ys, xe, xe/2, 0, length);\n arc.setType(ArcType.ROUND);\n currentShapeNode = arc;\n currentShapeNode.setFill(selectedColor);\n\n break;\n }\n default: break;\n }\n shapeList.add(currentShapeNode);\n canvas.getChildren().add(currentShapeNode);\n }else if (event.getEventType() == MouseEvent.MOUSE_RELEASED) {\n currentShapeNode = null;\n }\n\n event.consume();\n }" ]
[ "0.70975703", "0.6166702", "0.5930334", "0.54319435", "0.50439286", "0.4975419", "0.49145284", "0.49133584", "0.49107662", "0.48994458", "0.48478597", "0.48317173", "0.47969615", "0.47946188", "0.4737181", "0.47342262", "0.47218925", "0.46926197", "0.46510136", "0.46403608", "0.46337658", "0.4613978", "0.4609877", "0.46074873", "0.45863497", "0.45832226", "0.45626837", "0.45600748", "0.45569825", "0.45439404", "0.45429778", "0.4534908", "0.45303854", "0.45224112", "0.4520053", "0.45171604", "0.4506727", "0.45041302", "0.44934797", "0.44930172", "0.44883546", "0.44803286", "0.44601968", "0.4454281", "0.44539762", "0.4451466", "0.44343486", "0.4434081", "0.44293627", "0.44249058", "0.44172227", "0.44061393", "0.44047824", "0.4404192", "0.44018626", "0.43967867", "0.43868086", "0.43857065", "0.43778798", "0.4372579", "0.43659437", "0.4364606", "0.4350354", "0.4335277", "0.43211076", "0.43082577", "0.4307501", "0.4304472", "0.42923978", "0.4292187", "0.42910704", "0.4285898", "0.42847037", "0.4276845", "0.42705607", "0.42665902", "0.4260151", "0.42557845", "0.42493123", "0.423481", "0.42272013", "0.42262334", "0.42259917", "0.42234018", "0.4221984", "0.42070773", "0.42021367", "0.4198828", "0.41930145", "0.41895577", "0.41848716", "0.41842255", "0.41774458", "0.4173931", "0.4169125", "0.4168032", "0.41673636", "0.41590402", "0.41526812", "0.4147223" ]
0.7689434
0
Removes a deep change listener from shape.
public void removeDeepChangeListener(DeepChangeListener aLstnr) { removeListener(DeepChangeListener.class, aLstnr); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void removeListener(GraphListener listener);", "@Override\n\tpublic void removeGraphChangeListener(GraphChangeListener<N, ET> listener)\n\t{\n\t\tgcs.removeGraphChangeListener(listener);\n\t}", "public void removeDrawingClickListener(DrawingClickListener listener);", "void removeDrawingModelListener(DrawingModelListener l);", "public void removeDrawingModelListener(DrawingModelListener l);", "public void removeGraphChangeListener(GraphChangeListener<N, ET> listener)\n\t{\n\t\tlistenerList.remove(GraphChangeListener.class, listener);\n\t}", "public void removeChangeListener(ChangeListener<BufferedImage> listener) {\n observer.remove(listener);\n }", "void removeListener(ChangeListener<? super T> listener);", "public void removeChangeListener(ChangeListener listener) { _changeListeners.remove(listener); }", "public void removePropertyChangeListener(PropertyChangeListener l);", "public void removeConnectedCallback(OctaveReference listener) {\n\t\tlistenerConnected.remove(listener);\n\t}", "public void removeDisconnectedCallback(OctaveReference listener) {\n\t\tlistenerDisconnected.remove(listener);\n\t}", "@Override\n public void removeListener() {\n this.mListener = null;\n }", "public void removeChangeListener(ChangeListener stackEngineListener);", "public void removeListener(GrillEventListener listener);", "@Override\n public void removeListener(InvalidationListener listener) {\n }", "public void removePainter(CanvasType.PaintListener listener)\r\n\t{\n\t}", "void removeChangeListener(PropertyChangeListener<? super R> listener);", "protected void uninstallListeners() {\n frame.removePropertyChangeListener(propertyChangeListener);\n }", "public void removeFactListener(GenericFactListener<Fact> listener);", "@Override\n\tpublic void remove(IFigure figure) {\n\t\tfigure.removeFigureListener(this);\n\t\tsuper.remove(figure);\n\t}", "public void removeListener(PropertyChangeListener listener, String propertyType);", "public abstract void removePropertyChangeListener(PropertyChangeListener listener);", "public abstract void removePropertyChangeListener(IPropertyChangeListener listener);", "void removePropertyListener(PropertyListener listener);", "public void removeChangeListener(ChangeListener l) {\n\t\t//do nothing\n\t}", "public void removePropertyChangeListener(PropertyChangeListener listener);", "public void removePropertyChangeListener (PropertyChangeListener l)\n { pcs.removePropertyChangeListener (l); }", "public void removePropertyChangeListener (PropertyChangeListener l) {\n pcs.removePropertyChangeListener (l);\n }", "public void removeListener(T listener);", "@Override\r\n\tpublic void removeListener(INotifyChangedListener notifyChangedListener) {\r\n\t\tchangeNotifier.removeListener(notifyChangedListener);\r\n\t}", "void removeHitListener(HitListener hl);", "void removeHitListener(HitListener hl);", "void removeHitListener(HitListener hl);", "void removeHitListener(HitListener hl);", "void removeListener(BotListener l);", "public synchronized void removeEventListener(InputListener listener) {\n\t\tlisteners.remove(listener);\n\t}", "public void remove(Shape c) {\n\t\tc.centerXProperty().removeListener(doubleListener);\n\t\tc.centerYProperty().removeListener(doubleListener);\n\t\tc.radiusProperty().removeListener(doubleListener);\n\t\tc.colorProperty().removeListener(colorListener);\n\t\tc.widthProperty().removeListener(doubleListener);\n\t\tc.heightProperty().removeListener(doubleListener);\n\t\tc.arcWidthProperty().removeListener(doubleListener);\n\t\tc.arcHeightProperty().removeListener(doubleListener);\n\t\tc.textProperty().removeListener(textListener);\n\t\tc.typeProperty().removeListener(typeListener);\n\t\tc.deleteProperty().removeListener(deleteListener);\n\t\tdrawData.remove(c);\n\t}", "void removePropertyChangeListener(PropertyChangeListener listener);", "void removePropertyChangeListener(PropertyChangeListener listener);", "public void removePropertyChangeListener(PropertyChangeListener listener)\n {\n }", "public void removeDeviceListener(DeviceDriverListener device);", "@Override\n\tpublic void removeListener(INotifyChangedListener notifyChangedListener) {\n\t\tchangeNotifier.removeListener(notifyChangedListener);\n\t}", "@Override\n\tpublic void removeListener(INotifyChangedListener notifyChangedListener) {\n\t\tchangeNotifier.removeListener(notifyChangedListener);\n\t}", "@Override\n\tpublic void removePropertyChangeListener(PropertyChangeListener l) {\n\t\t//do nothing\n\t}", "@Override\n\tpublic void removeToolListener(ToolListener listener) {\n\t\t//do nothing\n\t}", "public synchronized void removePropertyChangeListener(PropertyChangeListener l) {\n int cnt = listeners.size();\n for (int i = 0; i < cnt; i++) {\n Object o = ((WeakReference)listeners.get(i)).get();\n if (o == null || o == l) { // remove null references and the required one\n listeners.remove(i);\n interestNames.remove(i);\n i--;\n cnt--;\n }\n }\n }", "public void removeInvalidationListener(Runnable listener)\n {\n myInvalidationChangeSupport.removeListener(listener);\n }", "public synchronized void removePropertyChangeListener(java.beans.PropertyChangeListener listener) {\r\n\tgetPropertyChange().removePropertyChangeListener(listener);\r\n}", "public void removeTreeModelListener(TreeModelListener l) {\n\n\t}", "public void removeListener(ValueChangedListener listener) {\n\t\t_listenerManager.removeListener(listener);\n\t}", "public void remove()\n {\n removed();\n node.shapeRemoved(shape);\n }", "void removeModelEventListener(UmlChangeListener listener, Object modelelement, String propertyName);", "public void removeSelectionTreeListener(final SelectionTreeListener listener);", "public void removeAllObjectChangeListeners()\n\t{\n\t\tlistenerList = null;\n\t}", "public void removeAllObjectChangeListeners()\n\t{\n\t\tlistenerList = null;\n\t}", "public void removeEnumerateCallback(OctaveReference listener) {\n\t\tlistenerEnumerate.remove(listener);\n\t}", "@Override\n\tpublic void removeTrigger() {\n\t\tplayer.removeListener(this.listener, EventNameType.SOUL_FIGHT);\n\t}", "public void removeListenerForType(GrillEventListener listener, Class<? extends GrillEvent> eventType);", "void removePropertyChangedObserver(PropertyChangeObserver observer);", "@Override\n public void removePropertyChangeListener(PropertyChangeListener listener) {\n\n }", "private void removeListeners() {\n \t\tlistenToTextChanges(false);\n \t\tfHistory.removeOperationHistoryListener(fHistoryListener);\n \t\tfHistoryListener= null;\n \t}", "final public void removeChartDrillDownListener(\n ChartDrillDownListener listener)\n {\n removeFacesListener(listener);\n }", "default void removePropertyChangeListener(PropertyChangeListener listener)\r\n {\r\n }", "public void removeOnDataChangedListener(OnDataChangedListener listener) {\n dataChangedListeners.remove(listener);\n }", "public void removePropertyChangeListener(@NotNull PropertyChangeListener listener) {\n }", "public void unregisterAnimalAddedListener(AnimalAddedListenerReceipt receipt) {\n this.listeners.remove(receipt.getListener());\n }", "public void removeNPTListener(NPTListener l) {}", "public void addDeepChangeListener(DeepChangeListener aListener)\n{\n addListener(DeepChangeListener.class, aListener); // Add listener\n if(getListenerCount(DeepChangeListener.class)==1) // If first listener, add for children\n for(int i=0, iMax=getChildCount(); i<iMax; i++) { RMShape child = getChild(i);\n child.addPropertyChangeListener(this); child.addDeepChangeListener(this); }\n}", "public void removeMySelectionListener(EventListener l);", "public synchronized void removeChangeListener(ChangeListener l) {\n if (changeListeners != null && changeListeners.contains(l)) {\n Vector v = (Vector) changeListeners.clone();\n v.removeElement(l);\n changeListeners = v;\n }\n }", "void removeModelEventListener(PropertyChangeListener listener, Object modelelement);", "public void removePropertyChangeListener(PropertyChangeListener listener) {\n\n\t}", "void removeListener(RosZeroconfListener listener);", "public void removeHitListener(HitListener hl) {\nthis.hitListeners.remove(hl);\n}", "void removeDataCollectionListener(DataCollectionListener l);", "public void removeSnapListeners() {\r\n\t\torthoSnapListeners.clear();\r\n\t}", "void removePersonListener(PersonListener listener) {\n PersonListener remove = null;\n for (Map.Entry<Person, HashSet<PersonListener>> entry :\n personListeners.entrySet()) {\n for (PersonListener entityListener : entry.getValue()) {\n if (entityListener.equals(listener)) {\n remove = entityListener;\n break;\n }\n }\n if (remove != null) {\n entry.getValue().remove(remove);\n remove = null;\n }\n }\n }", "public void removeListener(LineListener listener) {\n\t\tplayer.removeListeners(listener);\n\t}", "public void removeTreeListener(TreeListener listener) {\n\t\ttreeListeners.add(listener);\n\t}", "public void removePropertyChangeListener(final PropertyChangeListener thePcl) {\n myPcs.removePropertyChangeListener(thePcl);\n }", "@Override\n public synchronized void removePropertyChangeListener(PropertyChangeListener listener) {\n if (listeners != null) {\n listeners.removePropertyChangeListener(listener);\n }\n }", "public void removeListener(ICdtVariableChangeListener listener){\n\t\tfListeners.remove(listener);\n\t}", "public void removed()\n {\n if (prev == null) {\n IBSPColChecker.setNodeForShape(shape, next);\n }\n else {\n prev.next = next;\n }\n\n if (next != null) {\n next.prev = prev;\n }\n }", "void removeCalcValueListener(CalcValueListener l);", "void removeModelEventListener(PropertyChangeListener listener, Object modelelement, String propertyName);", "protected void uninstallListeners() { this.tipPane.removePropertyChangeListener(this.changeListener); }", "void removeStateListener(MessengerStateListener listener);", "public void removePropertyChangeListener(ActionListener<PropertyChangeEvent> l) {\n if (listeners == null || !listeners.hasListeners()) {\n return;\n }\n listeners.removeListener(l);\n if (!listeners.hasListeners()) {\n if (pcl != null) {\n if (root != null) {\n Property prop = property;\n if (prop == null && tags != null) {\n prop = root.getEntity().findProperty(tags);\n }\n if (prop != null) {\n root.getEntity().removePropertyChangeListener(prop, pcl);\n }\n } else {\n Entity leafEntity = getLeafEntity();\n Property leafProperty = getLeafProperty();\n if (leafEntity != null && leafProperty != null) {\n leafEntity.getEntity().removePropertyChangeListener(leafProperty, pcl());\n }\n parent.removeVetoablePropertyChangeListener(vpcl());\n parent.removeListChangeListener(listChangeListener());\n }\n }\n }\n }", "void removeListener(MapChangeListener<? super K, ? super V> listener);", "public void removeGameStateListener(GameStateListener gameListener);", "public void removeListener(INotifyChangedListener notifyChangedListener)\n {\n changeNotifier.removeListener(notifyChangedListener);\n }", "public void removePropertyChangeListener (\n String propertyName,\n PropertyChangeListener l\n ) {\n pcs.removePropertyChangeListener (propertyName, l);\n }", "public void removeToolListener(ToolListener listener, String toolEvent) {\n\t\t//do nothing\n\t}", "public @Override void removeUpdate(DocumentEvent evt, Shape a, ViewFactory f) {\n if (children == null && getParent() == null) {\n return;\n }\n\n if (useCustomReloadChildren()) {\n customRemoveUpdate(evt, a, f);\n } else {\n super.removeUpdate(evt, a, f); // default element-based update\n }\n }", "public void removeChangeListener(ChangeListener listener) {\n\t\tchangeListeners.remove(listener);\n\t}", "public void removePropertyChangeListener(PropertyChangeListener listener) {\n \tmPropertyChangeSupport.removePropertyChangeListener(listener);\n }", "public void removeShape(RetainedShape shapePeer) {\r\n\t\tshapePeer.vboHandle.delete();\r\n\t}", "public void removeChildEdited(Consumer<SpanNode<T>> listener){\n childEditedListeners.remove(listener);\n }", "public void removePropertyChangeListener(PropertyChangeListener propertyChangeListener) {\n }" ]
[ "0.66924804", "0.6685959", "0.66416854", "0.65394646", "0.6511003", "0.64767873", "0.6418025", "0.64117235", "0.6389372", "0.6385147", "0.637618", "0.632843", "0.6326346", "0.62998825", "0.62761086", "0.6275318", "0.6260473", "0.6257388", "0.62311184", "0.6225619", "0.6219894", "0.61980164", "0.6197659", "0.61692244", "0.61663765", "0.6131778", "0.6129122", "0.61254364", "0.61008644", "0.6080108", "0.6075745", "0.60547334", "0.60547334", "0.60547334", "0.60547334", "0.6050073", "0.6042853", "0.6026355", "0.60230136", "0.60230136", "0.60216004", "0.6021513", "0.60145843", "0.60145843", "0.6001724", "0.5999418", "0.5979354", "0.5977153", "0.59764004", "0.59643805", "0.5959434", "0.5942383", "0.592906", "0.5927101", "0.59235054", "0.59235054", "0.5916673", "0.5906845", "0.58998466", "0.5897345", "0.5896117", "0.58959395", "0.589562", "0.58920866", "0.5887954", "0.5887583", "0.5883909", "0.588289", "0.58700025", "0.5868619", "0.5865376", "0.58637184", "0.5855872", "0.58542496", "0.5828697", "0.5816769", "0.5810613", "0.5808701", "0.58054054", "0.580273", "0.5798753", "0.57970065", "0.5792841", "0.5790494", "0.578417", "0.5778031", "0.5775951", "0.57722896", "0.57656753", "0.57641876", "0.57636756", "0.5757522", "0.57547694", "0.5752966", "0.57428205", "0.5737277", "0.5731828", "0.5727987", "0.57278854", "0.57265985" ]
0.746698
0
Property change listener implementation.
public void propertyChange(PropertyChangeEvent anEvent) { // Get DeepChangeListener count (just return if zero) int deepListenerCount = getListenerCount(DeepChangeListener.class); if(deepListenerCount==0) return; // If change is fill/stroke, convert property name to "Fill.xxx" or "Stroke.xxx" for the sake of animation if(anEvent.getSource() instanceof RMFill) { Object source = anEvent.getSource(); String prefix = source==getFill()? "Fill" : source==getStroke()? "Stroke" : null; String propertyName = prefix + "." + anEvent.getPropertyName(); anEvent = new PropertyChangeEvent(this, propertyName, anEvent.getOldValue(), anEvent.getNewValue()); repaint(); } // Propagate to this shape's DeepChangeListeners (if present) for(int i=0, iMax=getListenerCount(DeepChangeListener.class); i<iMax; i++) getListener(DeepChangeListener.class, i).deepChange(this, anEvent); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void propertyChange(PropertyChangeEvent arg0) {\n\t\t\r\n\t}", "@Override\r\n\tpublic void propertyChange(PropertyChangeEvent arg0) {\n\t\t\r\n\t}", "@Override\n\tpublic void propertyChange(PropertyChangeEvent arg0) {\n\t\t\n\t}", "@Override\n\tpublic void propertyChange(PropertyChangeEvent arg0)\n\t{\n\t\t\n\t}", "@Override\n \tpublic void propertyChange(PropertyChangeEvent arg0) {\n \t\t\n \t}", "@Override\r\n\tpublic void propertyChange(PropertyChangeEvent arg0) {\n\r\n\t}", "@Override\n public void addPropertyChangeListener(PropertyChangeListener listener) {\n\n }", "@Override\n\tpublic void propertyChange(PropertyChangeEvent evt) {\n\t\t\n\t}", "public abstract void addPropertyChangeListener(PropertyChangeListener listener);", "protected void PropertyChanged()\r\n { }", "void addPropertyChangeListener(PropertyChangeListener listener);", "public void propertyChange(PropertyChangeEvent evt) {\n \r\n }", "public abstract void addPropertyChangeListener(IPropertyChangeListener listener);", "private static void usePropertyChangeListener() {\n SimpleStringProperty stringProperty = new SimpleStringProperty(\"xyz\");\n // Prints property's value\n System.out.println(stringProperty.getValue());\n // Adds a listener - action that will be run if property's value changes.\n stringProperty.addListener((observable, oldValue, newValue) -> {\n System.out.println(\"New value is set: \" + newValue);\n });\n // Sets new value\n stringProperty.setValue(\"Some new value\");\n }", "public void addPropertyChangeListener(PropertyChangeListener l);", "public void addPropertyChangeListener(PropertyChangeListener listener);", "PropertyChangeListener[] getPropertyChangeListeners();", "public void addListener(PropertyChangeListener listener, String propertyType);", "@Override\n\tpublic void propertyChange() {\n\t\tthis.apply();\n\t}", "void onPropertyChange(String name, String newValue);", "void addChangeListener(PropertyChangeListener<? super R> listener);", "@Override\n public void addPropertyChangeListener(PropertyChangeListener listener)\n {\n if (changes == null)\n {\n changes = new PropertyChangeSupport(this);\n }\n changes.addPropertyChangeListener(listener);\n }", "public void propertyChange(PropertyChangeEvent evt) {\r\n fireStateChanged();\r\n }", "public void addPropertyChangeListener(PropertyChangeListener listener)\n {\n }", "private void FilterPropertyChanges(Object sender, PropertyChangedEventArgs e)\r\n {\r\n // check if this is the property of interest\r\n if (e.getPropertyValue(_propertyName)!= null)\r\n PropertyChanged();\r\n }", "public void addPropertyChangeListener(PropertyChangeListener propertyChangeListener) {\n }", "public void propertyChange(PropertyChangeEvent e) {\n\n logger.debug(LOG_TAG + \".propertyChangeListener()\");\n String propertyName = e.getPropertyName();\n\n switch(propertyName) {\n case \"progress\":\n logger.info(\"client progress: \" + e.getNewValue());\n\n break;\n case \"state\":\n StateValue stateValue = ((StateValue)e.getNewValue());\n logger.info(\"client state: \" + stateValue.toString());\n\n switch(stateValue) {\n case STARTED:\n\n break;\n case PENDING:\n\n break;\n case DONE:\n\n break;\n } // eof switch\n } // eof switch\n\n }", "void addPropertyListener(PropertyListener listener);", "@Override\n public void propertyChange(PropertyChangeEvent e) {\n this.updateCoords();\n }", "public void addPropertyChangeListener (PropertyChangeListener l)\n { pcs.addPropertyChangeListener (l); }", "public interface PropertyChangeListener<T>\n{\n /**\n * Callback function when there is a change in any property that starts with key\n * It's upto the implementation to handle the following different cases 1) key\n * is a simple key and does not have any children. PropertyStore.getProperty(key) must\n * be used to retrieve the value; 2) key is a prefix and has children.\n * PropertyStore.getPropertyNames(key) must be used to retrieve all the children keys.\n * Its important to know that PropertyStore will not be able to provide the\n * delta[old value,new value] or which child was added/deleted. The\n * implementation must take care of the fact that there might be callback for\n * every child thats added/deleted. General way applications handle this is\n * keep a local cache of keys and compare against the latest keys.\n * \n * @param key\n */\n void onPropertyChange(String key);\n}", "protected void do_childSupportFTF_propertyChange(PropertyChangeEvent arg0) {\n\t\tsetIncomeTotal();\n\t}", "public void setPropertyChanged(com.app.tvp.cas.cliente.PropertyChangedEventHandler propertyChanged) {\n this.propertyChanged = propertyChanged;\n }", "public void propertyChange(String propertyName, Object oldValue, Object newValue) {\r\n propertyChangeSupport.firePropertyChange(propertyName, oldValue, newValue);\r\n }", "public PropertyChangeListener[] getPropertyChangeListeners();", "@Override\n\tpublic void onPropertyModified(PropertyDescriptor descriptor, String oldValue, String newValue) {\n\t\tsuper.onPropertyModified(descriptor, oldValue, newValue);\n\t\t\n\t\t\n\t\t\n\t}", "void onPropertyChange(String key);", "public void addPropertyChangeListener (PropertyChangeListener l) {\n pcs.addPropertyChangeListener (l);\n }", "default void addPropertyChangeListener(PropertyChangeListener listener)\r\n {\r\n }", "void onChangeEvent(CarPropertyValue value);", "@Override\n public synchronized void addPropertyChangeListener(PropertyChangeListener listener) {\n if (listeners == null) {\n listeners = new PropertyChangeSupport(this);\n }\n listeners.addPropertyChangeListener(listener);\n }", "public void addPropertyChangeListener(@NotNull PropertyChangeListener listener) {\n }", "protected void do_utilityFTF_propertyChange(PropertyChangeEvent arg0) {\n\t\tsetIncomeTotal();\n\t}", "public void addPropertyChangeListener(PropertyChangeListener listener) {\n\n\t}", "@Override\n public void propertyChange(PropertyChangeEvent event) {\n if (!hasOverrideFor(event.getProperty()))\n fireMappingChanged(event.getProperty(), event.getOldValue(), event.getNewValue());\n }", "@Override\n public void propertyChange(final PropertyChangeEvent theEvent) {\n if (\"speed up\".equals(theEvent.getPropertyName())) {\n faster();\n } else if (\"change dimensions\".equals(theEvent.getPropertyName())) {\n myWidth = (int) theEvent.getOldValue();\n myHeight = (int) theEvent.getNewValue();\n } else if (\"update board\".equals(theEvent.getPropertyName())) {\n myGameMode = (String) theEvent.getOldValue();\n myBoard = (Board) theEvent.getNewValue();\n }\n }", "@Override\n public void propertyChange(java.beans.PropertyChangeEvent ev) {\n fireInAWT(PROP_NODE_CHANGE, null, null);\n }", "public void modelPropertyChange(PropertyChangeEvent evt) {\n\t\t\n\t}", "public synchronized void addPropertyChangeListener(java.beans.PropertyChangeListener listener) {\r\n\tgetPropertyChange().addPropertyChangeListener(listener);\r\n}", "@Override\n\tpublic void addPropertyChangeListener(PropertyChangeListener l) {\n\t\t//do nothing\n\t}", "@Override\n public void propertyChange(PropertyChangeEvent evt) {\n\n System.out.println(\"Customer \" + this.name + \" observed a change in \" +\n evt.getPropertyName() + \" of \" + evt.getSource());\n\n System.out.println(\n evt.getOldValue() + \" has changed to \" + evt.getNewValue() + \". \");\n\n System.out.println();\n }", "@Override\n public void addPropertyChangeListener( String propertyName, PropertyChangeListener listener )\n {\n if( componentModel == null )\n return;\n\n if( propertyName==null )\n {\n componentModel.addPropertyChangeListener( listener );\n }\n else\n {\n Property prop = componentModel.findProperty( propertyName );\n if ( prop != null )\n {\n prop.addPropertyChangeListener( listener );\n }\n }\n }", "public void firePropertyChange(String propertyName, Object oldValue, Object newValue);", "public String listen(String key, PropertyChangedCallback callback);", "public void propertyChange(PropertyChangeEvent e) {\n String name = e.getPropertyName();\n if (name.equals(\"stepnumber\")) { //$NON-NLS-1$\n if (trackerPanel.getSelectedTrack() == this) {\n displayWorldCoordinates();\n stepValueLabel.setText(e.getNewValue() + \":\"); //$NON-NLS-1$\n }\n } else if (name.equals(\"locked\")) { //$NON-NLS-1$\n xField.setEnabled(!isLocked());\n yField.setEnabled(!isLocked());\n } else super.propertyChange(e);\n }", "public void addPropertyChangeListener(PropertyChangeListener pListener) {\n \tmodel.addPropertyChangeListener(pListener);\n }", "public final void propertyChange(PropertyChangeEvent evt) {\n Object oldValue = evt.getOldValue();\n Object newValue = evt.getNewValue();\n String propertyName = evt.getPropertyName();\n if ((oldValue instanceof Document) || (newValue instanceof Document)) {\n if (oldValue != null) {\n ((Document)oldValue).removeDocumentListener(this);\n i18nView = false;\n }\n if (newValue != null) {\n ((Document)newValue).addDocumentListener(this);\n if (\"document\" == propertyName) {\n setView(null);\n BasicTextUI.this.propertyChange(evt);\n modelChanged();\n return;\n }\n }\n modelChanged();\n }\n if (\"focusAccelerator\" == propertyName) {\n updateFocusAcceleratorBinding(true);\n } else if (\"componentOrientation\" == propertyName) {\n // Changes in ComponentOrientation require the views to be\n // rebuilt.\n Document document = editor.getDocument();\n final String I18NProperty = \"i18n\";\n // if a default direction of right-to-left has been specified,\n // we want complex layout even if the text is all left to right.\n if (ComponentOrientation.RIGHT_TO_LEFT == newValue\n && ! Boolean.TRUE.equals(document.getProperty(I18NProperty))) {\n document.putProperty(I18NProperty, Boolean.TRUE);\n }\n modelChanged();\n } else if (\"font\" == propertyName) {\n modelChanged();\n } else if (\"dropLocation\" == propertyName) {\n dropIndexChanged();\n } else if (\"editable\" == propertyName) {\n updateCursor();\n modelChanged();\n }\n BasicTextUI.this.propertyChange(evt);\n }", "public void propertyChange(PropertyChangeEvent evt) {\n super.propertyChange(evt);\n if (evt.getPropertyName() == \"keeperactivity\") {\n this.setJob((String) evt.getNewValue());\n }\n else if (evt.getPropertyName() == \"foodactivity\"){\n this._makeAnnouncement(\"The food server just served \" + (String) evt.getNewValue());\n }\n }", "public void propertyChange(PropertyChangeEvent evt)\n/* */ {\n/* 76 */ CompoundPainter<?> painter = (CompoundPainter)this.ref.get();\n/* */ \n/* 78 */ if (painter == null) {\n/* 79 */ AbstractPainter<?> src = (AbstractPainter)evt.getSource();\n/* 80 */ src.removePropertyChangeListener(this);\n/* */ } else {\n/* 82 */ String property = evt.getPropertyName();\n/* */ \n/* 84 */ if ((\"dirty\".equals(property)) && (evt.getNewValue() == Boolean.FALSE)) {\n/* 85 */ return;\n/* */ }\n/* */ \n/* 88 */ painter.setDirty(true);\n/* */ }\n/* */ }", "public void propertyChange(PropertyChangeEvent evt) {\n if(evt.getPropertyName().equals(\"position\")){\n// System.out.println(\"slider property change new val=\"+evt.getNewValue());\n sliderDontProcess=true;\n // note this cool semaphore/flag trick to avoid processing the\n // event generated when we programmatically set the slider position here\n playerSlider.setValue(Math.round(player.getFractionalPosition()*100));\n }else if(evt.getPropertyName().equals(\"readerStarted\")){\n log.info(\"MotionViewer.propertyChange: AEReader started, fixing device control menu\");\n // cypress reader started, can set device control for cypress usbio reader thread\n// fixDeviceControlMenuItems();\n }\n }", "protected void do_socialSecurityFTF_propertyChange(PropertyChangeEvent arg0) {\n\t\tsetIncomeTotal();\n\t}", "public void addPropertyChangeListener (\n String propertyName,\n PropertyChangeListener l\n ) {\n pcs.addPropertyChangeListener (propertyName, l);\n }", "protected void do_foodStampsFTF_propertyChange(PropertyChangeEvent arg0) {\n\t\tsetIncomeTotal();\n\t}", "@Override\n public void propertyChange(PropertyChangeEvent evt) {\n if (evt.getPropertyName() == DataObject.PROP_MODIFIED &&\n evt.getNewValue() == Boolean.FALSE) {\n // dataobject has been modified, context graph is out of sync\n synchronized (this) {\n context = null;\n }\n }\n }", "public void setChangeListener();", "@Override\n public void addChangeListener(ChangeListener l) {}", "public void propertyChange(PropertyChangeEvent ev) {\n\t\tif (ev.getPropertyName().equals(HPort.PROPERTY_BOUNDS)) this.refreshVisuals();\r\n\t//\tif (ev.getPropertyName().equals(IHProvidesPort.PROPERTY_COLOR)) this.refreshVisuals();\r\n\r\n\t\t\t\r\n\t}", "public void firePropertyChange(java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue) {\r\n\tgetPropertyChange().firePropertyChange(propertyName, oldValue, newValue);\r\n}", "public void propertyChange(final PropertyChangeEvent _event)\n {\n this.updateStyle();\n }", "@Override\n public void propertyChange(PropertyChangeEvent pce) {\n if (null == map) {\n return;\n }\n\n map.getOrDefault(pce.getPropertyName(), Collections.emptyList())\n .forEach(pcl -> pcl.propertyChange(pce));\n }", "@Override\n\tpublic void propertyChange(PropertyChangeEvent evt) {\n\t\tfillFields();\n\t}", "protected java.beans.PropertyChangeSupport getPropertyChange() {\r\n\tif (propertyChange == null) {\r\n\t\tpropertyChange = new java.beans.PropertyChangeSupport(this);\r\n\t};\r\n\treturn propertyChange;\r\n}", "public void propertyChange(PropertyChangeEvent e) {\n super.propertyChange(e);\n String name = e.getPropertyName();\n if (e.getSource() == paramEditor && name.equals(\"edit\")) { //$NON-NLS-1$\n initEditor.getTable().selectOnFocus = false;\n } else if (name.equals(\"angles_in_radians\") && model.trackerPanel != null) { //$NON-NLS-1$\n model.trackerPanel.getTFrame().setAnglesInRadians((Boolean) e.getNewValue());\n }\n }", "public void afterPropertyChange(T obj, String propertyName, Object oldValue, Object newValue);", "public final void addPropertyChangeListener (PropertyChangeListener pl) {\n if (changeSupport == null)\n changeSupport = new PropertyChangeSupport (this);\n changeSupport.addPropertyChangeListener (pl);\n }", "@Override\n public void propertyChange(PropertyChangeEvent event) {\n if (PrologAtoms.ENCODING.equals(event.getPropertyName())) {\n Term value = (Term) event.getNewValue();\n } else if (event.getPropertyName().equals(\"file_name\")) {\n setPath(Paths.get((String) event.getNewValue()));\n }\n setEncodingChanged(isEncodingPermitted());\n encodingPermitted = false;\n }", "protected void do_tanfFTF_propertyChange(PropertyChangeEvent arg0) {\n\t\tsetIncomeTotal();\n\t}", "public void addPropertyChangeListener(PropertyChangeListener pcl) {\n\t\tproperties.addListener(pcl);\n\t}", "Property changeValue(PropertyValue<?, ?> oldValue,\n\t\t\tPropertyValue<?, ?> newValue);", "public void addPropertyChangeListener(PropertyChangeListener l) {\n getPropertyChangeSupport().addPropertyChangeListener(l);\n }", "public void addPropertyChangeListener(java.beans.PropertyChangeListener l) {\r\n propertyChangeSupport.addPropertyChangeListener(l);\r\n }", "public void addPropertyChangeListener(ActionListener<PropertyChangeEvent> l) {\n if (root != null) {\n Property prop = property;\n if (prop == null && tags != null) {\n prop = root.getEntity().findProperty(tags);\n }\n if (prop != null) {\n root.getEntity().addPropertyChangeListener(prop, pcl());\n }\n } else {\n Entity leafEntity = getLeafEntity();\n Property leafProperty = getLeafProperty();\n if (leafEntity != null && leafProperty != null) {\n leafEntity.getEntity().addPropertyChangeListener(leafProperty, pcl());\n }\n parent.addVetoablePropertyChangeListener(vpcl());\n parent.addListChangeListener(listChangeListener());\n }\n if (listeners == null) {\n listeners = new EventDispatcher();\n }\n listeners.addListener(l);\n \n }", "@Override\r\n public void rmValueListener(PropertyChangeListener l) {\n\r\n }", "public void notifyChanged(final Notification msg) {\r\n\t super.notifyChanged(msg);\r\n\t \r\n\t if(msg.getFeature() == PropertiesPackage.Literals.PROPERTY__VALUE) {\r\n\t \tsetGUIAttributes();\r\n\t }\r\n\t }", "protected PropertyChangeListener createPropertyChangeListener() {\n return new PropertyChangeHandler(); }", "public void testPropertyChange() {\n System.out.println(\"propertyChange\");\n PropertyChangeEvent evt = null;\n Wizard instance = new Wizard();\n instance.propertyChange(evt);\n }", "public void addPropertyChangeListener(java.beans.PropertyChangeListener l) {\n propertyChangeSupport.addPropertyChangeListener( l );\n }", "public PropertyChangeEvent(Object source, String propertyName,\n Object oldVal, Object newVal)\n {\n super(source);\n this.propertyName = propertyName;\n oldValue = oldVal;\n newValue = newVal;\n }", "public abstract void addPropertyChangeListener(PropertyChangeListener listener, String kenaiHostUrl);", "public void addPropertyChangeListener(java.beans.PropertyChangeListener listener) {\n\tmPcs.addPropertyChangeListener(listener);\n }", "public void addPropertyChangeListener(PropertyChangeListener listener) {\n \tmPropertyChangeSupport.addPropertyChangeListener(listener);\n }", "public void addPropertyChangeListener(java.beans.PropertyChangeListener l) {\n propertyChangeSupport.addPropertyChangeListener(l);\n }", "public void addPropertyChangeListener(java.beans.PropertyChangeListener l) {\n propertyChangeSupport.addPropertyChangeListener(l);\n }", "public void addPropertyChangeListener(java.beans.PropertyChangeListener l) {\n propertyChangeSupport.addPropertyChangeListener(l);\n }", "protected void addListenerForProperty(MapChangeListener<Object, Object> aMapChangeListener, String aProperty) {\n\n // Create a wrapper, which will only trigger the given Listener when the given property has changed.\n MapChangeListener<Object, Object> tmpListenerWrapper = (aChange -> {\n\n // Current document changed?\n if (aChange.getKey().equals(aProperty)) {\n\n aMapChangeListener.onChanged(aChange);\n }\n });\n\n // Add the wrapper listener to our List of added Listeners\n stagePropertiesListenersList.add(tmpListenerWrapper);\n\n // Add it to the stage properties.\n stage.getProperties().addListener(tmpListenerWrapper);\n }", "@Override\n public void removePropertyChangeListener(PropertyChangeListener listener) {\n\n }", "public void addPropertyChangeListener(PropertyChangeListener listener) {\n\t\tthis.propertyChangeSupport.addPropertyChangeListener(listener);\n\t\tthis.messages.addPropertyChangeListener(listener);\n\t\tthis.endGameReached.addPropertyChangeListener(listener);\n\t}", "private PropertyChangeListener createListener() {\n return new PropertyChangeListener() {\n @Override\n public void propertyChange(PropertyChangeEvent evt) {\n String propertyName = evt.getPropertyName();\n if (Filter.PROPERTY_PATTERN.equals(propertyName)) {\n DocumentViewPanel.RP.post(new Runnable() {\n @Override\n public void run() {\n refreshKeys();\n }\n });\n }\n }\n };\n }", "@Override\r\n\t\t\tpublic void onPropertyChange(String... paths) {\n\t\t\t\t\r\n\t\t\t}", "@Override\n\t\t\t\tpublic void propertyChange(PropertyChangeEvent evt) {\n\t\t\t\t\tswitch (evt.getPropertyName()) {\n\n\t\t\t\t\t// propertyName progress tells us progress value\n\t\t\t\t\tcase \"progress\":\n\t\t\t\t\t\twindow.setScalingProgressBar((Integer) evt.getNewValue());\n\t\t\t\t\t}\n\n\t\t\t\t}", "protected java.beans.PropertyChangeSupport getPropertyChange() {\n\t\tif (propertyChange == null) {\n\t\t\tpropertyChange = new java.beans.PropertyChangeSupport(this);\n\t\t};\n\t\treturn propertyChange;\n\t}" ]
[ "0.80709875", "0.80709875", "0.80577856", "0.7974351", "0.79680914", "0.79243666", "0.78680426", "0.7702937", "0.7626625", "0.7611598", "0.7558387", "0.7557934", "0.7522989", "0.7505107", "0.7496337", "0.7461843", "0.74311215", "0.7371058", "0.7317936", "0.72682077", "0.72659725", "0.7259084", "0.7247182", "0.7213433", "0.71783745", "0.71749884", "0.71707827", "0.7089029", "0.70548385", "0.7025737", "0.70082", "0.70076895", "0.7006709", "0.7005392", "0.6968752", "0.6961472", "0.694878", "0.6944984", "0.69409096", "0.6924883", "0.68896145", "0.6869743", "0.6869096", "0.6867866", "0.68563795", "0.6840283", "0.6820338", "0.6820268", "0.681919", "0.6816054", "0.68076795", "0.6791476", "0.6767886", "0.6750897", "0.67485195", "0.6740735", "0.6738176", "0.67288786", "0.67201245", "0.6719286", "0.67117727", "0.66957086", "0.6676229", "0.667331", "0.6666101", "0.66466564", "0.664603", "0.66451734", "0.66413903", "0.6611215", "0.66051924", "0.660462", "0.66038716", "0.6600272", "0.6598602", "0.6589128", "0.65862", "0.6580004", "0.65796304", "0.656988", "0.65695155", "0.6564746", "0.6563589", "0.6557327", "0.65459293", "0.65365463", "0.65219444", "0.65199274", "0.6509631", "0.65000963", "0.649368", "0.64915574", "0.64915574", "0.64915574", "0.6477551", "0.64766914", "0.6474691", "0.64640766", "0.6458891", "0.6443399", "0.64395845" ]
0.0
-1
Deep property change listener implementation.
public void deepChange(PropertyChangeListener aListener, PropertyChangeEvent anEvent) { for(int i=0, iMax=getListenerCount(DeepChangeListener.class); i<iMax; i++) getListener(DeepChangeListener.class, i).deepChange(aListener, anEvent); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void propertyChange(PropertyChangeEvent anEvent)\n{\n // Get DeepChangeListener count (just return if zero)\n int deepListenerCount = getListenerCount(DeepChangeListener.class); if(deepListenerCount==0) return;\n \n // If change is fill/stroke, convert property name to \"Fill.xxx\" or \"Stroke.xxx\" for the sake of animation\n if(anEvent.getSource() instanceof RMFill) {\n Object source = anEvent.getSource();\n String prefix = source==getFill()? \"Fill\" : source==getStroke()? \"Stroke\" : null;\n String propertyName = prefix + \".\" + anEvent.getPropertyName();\n anEvent = new PropertyChangeEvent(this, propertyName, anEvent.getOldValue(), anEvent.getNewValue());\n repaint();\n }\n \n // Propagate to this shape's DeepChangeListeners (if present)\n for(int i=0, iMax=getListenerCount(DeepChangeListener.class); i<iMax; i++)\n getListener(DeepChangeListener.class, i).deepChange(this, anEvent);\n}", "public void addDeepChangeListener(DeepChangeListener aListener)\n{\n addListener(DeepChangeListener.class, aListener); // Add listener\n if(getListenerCount(DeepChangeListener.class)==1) // If first listener, add for children\n for(int i=0, iMax=getChildCount(); i<iMax; i++) { RMShape child = getChild(i);\n child.addPropertyChangeListener(this); child.addDeepChangeListener(this); }\n}", "@Override\r\n\tpublic void propertyChange(PropertyChangeEvent arg0) {\n\t\t\r\n\t}", "@Override\r\n\tpublic void propertyChange(PropertyChangeEvent arg0) {\n\t\t\r\n\t}", "@Override\n\tpublic void propertyChange(PropertyChangeEvent arg0) {\n\t\t\n\t}", "@Override\n public void propertyChange(java.beans.PropertyChangeEvent ev) {\n fireInAWT(PROP_NODE_CHANGE, null, null);\n }", "@Override\n\tpublic void propertyChange() {\n\t\tthis.apply();\n\t}", "@Override\n \tpublic void propertyChange(PropertyChangeEvent arg0) {\n \t\t\n \t}", "private void FilterPropertyChanges(Object sender, PropertyChangedEventArgs e)\r\n {\r\n // check if this is the property of interest\r\n if (e.getPropertyValue(_propertyName)!= null)\r\n PropertyChanged();\r\n }", "@Override\r\n\tpublic void propertyChange(PropertyChangeEvent arg0) {\n\r\n\t}", "@Override\n\tpublic void propertyChange(PropertyChangeEvent arg0)\n\t{\n\t\t\n\t}", "private void addVetoablePropertyChangeListener(ActionListener<VetoablePropertyChangeEvent> l) {\n if (root != null) {\n Property prop = property;\n if (prop == null && tags != null) {\n prop = root.getEntity().findProperty(tags);\n }\n if (prop != null) {\n root.getEntity().addVetoablePropertyChangeListener(prop, l);\n }\n } else {\n Entity leafEntity = getLeafEntity();\n Property leafProperty = getLeafProperty();\n if (leafEntity != null && leafProperty != null) {\n leafEntity.getEntity().addVetoablePropertyChangeListener(leafProperty, l);\n }\n parent.addVetoablePropertyChangeListener(l);\n }\n \n }", "@Override\n public void propertyChange(PropertyChangeEvent evt) {\n if (evt.getPropertyName() == DataObject.PROP_MODIFIED &&\n evt.getNewValue() == Boolean.FALSE) {\n // dataobject has been modified, context graph is out of sync\n synchronized (this) {\n context = null;\n }\n }\n }", "public void addPropertyChangeListener(ActionListener<PropertyChangeEvent> l) {\n if (root != null) {\n Property prop = property;\n if (prop == null && tags != null) {\n prop = root.getEntity().findProperty(tags);\n }\n if (prop != null) {\n root.getEntity().addPropertyChangeListener(prop, pcl());\n }\n } else {\n Entity leafEntity = getLeafEntity();\n Property leafProperty = getLeafProperty();\n if (leafEntity != null && leafProperty != null) {\n leafEntity.getEntity().addPropertyChangeListener(leafProperty, pcl());\n }\n parent.addVetoablePropertyChangeListener(vpcl());\n parent.addListChangeListener(listChangeListener());\n }\n if (listeners == null) {\n listeners = new EventDispatcher();\n }\n listeners.addListener(l);\n \n }", "protected void PropertyChanged()\r\n { }", "DefinedProperty relChangeProperty( long relId, int propertyKey, Object value );", "DefinedProperty graphChangeProperty( int propertyKey, Object value );", "@Override\n\tpublic void propertyChange(PropertyChangeEvent evt) {\n\t\t\n\t}", "protected void do_childSupportFTF_propertyChange(PropertyChangeEvent arg0) {\n\t\tsetIncomeTotal();\n\t}", "public void actionPerformed(PropertyChangeEvent afterEvent) {\n source.getEntity().removePropertyChangeListener(prop, this);\n \n // Re-add vetoable change and list change listeners to the parent\n parent.addVetoablePropertyChangeListener(vpcl);\n parent.addListChangeListener(listChangeListener());\n\n // Get the new value\n Entity newLeafEntity = getLeafEntity();\n Property newLeafProperty = getLeafProperty();\n\n Object newValue;\n if (newLeafEntity != null && newLeafProperty != null) {\n \n // Re-add the property change listener to the leaf entity\n newLeafEntity.getEntity().addPropertyChangeListener(newLeafProperty, pcl);\n newValue = newLeafEntity.getEntity().get(newLeafProperty);\n \n } else {\n newValue = null;\n }\n if (!Objects.equals(oldValue, newValue)) {\n // We need to explicitly fire the property change event\n // if the new value has changed, because otherwise we won't receive the event.\n listeners.fireActionEvent(new PropertyChangeEvent(newLeafEntity, newLeafProperty, oldValue, newValue));\n }\n \n\n\n }", "public interface PropertyChangeListener<T>\n{\n /**\n * Callback function when there is a change in any property that starts with key\n * It's upto the implementation to handle the following different cases 1) key\n * is a simple key and does not have any children. PropertyStore.getProperty(key) must\n * be used to retrieve the value; 2) key is a prefix and has children.\n * PropertyStore.getPropertyNames(key) must be used to retrieve all the children keys.\n * Its important to know that PropertyStore will not be able to provide the\n * delta[old value,new value] or which child was added/deleted. The\n * implementation must take care of the fact that there might be callback for\n * every child thats added/deleted. General way applications handle this is\n * keep a local cache of keys and compare against the latest keys.\n * \n * @param key\n */\n void onPropertyChange(String key);\n}", "public void propertyChange(PropertyChangeEvent evt)\n/* */ {\n/* 76 */ CompoundPainter<?> painter = (CompoundPainter)this.ref.get();\n/* */ \n/* 78 */ if (painter == null) {\n/* 79 */ AbstractPainter<?> src = (AbstractPainter)evt.getSource();\n/* 80 */ src.removePropertyChangeListener(this);\n/* */ } else {\n/* 82 */ String property = evt.getPropertyName();\n/* */ \n/* 84 */ if ((\"dirty\".equals(property)) && (evt.getNewValue() == Boolean.FALSE)) {\n/* 85 */ return;\n/* */ }\n/* */ \n/* 88 */ painter.setDirty(true);\n/* */ }\n/* */ }", "@Override\n public void propertyChange(PropertyChangeEvent event) {\n if (!hasOverrideFor(event.getProperty()))\n fireMappingChanged(event.getProperty(), event.getOldValue(), event.getNewValue());\n }", "PropertyChangeListener[] getPropertyChangeListeners();", "DefinedProperty nodeChangeProperty( long nodeId, int propertyKey, Object value );", "@Override\n public void addPropertyChangeListener(PropertyChangeListener listener) {\n\n }", "public void propertyChange(PropertyChangeEvent evt) {\n \r\n }", "public void analyseRecentPropertyChanges() {\r\n\t\tboolean enableIndexGeneration = !isDeActivatedHovering();\r\n\t\tboolean requiresIndexGeneration = false;\r\n\t\tif (changedProperties.size() == 0) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tSet<String> keySet = changedProperties.keySet();\r\n\t\tfor (String property : keySet) {\r\n\r\n\t\t\t// If deactivated checkbox is changed\r\n\t\t\tif (property.equals(HoverConstants.PREFERENCE_DEACTIVATE_HOVERING)) {\r\n\t\t\t\tPropertyChangeEvent event = changedProperties\r\n\t\t\t\t\t\t.get(HoverConstants.PREFERENCE_DEACTIVATE_HOVERING);\r\n\t\t\t\tboolean deActivated = (Boolean) event.getNewValue();\r\n\t\t\t\tLogger.logDebug(\"DeActivated Old value\" + event.getOldValue()\r\n\t\t\t\t\t\t+ \" new value\" + event.getNewValue());\r\n\t\t\t\tif (deActivated) {\r\n\t\t\t\t\tHoverManager.getInstance().setEnabled(false);\r\n\t\t\t\t\tenableIndexGeneration = false;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tenableIndexGeneration = true;\r\n\t\t\t\t\trequiresIndexGeneration = true;\r\n\t\t\t\t}\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\r\n\t\t\t// if active developer library item has changed\r\n\t\t\tif (property.equals(HoverConstants.PREFERENCE_DEV_LIB_LOC)) {\r\n\t\t\t\tPropertyChangeEvent event = changedProperties\r\n\t\t\t\t\t\t.get(HoverConstants.PREFERENCE_DEV_LIB_LOC);\r\n\t\t\t\tString oldValue = (String) event.getOldValue();\r\n\t\t\t\tString newValue = (String) event.getNewValue();\r\n\t\t\t\tif (oldValue.equals(newValue)) {\r\n\t\t\t\t\tcontinue;\r\n\t\t\t\t}\r\n\t\t\t\trequiresIndexGeneration = true;\r\n\t\t\t\tLogger.logDebug(\"New index is generating. Old value\"\r\n\t\t\t\t\t\t+ event.getOldValue() + \" new value\"\r\n\t\t\t\t\t\t+ event.getNewValue());\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\r\n\t\t}\r\n\r\n\t\tLogger.logDebug(\"enableIndexGeneration:\" + enableIndexGeneration\r\n\t\t\t\t+ \" requiresIndexGeneration:\" + requiresIndexGeneration);\r\n\t\tif (enableIndexGeneration && requiresIndexGeneration) {\r\n\t\t\tLogger.logDebug(\"before gen index\");\r\n\t\t\tgenerateNewIndex();\r\n\t\t\tLogger.logDebug(\"after gen index\");\r\n\t\t}\r\n\r\n\t\tresetChangedProperties();\r\n\t}", "@Override\n public void propertyChange( PropertyChangeEvent evt )\n {\n String propertyName = evt.getPropertyName();\n boolean recreate = propertyName.equals(\"*\");\n\n int ind = propertyName.lastIndexOf( '.' );\n String modifier = null;\n if ( ind > 0 )\n {\n modifier = propertyName.substring( ind );\n propertyName = propertyName.substring( 0, ind );\n }\n\n if ( modifier != null && ( modifier.equals( EventConstants.EVT_SET_VALUE ) ||\n modifier.equals( EventConstants.EVT_PROPERTY_ADDED ) ||\n modifier.equals( EventConstants.EVT_PROPERTY_REMOVED ) ) )\n {\n recreate = true;\n }\n\n Property p = componentModel.findProperty( propertyName );\n if( p instanceof CompositeProperty && !(p.isHideChildren()) )\n recreate = true;\n\n if ( p == null && !recreate)\n {\n return;\n }\n\n if ( (p instanceof SimpleProperty ) || ! recreate )\n {\n Point rows = getRowRange( p );\n if ( rows != null )\n {\n AbstractTableModel tm = ( AbstractTableModel )treeTable.getModel();\n tm.fireTableChanged( new TableModelEvent( tm, rows.x, rows.y ) );\n }\n }\n else\n {\n ComponentFactory.recreateChildProperties( p );\n if(treeTable != null)\n treeTable.updateUI();\n }\n\n }", "public abstract void addPropertyChangeListener(IPropertyChangeListener listener);", "private void removeVetoablePropertyChangeListener(ActionListener<VetoablePropertyChangeEvent> l) {\n if (root != null) {\n Property prop = property;\n if (prop == null && tags != null) {\n prop = root.getEntity().findProperty(tags);\n }\n if (prop != null) {\n root.getEntity().addVetoablePropertyChangeListener(prop, l);\n }\n } else {\n Entity leafEntity = getLeafEntity();\n Property leafProperty = getLeafProperty();\n if (leafEntity != null && leafProperty != null) {\n leafEntity.getEntity().addVetoablePropertyChangeListener(leafProperty, l);\n }\n parent.addVetoablePropertyChangeListener(l);\n }\n }", "public abstract void addPropertyChangeListener(PropertyChangeListener listener);", "public void propertyChange(PropertyChangeEvent e) {\n\n logger.debug(LOG_TAG + \".propertyChangeListener()\");\n String propertyName = e.getPropertyName();\n\n switch(propertyName) {\n case \"progress\":\n logger.info(\"client progress: \" + e.getNewValue());\n\n break;\n case \"state\":\n StateValue stateValue = ((StateValue)e.getNewValue());\n logger.info(\"client state: \" + stateValue.toString());\n\n switch(stateValue) {\n case STARTED:\n\n break;\n case PENDING:\n\n break;\n case DONE:\n\n break;\n } // eof switch\n } // eof switch\n\n }", "@Override\n public void propertyChange(PropertyChangeEvent e) {\n this.updateCoords();\n }", "@Override\n public void setOnHierarchyChangeListener(OnHierarchyChangeListener listener) {\n mPassThroughListener.mOnHierarchyChangeListener = listener;\n }", "@Override\n public void changed( Change change ) {\n if ( !( change.isSelected()\n && change.isForInstanceOf( Node.class )\n && change.isForProperty( \"other\" ) ) ) {\n if ( change.isUpdated() ) {\n setFlowUpdated( true );\n }\n super.changed( change );\n }\n }", "@Override\n\tpublic void onPropertyModified(PropertyDescriptor descriptor, String oldValue, String newValue) {\n\t\tsuper.onPropertyModified(descriptor, oldValue, newValue);\n\t\t\n\t\t\n\t\t\n\t}", "public void addPropertyChangeListener(PropertyChangeListener l);", "public void propertyChange(String propertyName, Object oldValue, Object newValue) {\r\n propertyChangeSupport.firePropertyChange(propertyName, oldValue, newValue);\r\n }", "void addPropertyListener(PropertyListener listener);", "public void afterPropertyChange(T obj, String propertyName, Object oldValue, Object newValue);", "void addChangeListener(PropertyChangeListener<? super R> listener);", "@Override\n public void propertyChange(PropertyChangeEvent pce) {\n if (null == map) {\n return;\n }\n\n map.getOrDefault(pce.getPropertyName(), Collections.emptyList())\n .forEach(pcl -> pcl.propertyChange(pce));\n }", "protected void chartPartDidChange(PropChange aPC)\n {\n // Do normal version\n super.chartPartDidChange(aPC);\n\n // Clear cached data path info\n Object src = aPC.getSource();\n if (src == getTrace() || src instanceof Axis) {\n clearDataPath();\n }\n }", "@Override\n public void addPropertyChangeListener(PropertyChangeListener listener)\n {\n if (changes == null)\n {\n changes = new PropertyChangeSupport(this);\n }\n changes.addPropertyChangeListener(listener);\n }", "void onChangeEvent(CarPropertyValue value);", "@Override\r\n\t\t\tpublic void onPropertyChange(String... paths) {\n\t\t\t\t\r\n\t\t\t}", "private void receiveEndpointChanged(Endpoint newValue, Endpoint oldValue)\n {\n if (newValue != null)\n {\n newValue.addPropertyChangeListener(propertyChangeListener);\n }\n else\n {\n // This is acceptable when a participant leaves.\n }\n\n if (oldValue != null)\n {\n // Not strictly necessary since we're using a\n // WeakReferencePropertyChangeListener but why not.\n oldValue.removePropertyChangeListener(propertyChangeListener);\n }\n }", "void addPropertyChangeListener(PropertyChangeListener listener);", "public void firePropertyChange(String propertyName, Object oldValue, Object newValue);", "public PropertyChangeListener[] getPropertyChangeListeners();", "public void firePropertyChange(java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue) {\r\n\tgetPropertyChange().firePropertyChange(propertyName, oldValue, newValue);\r\n}", "public void addListener(PropertyChangeListener listener, String propertyType);", "public abstract void addPropertyChangeListener(PropertyChangeListener listener, String kenaiHostUrl);", "protected void childrenChanged() {\n proxyGroup.childrenChanged();\n }", "public void removeDeepChangeListener(DeepChangeListener aLstnr) { removeListener(DeepChangeListener.class, aLstnr); }", "public void propertyChange(PropertyChangeEvent evt) {\r\n fireStateChanged();\r\n }", "private void propagatePropertyUpdate(String name, String value, boolean force)\n {\n if (properties != null)\n {\n if (force || !declaredPropertyMap.containsKey(name))\n {\n if (value == null)\n {\n properties.remove(name);\n }\n else\n {\n properties.put(name, value);\n }\n\n //\n if (accessedChildren != null)\n {\n for (Iterator i = accessedChildren.iterator(); i.hasNext();)\n {\n PortalObjectImpl child = (PortalObjectImpl)i.next();\n child.propagatePropertyUpdate(name, value, false);\n }\n }\n }\n }\n }", "public void testPropertyChange() {\n System.out.println(\"propertyChange\");\n PropertyChangeEvent evt = null;\n Wizard instance = new Wizard();\n instance.propertyChange(evt);\n }", "Property changeValue(PropertyValue<?, ?> oldValue,\n\t\t\tPropertyValue<?, ?> newValue);", "@Override\n\t\tpublic void processPropertyDocument(PropertyDocument propertyDocument) {\n\t\t}", "public void valueForPathChanged(TreePath path, Object newValue) {\n\t}", "public void valueForPathChanged(TreePath path, Object newValue) {\n\t}", "public void addPropertyChangeListener(PropertyChangeListener listener);", "public void modelPropertyChange(PropertyChangeEvent evt) {\n\t\t\n\t}", "@Override\n public void propertyChange(PropertyChangeEvent evt) {\n\n System.out.println(\"Customer \" + this.name + \" observed a change in \" +\n evt.getPropertyName() + \" of \" + evt.getSource());\n\n System.out.println(\n evt.getOldValue() + \" has changed to \" + evt.getNewValue() + \". \");\n\n System.out.println();\n }", "void onPropertyChange(String name, String newValue);", "public WeakPropertyChangeListener(PropertyChangeNotifier notifier)\r\n {\r\n this.notifier = notifier;\r\n }", "public void onRelationshipChanged();", "protected void publishChangeEvent(T oldValue, T newValue) {\n PropertyChangeEvent evt = new PropertyChangeEvent(getOwner(), getPropertyName(),oldValue, newValue);\n synchronized (listeners){\n listeners.forEach(l -> {\n try{\n l.propertyChange(evt);\n }catch(Exception e){\n LOG.log(Level.SEVERE, \"Error in config change listener: \" + l, e);\n }\n });\n }\n }", "public void propertiesChanged(AntProjectEvent ev) {\n }", "protected void do_utilityFTF_propertyChange(PropertyChangeEvent arg0) {\n\t\tsetIncomeTotal();\n\t}", "public void valueForPathChanged(TreePath path, Object newValue) {\n\n\t}", "protected void setPropertyTree(PropertyTree tree) {\n propertyTree = tree;\n }", "void firePropertyChange() {\n java.util.Vector targets;\n synchronized (this) {\n if (listeners == null) {\n return;\n }\n targets = (java.util.Vector) listeners.clone();\n }\n\n PropertyChangeEvent evt = new PropertyChangeEvent(this, null, null, null);\n\n for (int i = 0; i < targets.size(); i++) {\n PropertyChangeListener target = (PropertyChangeListener)targets.elementAt(i);\n target.propertyChange(evt);\n }\n }", "public void fireVetoableChange(java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue) throws java.beans.PropertyVetoException {\r\n\tgetVetoPropertyChange().fireVetoableChange(propertyName, oldValue, newValue);\r\n}", "protected void childrenChanged() {\n\n }", "protected WeakPropertyChangeListener()\r\n {\r\n this(null);\r\n }", "public void addPropertyChangeListener(PropertyChangeListener pcl) {\n\t\tproperties.addListener(pcl);\n\t}", "public void objectChanged(ObjectChangeEvent e) {\n\t\tString key = e.getAttributeName();\n\t\tStructure s = (Structure) attributes.get(key);\n\t\tif (s!=null) {\n\t\t\tStructure change = (Structure) changedAttributes.get(key);\n\t\t\tif(change==null) {\n\t\t\t\tchange = new Structure();\n\t\t\t\tchange.setAttributeValue(ATTRIBUTE_NAME_, s.getAttributeValue(ATTRIBUTE_NAME_, null));\n\t\t\t}\n\t\t\tchange.setAttributeValue(ATTRIBUTE_VALUE_, e.getChangedObject());\n\t\t\tchangedAttributes.put(key, change);\n\t\t\tTrace.send(Trace.ALL_LEVELS, traceKey, i18n, \"AttributeValueChanged\", key, e.getChangedObject(), changedAttributes);\n\t\t\t \n\t\t}\n\t}", "public String listen(String key, PropertyChangedCallback callback);", "void onPropertyChange(String key);", "public void propertyChange(PropertyChangeEvent event) {\r\n\t\tString property = event.getPropertyName();\r\n\t\tif (\"bendpoint\".equals(property)) //$NON-NLS-1$\r\n\t\t\trefreshVisuals(); \r\n\t}", "protected void do_disabilityFTF_propertyChange(PropertyChangeEvent arg0) {\n\t\tsetIncomeTotal();\n\t}", "protected void do_socialSecurityFTF_propertyChange(PropertyChangeEvent arg0) {\n\t\tsetIncomeTotal();\n\t}", "public void updateNodeDataChanges(Object src) {\n\t}", "@Override\n\tpublic void propertyChange(PropertyChangeEvent event) {\n\t\tString property = event.getPropertyName();\n\t\tif (property.equals(Global.DRAG_EVENT) && isVisible()) { //don't have to move invisible markers\n\t\t\thandleDrag(event.getOldValue(), event.getNewValue());\n\t\t} else if (property.startsWith(Global.ZOOM)){\n\t\t\thandleZoom();\n\t\t}\n\t}", "public void removePropertyChangeListener(ActionListener<PropertyChangeEvent> l) {\n if (listeners == null || !listeners.hasListeners()) {\n return;\n }\n listeners.removeListener(l);\n if (!listeners.hasListeners()) {\n if (pcl != null) {\n if (root != null) {\n Property prop = property;\n if (prop == null && tags != null) {\n prop = root.getEntity().findProperty(tags);\n }\n if (prop != null) {\n root.getEntity().removePropertyChangeListener(prop, pcl);\n }\n } else {\n Entity leafEntity = getLeafEntity();\n Property leafProperty = getLeafProperty();\n if (leafEntity != null && leafProperty != null) {\n leafEntity.getEntity().removePropertyChangeListener(leafProperty, pcl());\n }\n parent.removeVetoablePropertyChangeListener(vpcl());\n parent.removeListChangeListener(listChangeListener());\n }\n }\n }\n }", "@Override\r\n public void rmValueListener(PropertyChangeListener l) {\n\r\n }", "public synchronized void addPropertyChangeListener(java.beans.PropertyChangeListener listener) {\r\n\tgetPropertyChange().addPropertyChangeListener(listener);\r\n}", "protected void do_foodStampsFTF_propertyChange(PropertyChangeEvent arg0) {\n\t\tsetIncomeTotal();\n\t}", "private static void usePropertyChangeListener() {\n SimpleStringProperty stringProperty = new SimpleStringProperty(\"xyz\");\n // Prints property's value\n System.out.println(stringProperty.getValue());\n // Adds a listener - action that will be run if property's value changes.\n stringProperty.addListener((observable, oldValue, newValue) -> {\n System.out.println(\"New value is set: \" + newValue);\n });\n // Sets new value\n stringProperty.setValue(\"Some new value\");\n }", "protected boolean isMultiplePropertiesChanging() {\n return multiplePropertiesChanging;\n }", "public void setPropertyChanged(com.app.tvp.cas.cliente.PropertyChangedEventHandler propertyChanged) {\n this.propertyChanged = propertyChanged;\n }", "@Override\n\tpublic void addPropertyChangeListener(PropertyChangeListener l) {\n\t\t//do nothing\n\t}", "@Override\n public synchronized void addPropertyChangeListener(PropertyChangeListener listener) {\n if (listeners == null) {\n listeners = new PropertyChangeSupport(this);\n }\n listeners.addPropertyChangeListener(listener);\n }", "public void addPropertyChangeListener(PropertyChangeListener propertyChangeListener) {\n }", "public void addPropertyChangeListener(PropertyChangeListener listener)\n {\n }", "@Override\n\tpublic void propertyChange(PropertyChangeEvent evt) {\n\t\tfillFields();\n\t}", "public void propertyChange(PropertyChangeEvent param1PropertyChangeEvent) {\n/* 1520 */ String str = param1PropertyChangeEvent.getPropertyName();\n/* 1521 */ if (str == \"horizontalScrollBar\" || str == \"verticalScrollBar\")\n/* */ {\n/* */ \n/* 1524 */ if (param1PropertyChangeEvent.getNewValue() instanceof JScrollBar) {\n/* 1525 */ setScrollBarRelations((JScrollBar)param1PropertyChangeEvent.getNewValue());\n/* */ }\n/* */ }\n/* */ }" ]
[ "0.7081656", "0.67607677", "0.6018159", "0.6018159", "0.6017533", "0.6005133", "0.5993967", "0.59500134", "0.5937294", "0.59235454", "0.5917526", "0.581955", "0.58073467", "0.57797164", "0.5751771", "0.5714748", "0.5699864", "0.56770456", "0.5645538", "0.56384563", "0.5627747", "0.56224734", "0.56107575", "0.5610075", "0.5597487", "0.55687505", "0.5555498", "0.552487", "0.5506242", "0.5494125", "0.54893667", "0.5462134", "0.54548305", "0.54270476", "0.5407692", "0.540662", "0.5394195", "0.5381995", "0.53585637", "0.5357163", "0.5340183", "0.53365964", "0.5297661", "0.5271914", "0.5261396", "0.5256447", "0.52525115", "0.525174", "0.5244361", "0.5243163", "0.5237317", "0.5232584", "0.52299494", "0.52234954", "0.5220206", "0.5214941", "0.5203491", "0.5194118", "0.5182016", "0.51766783", "0.51693606", "0.5165695", "0.5165695", "0.5164513", "0.51356596", "0.5126749", "0.51240855", "0.51222736", "0.51174724", "0.5116734", "0.511186", "0.51114535", "0.5104893", "0.5097728", "0.5096146", "0.50948596", "0.5091019", "0.5086159", "0.5069232", "0.50644344", "0.50591594", "0.50568914", "0.50517696", "0.505007", "0.50434375", "0.5037949", "0.50281507", "0.50267875", "0.5025582", "0.5021903", "0.502179", "0.50199825", "0.5018774", "0.50153065", "0.50135875", "0.500841", "0.5003334", "0.49914438", "0.49820223", "0.49803716" ]
0.7894666
0
Returns the name for the shape.
public String getName() { return (String)get("Name"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getShapeName();", "String getLayerShapeName();", "public static String getCurrentShapeName() {\n\t\treturn currentShapeName;\n\t}", "String getShapeLabel();", "public String toString() {\n\t\t\treturn shape;\n\t\t}", "public java.lang.String getName();", "org.openxmlformats.schemas.drawingml.x2006.main.STGeomGuideName xgetName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "public String whatShape();", "IShape getShape(String name);", "@Nonnull String getName();", "public String getName() {\n if (clazz != null) {\n if (clazz.isArray()) {\n return arrayName(clazz);\n }\n return clazz.getName();\n }\n if (elementType != null) {\n return elementType.getName();\n }\n return name;\n }", "public Identifier getName();", "PropertyName getName();", "public String getNameForm()\n {\n return schema.getNameForm();\n }", "String getName();", "String getName();", "String getName();", "String getName();", "String getName();", "String getName();", "String getName();", "String getName();", "String getName();", "String getName();", "String getName();", "String getName();", "String getName();", "String getName();", "String getName();", "String getName();", "String getName();", "String getName();", "String getName();", "String getName();", "String getName();", "String getName();", "String getName();", "String getName();", "String getName();", "String getName();", "String getName();", "String getName();", "String getName();", "String getName();", "String getName();", "String getName();", "String getName();", "String getName();", "String getName();" ]
[ "0.8866029", "0.79862106", "0.7379226", "0.7347672", "0.6768275", "0.6713498", "0.67067814", "0.66455823", "0.66455823", "0.66455823", "0.66455823", "0.66455823", "0.66455823", "0.66455823", "0.66455823", "0.66455823", "0.66455823", "0.66455823", "0.66455823", "0.66455823", "0.66455823", "0.66455823", "0.66455823", "0.66455823", "0.66455823", "0.66455823", "0.66455823", "0.66455823", "0.66455823", "0.66455823", "0.66455823", "0.66455823", "0.66455823", "0.66455823", "0.66455823", "0.66455823", "0.66455823", "0.66455823", "0.66455823", "0.66455823", "0.66455823", "0.66455823", "0.66455823", "0.66455823", "0.66455823", "0.66455823", "0.66455823", "0.66455823", "0.66455823", "0.66455823", "0.66455823", "0.66455823", "0.66455823", "0.66455823", "0.66455823", "0.66455823", "0.66455823", "0.66455823", "0.66455823", "0.6637545", "0.6555364", "0.6548363", "0.65234596", "0.65201384", "0.64970577", "0.64946365", "0.645628", "0.645628", "0.645628", "0.645628", "0.645628", "0.645628", "0.645628", "0.645628", "0.645628", "0.645628", "0.645628", "0.645628", "0.645628", "0.645628", "0.645628", "0.645628", "0.645628", "0.645628", "0.645628", "0.645628", "0.645628", "0.645628", "0.645628", "0.645628", "0.645628", "0.645628", "0.645628", "0.645628", "0.645628", "0.645628", "0.645628", "0.645628", "0.645628", "0.645628", "0.645628" ]
0.0
-1
Sets the name for the shape.
public void setName(String aName) { if(RMUtils.equals(aName, getName())) return; // If value already set, just return Object oldValue = put("Name", RMStringUtils.min(aName)); // Cache old value firePropertyChange("Name", oldValue, RMStringUtils.min(aName), -1); // Set new value and fire PropertyChange }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setName(String name) {\n this.name = name;\n this.box.getElement().setAttribute(\"name\", name);\n }", "public final void setName(String name) {_name = name;}", "public void setName(String name) {\n _name = name;\n }", "public void setName (String name) {\n this.name = name;\n }", "public void setName (String name) {\n this.name = name;\n }", "public void setName (String name) {\n this.name = name;\n }", "public void setName (String name) {\n this.name = name;\n }", "@Override\n public void setName(String name) {\n this.name = name;\n }", "@Override\n public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\r\n this._name = name;\r\n }", "public void setName(String name)\n {\n fName = name;\n }", "@Override\r\n\tpublic void setName(String name) {\n\t\tthis.name = name;\r\n\t}", "public void setName(String name) {\r\n this.name = name;\r\n }", "public void setName(String name) {\r\n this.name = name;\r\n }", "public void setName(String name) {\r\n this.name = name;\r\n }", "@Override\n public void setName(String name) {\n this.name = name;\n }", "@Override\n public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\r\n\t\t_name = name;\r\n\t}", "@Override\n\tpublic void setName(String name) {\n\t\tthis.name = name;\n\t}", "public void setName(final String name) {\n this.name = name;\n }", "public void setName(final String name) {\n this.name = name;\n }", "public void setName(final String name) {\n this.name = name;\n }", "public void setName(final String name) {\n this.name = name;\n }", "public void setName (String name) {\r\n\t\tthis.name = name;\r\n\t}", "public void setName(String name) {\n\n this.name = name;\n }", "@Override\n public void setName(String name)\n {\n checkState();\n this.name = name;\n }", "@Override\n\tpublic void setName(String name) {\n\t\tthis.name = name;\n\n\t}", "public void setName(final String name) {\n this.name = name;\n }", "public void setName(final String name) {\n this.name = name;\n }", "public void setName(String name) {\r\n this.name = name;\r\n }", "public void setName(String name) {\r\n this.name = name;\r\n }", "public void setName(String name) {\r\n this.name = name;\r\n }", "public void setName(String name) {\r\n this.name = name;\r\n }", "public void setName(String name) {\r\n this.name = name;\r\n }", "public void setName(String name) {\r\n this.name = name;\r\n }", "public void setName(String name) {\r\n this.name = name;\r\n }", "public void setName(String name) {\r\n this.name = name;\r\n }", "public void setName(String name) {\r\n this.name = name;\r\n }", "public void setName(String name) {\r\n this.name = name;\r\n }", "public void setName(String name) {\r\n this.name = name;\r\n }", "public void setName(String name) {\r\n this.name = name;\r\n }", "public void setName(String name) {\r\n this.name = name;\r\n }", "public void setName(String name) {\r\n this.name = name;\r\n }", "public void setName(String name) {\r\n this.name = name;\r\n }", "public void setName(String name) {\r\n this.name = name;\r\n }", "public void setName(String name) {\r\n this.name = name;\r\n }", "public void setName(String name) {\r\n this.name = name;\r\n }", "public void setName(String name) {\r\n this.name = name;\r\n }", "public void setName(String name)\n {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n this.name = name;\n }" ]
[ "0.7183407", "0.70663524", "0.7037833", "0.70361894", "0.7034353", "0.7034353", "0.7034353", "0.7031573", "0.7031573", "0.7030429", "0.7023529", "0.7020817", "0.70183516", "0.70183516", "0.70183516", "0.70171237", "0.70171237", "0.70138204", "0.7010996", "0.70095485", "0.70095485", "0.70095485", "0.70095485", "0.7009425", "0.700852", "0.70027816", "0.7001939", "0.7001234", "0.7001234", "0.69959563", "0.69959563", "0.69959563", "0.69959563", "0.69959563", "0.69959563", "0.69959563", "0.69959563", "0.69959563", "0.69959563", "0.69959563", "0.69959563", "0.69959563", "0.69959563", "0.69959563", "0.69959563", "0.69959563", "0.69959563", "0.69959563", "0.69953406", "0.69867325", "0.69867325", "0.69867325", "0.69867325", "0.69867325", "0.69867325", "0.69867325", "0.69867325", "0.69867325", "0.69867325", "0.69867325", "0.69867325", "0.69867325", "0.69867325", "0.69867325", "0.69867325", "0.69867325", "0.69867325", "0.69867325", "0.69867325", "0.69867325", "0.69867325", "0.69867325", "0.69867325", "0.69867325", "0.69867325", "0.69867325", "0.69867325", "0.69867325", "0.69867325", "0.69867325", "0.69867325", "0.69867325", "0.69867325", "0.69867325", "0.69867325", "0.69867325", "0.69867325", "0.69867325", "0.69867325", "0.69867325", "0.69867325", "0.69867325", "0.69867325", "0.69867325", "0.69867325", "0.69867325", "0.69867325", "0.69867325", "0.69867325", "0.69867325", "0.69867325" ]
0.0
-1
Sets the URL for the shape.
public String getURL() { return (String)get("RMShapeURL"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setURL(String url);", "public void setUrl(String url);", "public void setUrl(String url);", "public void setUrl(URL url)\n {\n this.url = url;\n }", "public sparqles.avro.discovery.DGETInfo.Builder setURL(java.lang.CharSequence value) {\n validate(fields()[2], value);\n this.URL = value;\n fieldSetFlags()[2] = true;\n return this; \n }", "public Builder setUrl(\n String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000004;\n url_ = value;\n onChanged();\n return this;\n }", "public Builder setUrl(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n url_ = value;\n onChanged();\n return this;\n }", "void setUrl(String url) {\n this.url = Uri.parse(url);\n }", "public void setUrl(Uri url) {\n this.urlString = url.toString();\n }", "public Builder setUrl(\n String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n url_ = value;\n onChanged();\n return this;\n }", "public void setURL(String _url) { url = _url; }", "public Builder setUrl(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000001;\n url_ = value;\n onChanged();\n return this;\n }", "public Builder setUrl(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000001;\n url_ = value;\n onChanged();\n return this;\n }", "public Builder setUrl(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n url_ = value;\n onChanged();\n return this;\n }", "public Builder setUrl(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n url_ = value;\n onChanged();\n return this;\n }", "public Builder setUrl(\n java.lang.String value) {\n copyOnWrite();\n instance.setUrl(value);\n return this;\n }", "public Builder setUrl(\n java.lang.String value) {\n copyOnWrite();\n instance.setUrl(value);\n return this;\n }", "public void setUrl(String url) {\n if(url != null && !url.endsWith(\"/\")){\n url += \"/\";\n }\n this.url = url;\n }", "public final native void setUrl(String url) /*-{\n this.setUrl(url);\n }-*/;", "public native final void setUrl(String url)/*-{\n this.url = url;\n }-*/;", "public void setURL(String URL) {\n mURL = URL;\n }", "public SeriesInstance setUrl(UriDt theValue) {\n\t\tmyUrl = theValue;\n\t\treturn this;\n\t}", "public ImagingStudy setUrl(UriDt theValue) {\n\t\tmyUrl = theValue;\n\t\treturn this;\n\t}", "public final GetHTTP setUrl(final String url) {\n properties.put(URL_PROPERTY, url);\n return this;\n }", "public void setUrl(String url) {\n this.url = url;\n }", "private void setUrl(\n java.lang.String value) {\n value.getClass();\n bitField0_ |= 0x00000002;\n url_ = value;\n }", "void setPointOfReference(String url)\n throws IOException, SoapException;", "public void setURL(java.lang.String URL) {\n this.URL = URL;\n }", "public Shape(URL url) {\n this(url, \"cm\");\n }", "public void setURL(String aURL)\n{\n if(RMUtils.equals(aURL, getURL())) return; // If value already set, just return\n Object oldValue = put(\"RMShapeURL\", RMStringUtils.min(aURL)); // Cache old value\n firePropertyChange(\"RMShapeURL\", oldValue, aURL, -1); // Set new value and fire PropertyChange\n}", "public Series setUrl(UriDt theValue) {\n\t\tmyUrl = theValue;\n\t\treturn this;\n\t}", "private void setURL(String url) {\n try {\n URL setURL = new URL(url);\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }", "public void setUrl(String url) {\n\t\tthis.url = url;\n\t\tthis.handleConfig(\"url\", url);\n\t}", "private void setUrl(\n java.lang.String value) {\n value.getClass();\n bitField0_ |= 0x00000001;\n url_ = value;\n }", "@Test\n void setUrl() {\n g.setUrl(url);\n assertEquals(url, g.getUrl(), \"URL mismatch\");\n }", "public void setUrl( String url )\n {\n this.url = url;\n }", "public void setUrl( String url )\n {\n this.url = url;\n }", "Builder addUrl(String value);", "Builder addUrl(URL value);", "public Builder setSchemaUrl(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n schemaUrl_ = value;\n onChanged();\n return this;\n }", "public void setUrl(String url) {\r\n this.url = url;\r\n }", "public void setUrl(String url) {\r\n this.url = url;\r\n }", "public void setUrl(String url) {\r\n this.url = url;\r\n }", "public void setURL(java.lang.CharSequence value) {\n this.URL = value;\n }", "public void setUrl(String url) {\n this.url = url;\n }", "public void setUrl(String url) {\n this.url = url;\n }", "public void setUrl(String url) {\n this.url = url;\n }", "public void setUrl(String url) {\n this.url = url;\n }", "public void setUrl(String url) {\n this.url = url;\n }", "public void setUrl(String url) {\n this.url = url;\n }", "public void setUrl(String url) {\n this.url = url;\n }", "public void setUrl(String url) {\n this.url = url;\n }", "public SeriesInstance setUrl( String theUri) {\n\t\tmyUrl = new UriDt(theUri); \n\t\treturn this; \n\t}", "public void setHTTP_URL(String url) {\r\n\t\ttry {\r\n\t\t\tURL u = new URL(url);\r\n\t\t\tu.toURI();\r\n\t\t} catch (MalformedURLException e) {\r\n\t\t\tSystem.out.println(e.getMessage());\r\n\t\t} catch (URISyntaxException e) {\r\n\t\t\tSystem.out.println(e.getMessage());\r\n\t\t}\r\n\t\tthis.settings.setProperty(\"HTTP_URL\", url);\r\n\t\tthis.saveChanges();\r\n\t}", "public void setUrl(String Url) {\n this.Url = Url;\n }", "public void setUploadUrl( String url_ ) {\n\t\tif (url_ != null) {\n\t\t\tphotoUrl = url_;\n\t\t} else {\n\t\t\tphotoUrl = \"http://199.58.116.35:8081/fotaflo-test/pictures/upload\";\n\t\t}\n\t\tlog( \"photoUrl \" + photoUrl, Log.Level.Information );\n\t}", "public void setUrl(String url) {\n this.url = url;\n }", "public void setURL(String url) {\n \t\tblueURL = url;\n\t}", "public void setURLObject(URL url) {\n\t\tthis.url = url;\n\t}", "public void setUrl(String url)\n {\n this.url = url;\n }", "public ImagingStudy setUrl( String theUri) {\n\t\tmyUrl = new UriDt(theUri); \n\t\treturn this; \n\t}", "public void setURL(String inputSchema, String outputSchema) {\n String port = getPortValueForJS();\n browser.setUrl(\"http://localhost:\" + port + \"/dataMapper?port=\" + port + \"&inputtype=\" + inputSchema\n + \"&outputtype=\" + outputSchema + NO_CACHE);\n }", "@JsonIgnore\n public void setDataUrl(String dataUrl) {\n this.dataUrl = dataUrl;\n }", "public void setFileUrl(String fileUrl);", "void setImageFromURL(String imageURL);", "public void setUrl(java.lang.String url) {\n this.url = url;\n }", "public void setServerUrl(String newUrl) {\n if(newUrl == null){\n return;\n }\n props.setProperty(\"url\", newUrl);\n saveProps();\n }", "public void setUrl(String url) {\r\n\t\tthis.url = url;\r\n\t}", "public void setUrl(String url) {\r\n\t\tthis.url = url;\r\n\t}", "public void setUrl(String url){\n\t\t_url=url;\n\t}", "public Series setUrl( String theUri) {\n\t\tmyUrl = new UriDt(theUri); \n\t\treturn this; \n\t}", "@JsonProperty(\"url\")\n public void setUrl(String url) {\n this.url = url;\n }", "@JsonProperty(\"url\")\n public void setUrl(String url) {\n this.url = url;\n }", "@NotNull public Builder url(@NotNull String url) {\n putValue(\"url\", url);\n return this;\n }", "@NotNull public Builder url(@NotNull String url) {\n putValue(\"url\", url);\n return this;\n }", "@NotNull public Builder url(@NotNull String url) {\n putValue(\"url\", url);\n return this;\n }", "public void setServer(URL url) {\n\n\t}", "@DisplayName(\"The URL for the Marketcetera Exchange Server\")\n public void setURL(@DisplayName(\"The URL for the Marketcetera Exchange Server\")\n String inURL);", "public void setUrl (java.lang.String url) {\r\n\t\tthis.url = url;\r\n\t}", "public void setUrl(String url) {\n\t\tthis.url = url;\n\t}", "public void setUrl(String url) {\n\t\tthis.url = url;\n\t}", "public void setUrl(String url) {\n\t\tthis.url = url;\n\t}", "public void setUrl(String url) {\n\t\tthis.url = url;\n\t}", "public void setUrl(String url){\n this.URL3 = url;\n }", "public void setUrl(String url) {\n\n\t\ttry {\n\t\t\tthis.url = new URL(url);\n\t\t\tif (url.startsWith(\"https\")) {\n\t\t\t\tthis.httpsEnabled = true;\n\t\t\t}\n\t\t}\n\t\tcatch (MalformedURLException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "public void setURL(String key, URL value) {\n\t\tif (value != null && !value.equals(getDefault(key)))\n\t\t\tinternal.setProperty(key, value.toString());\n\t\telse\n\t\t\tinternal.remove(key);\n\t}", "public void setURL(String url) {\n\t\tthis.url = url;\n\t}", "public void setUrl(String url) {\n this.url = url == null ? null : url.trim();\n }", "public void setUrl(String url) {\n this.url = url == null ? null : url.trim();\n }", "public void setUrl(String url) {\n this.url = url == null ? null : url.trim();\n }", "public void setUrl(String url) {\n this.url = url == null ? null : url.trim();\n }", "public void setUrl(String url) {\n this.url = url == null ? null : url.trim();\n }", "public void setUrl(String url) {\n this.url = url == null ? null : url.trim();\n }", "public void setUrl(String url) {\n this.url = url == null ? null : url.trim();\n }", "public void setUrl(String url) {\n this.url = url == null ? null : url.trim();\n }", "T setUrlTarget(String urlTarget);", "@Override\n public void setUrl(String url) {\n if (LOGGER.isDebugEnabled()) {\n LOGGER.debug(\"Directory manager \" + directoryManager);\n }\n try {\n super.setUrl(directoryManager.replacePath(url));\n } catch (Exception e) {\n LOGGER.error(\"Exception thrown when setting URL \", e);\n throw new IllegalStateException(e);\n }\n }", "public void setUrl(String url) {\r\n this.url = url == null ? null : url.trim();\r\n }", "public void setUrl(String url) {\r\n this.url = url == null ? null : url.trim();\r\n }", "public void setUrl(String url) {\r\n this.url = url == null ? null : url.trim();\r\n }" ]
[ "0.6988882", "0.6874622", "0.6874622", "0.6795576", "0.6789071", "0.67247117", "0.6690745", "0.66837454", "0.66829044", "0.66443765", "0.6620494", "0.66126215", "0.6594177", "0.656049", "0.656049", "0.6491079", "0.6491079", "0.6459602", "0.6451754", "0.6447603", "0.6425843", "0.6410241", "0.6397828", "0.638404", "0.637802", "0.6375807", "0.6369018", "0.6367012", "0.6365456", "0.63389254", "0.6337289", "0.63323426", "0.63219243", "0.6284971", "0.62796164", "0.62762755", "0.62762755", "0.6265646", "0.62646794", "0.6223202", "0.62189806", "0.62189806", "0.62189806", "0.61884063", "0.61830527", "0.61830527", "0.61830527", "0.61830527", "0.61830527", "0.61830527", "0.61830527", "0.61830527", "0.6174376", "0.6157609", "0.61506027", "0.6136743", "0.61203206", "0.6112733", "0.6111948", "0.61099017", "0.6103848", "0.6102074", "0.61017066", "0.6099286", "0.6087054", "0.60797554", "0.6074876", "0.6069976", "0.6069976", "0.60652184", "0.6030537", "0.60145706", "0.60145706", "0.59857863", "0.59857863", "0.59857863", "0.5981101", "0.5972107", "0.5966411", "0.5956662", "0.5956662", "0.5956662", "0.5956662", "0.59507334", "0.5947345", "0.59323287", "0.59171164", "0.59027094", "0.59027094", "0.59027094", "0.59027094", "0.59027094", "0.59027094", "0.59027094", "0.59027094", "0.5888127", "0.58877045", "0.58728695", "0.58728695", "0.58728695" ]
0.6430348
20
Returns the URL for the shape.
public void setURL(String aURL) { if(RMUtils.equals(aURL, getURL())) return; // If value already set, just return Object oldValue = put("RMShapeURL", RMStringUtils.min(aURL)); // Cache old value firePropertyChange("RMShapeURL", oldValue, aURL, -1); // Set new value and fire PropertyChange }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getURL() { return (String)get(\"RMShapeURL\"); }", "public String getUri();", "public String getURL() {\n\t\treturn RequestConstants.BASE_IMAGE_URL+_url;\n\t}", "@Nullable\n public abstract String url();", "public String getURL();", "String getUri();", "private String getURL() {\n\t\t// TODO : Generate URL\n\t\treturn null;\n\t}", "public final String getUrl() {\n return properties.get(URL_PROPERTY);\n }", "String getSpecUrl();", "@java.lang.Override\n public java.lang.String getUrl() {\n return instance.getUrl();\n }", "@java.lang.Override\n public java.lang.String getUrl() {\n return instance.getUrl();\n }", "java.lang.String getUri();", "java.lang.String getUri();", "public String getUrl();", "public String getUrl();", "public String getUrl();", "public String getUrl();", "java.lang.String getPictureUri();", "String getExternalFeatureModelURI();", "Uri getUrl();", "public String getUrl() {\n\t\tif (prop.getProperty(\"url\") == null)\n\t\t\treturn \"\";\n\t\treturn prop.getProperty(\"url\");\n\t}", "public static String getUrl() {\n return annotation != null ? annotation.url() : \"Unknown\";\n }", "public abstract String getURL();", "@Schema(description = \"Link to get this item\")\n public String getUrl() {\n return url;\n }", "abstract public String imageUrl ();", "public String getURL()\n {\n return getURL(\"http\");\n }", "String url();", "String getPreviewUrlTemplate();", "@Override\n\tpublic String getUrl()\n\t{\n\t\treturn url;\n\t}", "String getUri( );", "public URL getURL()\n/* */ {\n/* 135 */ return ResourceUtils.getResourceAsURL(this, this);\n/* */ }", "URI getUri();", "@Override\n public String getUrl() {\n return getOriginUrl();\n }", "public String getURL() {\n\t\treturn prop.getProperty(\"URL\");\n\t}", "public String url() {\n return server.baseUri().toString();\n }", "@Override\r\n\tpublic String getUrl() {\n\t\treturn null;\r\n\t}", "@java.lang.Override\n public java.lang.String getUrl() {\n return url_;\n }", "@java.lang.Override\n public java.lang.String getUrl() {\n return url_;\n }", "public String getURL() {\n\t\treturn getName();\n\t}", "String getURI();", "String getURI();", "String getURI();", "abstract String getUri();", "public java.lang.String getSchemaUrl() {\n java.lang.Object ref = schemaUrl_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n schemaUrl_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public String getUrl() {\n Object ref = url_;\n if (ref instanceof String) {\n return (String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n url_ = s;\n }\n return s;\n }\n }", "@java.lang.Override\n public java.lang.String getUrl() {\n java.lang.Object ref = url_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n url_ = s;\n return s;\n }\n }", "@java.lang.Override\n public java.lang.String getSchemaUrl() {\n java.lang.Object ref = schemaUrl_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n schemaUrl_ = s;\n return s;\n }\n }", "java.lang.String getUrl();", "java.lang.String getUrl();", "java.lang.String getUrl();", "java.lang.String getUrl();", "java.lang.String getUrl();", "java.lang.String getUrl();", "String makePlanCommunityUrl();", "@Api(1.2)\n @NonNull\n public String url() {\n return mRequest.buildOkRequest().url().toString();\n }", "public UriDt getUrl() { \n\t\tif (myUrl == null) {\n\t\t\tmyUrl = new UriDt();\n\t\t}\n\t\treturn myUrl;\n\t}", "public UriDt getUrl() { \n\t\tif (myUrl == null) {\n\t\t\tmyUrl = new UriDt();\n\t\t}\n\t\treturn myUrl;\n\t}", "public UriDt getUrl() { \n\t\tif (myUrl == null) {\n\t\t\tmyUrl = new UriDt();\n\t\t}\n\t\treturn myUrl;\n\t}", "private String get_url() {\n File file = new File(url);\n return file.getAbsolutePath();\n }", "public Shape(URL url) {\n this(url, \"cm\");\n }", "public String getURL(){\r\n\t\t \r\n\t\t\r\n\t\treturn rb.getProperty(\"url\");\r\n\t}", "@Override\r\n public String getURL() {\n return url;\r\n }", "public static URL buildUrl() {\n Uri builtUri = Uri.parse(CONTENT_JSON_URL).buildUpon()\n .build();\n\n URL url = null;\n try {\n url = new URL(builtUri.toString());\n } catch (MalformedURLException e) {\n e.printStackTrace();\n }\n return url;\n }", "public String getURL() {\r\n\t\treturn dURL.toString();\r\n\t}", "@JsonIgnore\n\tpublic String getAbsoluteURI() {\n\t\treturn path.toUri().toString();\n\t}", "public java.lang.String getUrl() {\n java.lang.Object ref = url_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n url_ = s;\n }\n return s;\n }\n }", "@Column(length = 2048)\r\n @PlaceHolder(key = \"schema\")\r\n public String getUrlPath() {\r\n return urlPath;\r\n }", "@Override\r\n public String getFriendlyURI() {\r\n return createURI(false, false);\r\n }", "public java.lang.String getUrl() {\n java.lang.Object ref = url_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n url_ = s;\n }\n return s;\n }\n }", "public java.lang.String getUrl() {\n java.lang.Object ref = url_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n url_ = s;\n }\n return s;\n }\n }", "public java.lang.String getURL() {\n return URL;\n }", "String getT_modelUri();", "URL getUrl();", "public java.lang.String getUrl() {\n return url;\n }", "private String getOriginUrl() {\n Uri.Builder builder = url.buildUpon();\n for (Param p : queryParams) {\n builder.appendQueryParameter(p.key, p.value);\n }\n return builder.build().toString();\n }", "public String url() {\n return this.url;\n }", "@Nonnull public String getURL() {\n return url;\n }", "public abstract String getUrl();", "java.lang.String getApiUrl();", "@Override\n\tpublic String getURL() {\n\t\treturn null;\n\t}", "@Override\r\n public String getUrl()\r\n {\n return null;\r\n }", "public String getUrl() {\n Object ref = url_;\n if (ref instanceof String) {\n return (String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n url_ = s;\n return s;\n }\n }", "public java.lang.String getUrl() {\n java.lang.Object ref = url_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n url_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getUrl() {\n java.lang.Object ref = url_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n url_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "@Override\r\n\tpublic String getUri() {\n\t\treturn uri;\r\n\t}", "public String getUrl() {\n Object ref = url_;\n if (!(ref instanceof String)) {\n String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n url_ = s;\n return s;\n } else {\n return (String) ref;\n }\n }", "public java.lang.String getUrl () {\r\n\t\treturn url;\r\n\t}", "String getBaseUri();", "String getShapeName();", "String getUrl();", "String getUrl();", "String getUrl();", "String getUrl();", "String getUrl();", "@DisplayName(\"The URL for the Marketcetera Exchange Server\")\n public String getURL();", "public String getUrl()\n {\n return this.url;\n }", "public String getUrl()\n\t\t{\n\t\t\treturn \"https://developer.zohoapis.eu\";\n\t\t}", "public java.lang.String getUrl() {\n java.lang.Object ref = url_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n url_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getUrl() {\n java.lang.Object ref = url_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n url_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public String getUrl() {\n Object ref = url_;\n if (!(ref instanceof String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n url_ = s;\n return s;\n } else {\n return (String) ref;\n }\n }", "public java.lang.String getUrl() {\n java.lang.Object ref = url_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n url_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }" ]
[ "0.79551977", "0.6313671", "0.629817", "0.6273879", "0.62678826", "0.62290853", "0.6210939", "0.6162844", "0.61344177", "0.6132317", "0.6132317", "0.6088449", "0.6088449", "0.6086517", "0.6086517", "0.6086517", "0.6086517", "0.60402805", "0.60322076", "0.6024308", "0.5987882", "0.59875", "0.5983719", "0.5983608", "0.5960147", "0.59569556", "0.59533906", "0.59420025", "0.59165585", "0.59152055", "0.5887302", "0.5857972", "0.5857931", "0.5846684", "0.58427423", "0.5837814", "0.5815242", "0.5815242", "0.5806292", "0.580515", "0.580515", "0.580515", "0.5802379", "0.57802874", "0.577445", "0.57691514", "0.57689226", "0.57671356", "0.57671356", "0.57671356", "0.57671356", "0.57671356", "0.57671356", "0.5764064", "0.57473236", "0.5740864", "0.5740864", "0.5740864", "0.5738112", "0.5736777", "0.5732248", "0.57292175", "0.571561", "0.5715506", "0.57149655", "0.56936985", "0.5692217", "0.5691738", "0.56909114", "0.56909114", "0.5685961", "0.56810623", "0.56621593", "0.56582105", "0.5656393", "0.56539565", "0.5647767", "0.5639308", "0.5633751", "0.5630959", "0.5627736", "0.562738", "0.56178516", "0.56178516", "0.5613452", "0.5607067", "0.5604643", "0.5603477", "0.56030464", "0.56015193", "0.56015193", "0.56015193", "0.56015193", "0.56015193", "0.55969614", "0.5596943", "0.55966973", "0.5594546", "0.5594546", "0.5594471", "0.5586936" ]
0.0
-1
Sets the Hover string for the shape.
public String getHover() { return (String)get("Hover"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setOnmouseover(String val)\r\n\t{\r\n\t\t_onMouseOver = val;\r\n\t}", "public void displayHover() {\n if (textColour == null) {\r\n displayEmptyHover();\r\n return;\r\n }\r\n stroke(0, 0, 0);\r\n strokeWeight(strokeWeight);\r\n hoverFill(boxColour);\r\n if (strokeWeight != 0 && text != null) {\r\n rect(x, y, w, h, 7);\r\n }\r\n fill(textColour);\r\n textSize(textSize);\r\n text(text, x + xTextOffset, y + yTextOffset);\r\n }", "public void setHover(String aString)\n{\n if(RMUtils.equals(aString, getHover())) return; // If value already set, just return\n Object oldValue = put(\"Hover\", RMStringUtils.min(aString)); // Cache old value\n firePropertyChange(\"Hover\", oldValue, aString, -1); // Set new value and fire PropertyChange\n}", "public void setTooltipText() { tooltip.setText(name); }", "void setHoverDetail(String detail);", "public void setToolTipText (String string) {\r\n\tcheckWidget();\r\n\ttoolTipText = string;\r\n}", "void setShapeLabel(String Label);", "public void setToolTipText(String text)\n/* */ {\n/* 227 */ putClientProperty(\"ToolTipText\", text);\n/* */ }", "private void setHoverDisplay(String text, Vector3 coords) {\n\t\tfloat scaleFactor = 1920 / (Gdx.graphics.getWidth() * 1.0f);\n\t\tfloat x = coords.x * scaleFactor + 50;\n\t\tfloat y = coords.y * scaleFactor - 125;\n\t\tx = Math.min(Math.max(x, 0), 1920 - hoverImage.getWidth());\n\t\ty = Math.min(Math.max(y, 200), 1080 - hoverImage.getHeight());\n\t\thoverLabel.setText(text);\n\t\thoverLabel.setPosition(x + 75, y + 155);\n\t\tif (!text.equals(\"\")) {\n\t\t\thoverImage.setVisible(true);\n\t\t\thoverImage.setPosition(x, y);\n\t\t}\n\t}", "public void setHovered(boolean hovered);", "public void setOnmouseout(String val)\r\n\t{\r\n\t\t_onMouseOut = val;\r\n\t}", "protected void setToolTip(String toolTip) {\n\tthis.toolTip = toolTip;\n }", "public void hover(boolean hover) {\n\t\tthis.isHovered = hover;\n\t}", "public String getHoverColorFromAsString() {\n\t\treturn getValue(Property.HOVER_COLOR_FROM, getColorFromAsString());\n\t}", "@Override\n\tpublic void setToolTip(String tooltip) {\n\t\t\n\t}", "public String getHoverColorAsString() {\n\t\treturn getValue(CommonProperty.HOVER_COLOR, AbstractLabels.DEFAULT_COLOR);\n\t}", "public void hover() {\n\t}", "public void setHoverColor(String hoverColor) {\n\t\t// resets callback\n\t\tsetHoverColor((ColorCallback<DatasetContext>) null);\n\t\t// stores value\n\t\tsetValueAndAddToParent(CommonProperty.HOVER_COLOR, hoverColor);\n\t}", "@Override\n public void setTooltip(String arg0)\n {\n \n }", "@Override\n\tprotected void onHover() {\n\n\t}", "@DISPID(-2147412112)\n @PropPut\n void onmouseover(\n java.lang.Object rhs);", "private String generateHoverover(Tool tool) {\n \n String name = tool.getName();\n String desc = tool.getDescription();\n String image = tool.getIcon();\n \n StringBuilder hoverText = new StringBuilder();\n hoverText.append(\"<html>\");\n hoverText.append(\"<div style='width:200px;background-color:white'>\");\n hoverText.append(\"<h3>\");\n hoverText.append(name);\n hoverText.append(\"</h3>\");\n if (desc != null && !desc.equals(\"\")) {\n hoverText.append(\"<p>\");\n hoverText.append(desc);\n hoverText.append(\"</p>\");\n }\n if (image != null && !image.equals(\"\")) {\n \n FileLoader fileLookup = new FileLoader(1);\n \n try {\n Object[] iconURL = fileLookup.getFileURL(image); \n if (iconURL[1] != null && image.startsWith(\"http\")) {\n hoverText.append(\"<p align='center'><img src='\");\n hoverText.append(image);\n hoverText.append(\"' alt='image'></p>\");\n }\n } catch (Exception ex) {\n // there was a problem finding the image, just don't display it\n }\n } \n \n hoverText.append(\"<br>\");\n hoverText.append(\"</div>\");\n hoverText.append(\"</html>\");\n \n return hoverText.toString();\n\n }", "public void setToolTip (String imageName)\r\n\t{\r\n\t\tthis.imageName = imageName;\r\n\t}", "public void mouseEntered(java.awt.event.MouseEvent evt) {\n button.setForeground(coloursObject.getButtonTextHoverColour());//the colour of the text when hovered over\n }", "public void hover();", "public final void setHoverFont(FontCallback<DatasetContext> hoverFontCallback) {\n\t\t// sets the callback\n\t\tthis.hoverFontCallback = hoverFontCallback;\n\t\t// checks if consistent\n\t\tif (hoverFontCallback != null) {\n\t\t\t// adds the callback proxy function to java script object\n\t\t\tsetValueAndAddToParent(CommonProperty.HOVER_FONT, hoverFontCallbackProxy.getProxy());\n\t\t} else {\n\t\t\t// stores the font\n\t\t\tsetValueAndAddToParent(CommonProperty.HOVER_FONT, getOriginalHoverFont());\n\t\t}\n\t}", "public String generateToolTipFragment(String toolTipText) {\n/* 88 */ return \" onMouseOver=\\\"return stm(['\" + \n/* 89 */ ImageMapUtilities.javascriptEscape(this.title) + \"','\" + \n/* 90 */ ImageMapUtilities.javascriptEscape(toolTipText) + \"'],Style[\" + this.style + \"]);\\\"\" + \" onMouseOut=\\\"return htm();\\\"\";\n/* */ }", "public void setRibbonToolTipText(String ribbonToolTipText)\n\t{\n\t\tthis.ribbonToolTipText = ribbonToolTipText;\n\t}", "@Override\r\n\t\t\tpublic void mousePressed(MouseEvent e) {\n\t\t\t\tString name = d.getName(e.getX(),e.getY());\r\n\t\t\t\tGraphics g = w.getGraphics();\r\n\t\t\t\tg.setColor(Color.RED);\r\n\t\t\t\tg.setFont(new Font(\"Arial\", Font.BOLD, 12));\r\n\t\t\t\tg.drawString(name, e.getX(), e.getY());\r\n\t\t\t}", "public void rollover(){\n\t\tgui.fill(gui.color(255,0,0),75);\n\t\tgui.noStroke();\n\t\tgui.ellipse(getTransformedPosition().x, getTransformedPosition().y, diameter +4, diameter + 4);\n\t}", "public void setHoverColorTo(String color) {\n\t\tsetValue(Property.HOVER_COLOR_TO, color);\n\t}", "public static String setToolTipText(String text) {\n\t\tString oldTip = toolTipText;\n\t\ttoolTipText = text;\n\t\treturn (oldTip);\n\t}", "public void setArrowTooltip(String arrowTooltip) {\r\r\n\t\tthis.arrowTooltip = arrowTooltip;\r\r\n\t}", "public final void setHoverFont(NativeCallback hoverFontCallback) {\n\t\t// checks if consistent\n\t\tif (hoverFontCallback != null) {\n\t\t\t// resets callback\n\t\t\tsetHoverFont((FontCallback<DatasetContext>) null);\n\t\t\t// adds the callback proxy function to java script object\n\t\t\tsetValueAndAddToParent(CommonProperty.HOVER_FONT, hoverFontCallback);\n\t\t} else {\n\t\t\t// stores the font\n\t\t\tsetValueAndAddToParent(CommonProperty.HOVER_FONT, getOriginalHoverFont());\n\t\t}\n\t}", "String getHoverDetail();", "protected void setToolTipText(Tile tile) {\n\t\tif(!peek && hidden) { tile.setToolTipText(\"concealed tile\"); }\n\t\telse {\n\t\t\tString addendum = \"\";\n\t\t\tif(playerpanel.getPlayer().getType()==Player.HUMAN) { addendum = \" - click to discard during your turn\"; }\n\t\t\ttile.setToolTipText(tile.getTileName()+ addendum); }}", "public void HoverOver(boolean a)\n {\n hoverOver = a;\n }", "public String getHoverColorToAsString() {\n\t\treturn getValue(Property.HOVER_COLOR_TO, getColorToAsString());\n\t}", "public String getLocalizedHoverText(ContentEntity entity, boolean expanded);", "public void setTooltip(IFigure tooltip) {\n hasCustomTooltip = true;\n this.tooltip = tooltip;\n updateFigureForModel(nodeFigure);\n }", "public void linkColor(String str) { setSelected(link_colors, str); }", "private void setTooltip() {\n\t\tif (buttonAddScannable != null && !buttonAddScannable.isDisposed()) {\n\t\t\tgetParentShell().getDisplay().asyncExec(() -> buttonAddScannable.setToolTipText(\"Select scannable to add to list...\"));\n\t\t}\n\t}", "public void strokeString(float x, float y, String text);", "@Override\n\tpublic void setBasicStroke(String basicStroke) {\n\t\tthis.basicStroke=basicStroke;\n\t}", "@Override\r\n protected String getTooltip()\r\n {\n return \"This name is used as (unique) name for the pattern.\";\r\n }", "@Override\n\tprotected void hover(){\n\t\tgvh.log.i(TAG, \"Drone hovering\");\n\t\tsetControlInput(0, 0, 0, 0);\n\t}", "public void setButtonText(String str){\r\n SWINGButton.setText(str);\r\n }", "public String getOnmouseover()\r\n\t{\r\n\t\treturn _onMouseOver;\r\n\t}", "public void mouseHover(MouseEvent me) {\n\n\t\t\t}", "public void setFacetLabelHoverStyle(String facetLabelHoverStyle) {\r\n setAttribute(\"facetLabelHoverStyle\", facetLabelHoverStyle, true);\r\n }", "public void setHoverColor(ColorCallback<DatasetContext> hoverColorCallback) {\n\t\t// sets the callback\n\t\tthis.hoverColorCallback = hoverColorCallback;\n\t\t// checks if callback is consistent\n\t\tif (hoverColorCallback != null) {\n\t\t\t// adds the callback proxy function to java script object\n\t\t\tsetValueAndAddToParent(CommonProperty.HOVER_COLOR, hoverColorCallbackProxy.getProxy());\n\t\t} else {\n\t\t\t// otherwise sets null which removes the properties from java script object\n\t\t\tremove(CommonProperty.HOVER_COLOR);\n\t\t}\n\t}", "public void setStrVisualizeName(final String strVisualizeName) {\n this.strVisualizeName = strVisualizeName;\n }", "public void setHoverColor(IsColor hoverColor) {\n\t\tsetHoverColor(IsColor.checkAndGetValue(hoverColor));\n\t}", "public String toString(){\n return (\"TextShape \"+x+\" \"+y+\" \"+col.getRed()+\" \"+col.getGreen()+\" \"+col.getBlue()+\" \"+str);\n }", "public TextShape (String str, int x, int y, Color col){\n this.str = str;\n this.x = x;\n this.y = y;\n this.col = col;\n }", "@DISPID(-2147412112)\n @PropGet\n java.lang.Object onmouseover();", "public void setShowHover(boolean h)\n {\n showHover = h;\n }", "public static void setTextInTile(String s) {\n tiles.get(lastClicked).setTextValue(s);\n }", "public void mouseHoverOnElement() {\n\t\thoverOnElement(PIM_AddEmployeePageProperties.getProperty(\"NavigationToPIM\"),\n\t\t\t\tPIM_AddEmployeePageProperties.getProperty(\"NavigationToAddEmployee\"));\n\t}", "private void displayEmptyHover() {\n if (strokeWeight == 0)\r\n noStroke();\r\n else\r\n stroke(0, 0, 0);\r\n strokeWeight(strokeWeight);\r\n hoverFill(boxColour);\r\n rect(x, y, w, h, 7);\r\n }", "Color(String text) {\n this.text = text;\n }", "public void setMark( String newMark )\n\t\t{\n\t\t\tmark = newMark; // set mark of square\n\t\t\trepaint(); //repaint square\n\t\t}", "public void drawPreviewHover()\n {\n int previewNumber = mouseToPreviewTile();\n if (previewNumber >= 0)\n {\n for (int i = 0; i < previewHover.length; i++)\n {\n previewHover[i] = false;\n }\n previewHover[previewNumber] = true;\n hoverTile = previewNumber;\n } else\n {\n for (int i = 0; i < previewHover.length; i++)\n {\n previewHover[i] = false;\n }\n hoverTile = -1;\n }\n }", "public void setHoveredIcon(Icon hovered) {\n\t\tmouseHoverAwareAction.setHoveredIcon(hovered);\n\t}", "public void setHoverColorFrom(String color) {\n\t\tsetValue(Property.HOVER_COLOR_FROM, color);\n\t}", "public String getFacetLabelHoverStyle() {\r\n return getAttributeAsString(\"facetLabelHoverStyle\");\r\n }", "@Override\n public void mouseHover(MouseEvent me) {\n }", "public void setNodeShape(String shape) {\n StringBuffer command = new StringBuffer(\"node [shape=\");\n command.append(shape);\n command.append(\"];\");\n this.drawElements.add(new DotGraphCommand(new String(command)));\n }", "@Override\n\tpublic String getToolTipText() {\n\t\treturn \"shopEditorToolTipText\";\n\t}", "void setHoveredComponent(GComponent component)\n {\n if (!this.components.contains(component))\n throw new IllegalArgumentException(String.format(\"The component %s is not part of this context\",component));\n \n this.hoveredComponent = component;\n \n // TODO: Fire events on the old and new object\n }", "public static EntityArmorStand setToolTipName(Player toSend, Player toDisable, @Nullable String tip){\n EntityArmorStand stand = new EntityArmorStand(((CraftWorld) toDisable.getPlayer().getWorld()).getHandle());\n\n //set the tooltip, if its set\n if(tip!=null){\n stand.setCustomName(tip);\n stand.setCustomNameVisible(true);\n }\n\n //make it look pretty and not fall too much\n stand.setGravity(false);\n stand.setInvisible(!showArmorstandsDebug);\n stand.setSmall(true);\n\n //send the armorstand\n PacketPlayOutSpawnEntityLiving packet = new PacketPlayOutSpawnEntityLiving(stand);\n ((CraftPlayer) toSend).getHandle().playerConnection.sendPacket(packet);\n\n //make the armorstand attached to the player\n PacketPlayOutAttachEntity pckt2 = new PacketPlayOutAttachEntity(0, stand, ((CraftPlayer) toDisable).getHandle());\n ((CraftPlayer) toSend).getHandle().playerConnection.sendPacket(pckt2);\n\n return stand;\n\n }", "public void mouseHoverOnTVsAndAppliancesn() {\n\t\t\n\t}", "public void mouseOver() {\n}", "@Override\r\n\tpublic String getToolTipText(MouseEvent event) {\r\n return toolTipWriter.write(getToolTipText(), event.getPoint());\r\n }", "public void setTooltipDisplay(TooltipDisplay tooltipDisplay);", "public abstract void setForegroundHover(final int rgba);", "public static void cursor(int cursorOver){\n\t\tmouseOver = cursorOver;\n\t}", "public void setMouseOverCursor(Cursor cursor) {\n mouseOverCursor = cursor;\n }", "public void setHoverColor(NativeCallback hoverColorCallback) {\n\t\t// resets callback\n\t\tsetHoverColor((ColorCallback<DatasetContext>) null);\n\t\t// stores value\n\t\tsetValueAndAddToParent(CommonProperty.HOVER_COLOR, hoverColorCallback);\n\t}", "String getShapeLabel();", "@Override\n\tpublic String shape() {\n\t\treturn \"Text\";\n\t}", "public void setText(String st){\n\t\tbutton.setText(st);\n\t}", "public X tooltipText(String text) {\n component.setToolTipText(text);\n return (X) this;\n }", "protected void onHover(Element el) {\n\t}", "void enterShapeEditor(String layer, String shape);", "public void setHoverColorTo(IsColor color) {\n\t\tsetHoverColorTo(IsColor.checkAndGetValue(color));\n\t}", "default void setTooltip(@Nullable String tooltip) {}", "public void updateHoverNode(MapNode _hoverNode) {\n hoverNode = _hoverNode;\n }", "public static void MouseHover(WebElement obj,WebDriver driver,String objName) throws IOException{\r\n\t\tActions action = new Actions(driver);\r\n\t\t if (obj.isDisplayed()){\r\n\t\taction.moveToElement(obj).build().perform();\r\n\t\t\tUpdate_Report( \"Pass\", \"MouseHover\", objName +\" is Mouse Hovered\");\r\n\t\t}else{\r\n\t\t\tUpdate_Report( \"Fail\", \"MouseHover\", objName +\" is not displayed please check your application \");\r\n\t\t}\r\n\t\t}", "public void setVisualizerText(String text) {\n this.visualizerText = text;\n }", "public void setStyle(String st){\n style = st;\n }", "public void setStyles(String text) {\n getState().styles = text;\n }", "public void setX(String s)\n\t{\n\t\tx.setText(s);\n\t}", "public void displayToScreen(String str){\r\n textPane1.setText(str);\r\n paintDiamond();\r\n }", "public abstract String getToolTip();", "protected void drawHoveringText( List<String> descriptionLines, int posX, int posY, FontRenderer fontrenderer )\n\t{\n\t\tif( !descriptionLines.isEmpty() )\n\t\t{\n\t\t\tGL11.glDisable( GL_RESCALE_NORMAL );\n\n\t\t\tGL11.glDisable( GL11.GL_LIGHTING );\n\n\t\t\tGL11.glDisable( GL11.GL_DEPTH_TEST );\n\n\t\t\tint maxStringLength = 0;\n\n\t\t\tfor( String string : descriptionLines )\n\t\t\t{\n\n\t\t\t\tint stringLen = fontrenderer.getStringWidth( string );\n\n\t\t\t\tif( stringLen > maxStringLength )\n\t\t\t\t{\n\t\t\t\t\tmaxStringLength = stringLen;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tint offsetX = posX + 12;\n\n\t\t\tint offsetY = posY - 12;\n\n\t\t\tint tooltipHeight = 8;\n\n\t\t\tif( descriptionLines.size() > 1 )\n\t\t\t{\n\t\t\t\ttooltipHeight += 2 + ( ( descriptionLines.size() - 1 ) * 10 );\n\t\t\t}\n\n\t\t\tthis.zLevel = 300.0F;\n\n\t\t\tint drawColor = 0xF0100010;\n\t\t\tthis.drawGradientRect( offsetX - 3, offsetY - 4, offsetX + maxStringLength + 3, offsetY - 3, drawColor, drawColor );\n\t\t\tthis.drawGradientRect( offsetX - 3, offsetY + tooltipHeight + 3, offsetX + maxStringLength + 3, offsetY + tooltipHeight + 4, drawColor,\n\t\t\t\tdrawColor );\n\t\t\tthis.drawGradientRect( offsetX - 3, offsetY - 3, offsetX + maxStringLength + 3, offsetY + tooltipHeight + 3, drawColor, drawColor );\n\t\t\tthis.drawGradientRect( offsetX - 4, offsetY - 3, offsetX - 3, offsetY + tooltipHeight + 3, drawColor, drawColor );\n\t\t\tthis.drawGradientRect( offsetX + maxStringLength + 3, offsetY - 3, offsetX + maxStringLength + 4, offsetY + tooltipHeight + 3, drawColor,\n\t\t\t\tdrawColor );\n\n\t\t\tdrawColor = 0x505000FF;\n\t\t\tint fadeColor = ( ( drawColor & 0xFEFEFE ) >> 1 ) | ( drawColor & 0xFF000000 );\n\t\t\tthis.drawGradientRect( offsetX - 3, ( offsetY - 3 ) + 1, ( offsetX - 3 ) + 1, ( offsetY + tooltipHeight + 3 ) - 1, drawColor, fadeColor );\n\t\t\tthis.drawGradientRect( offsetX + maxStringLength + 2, ( offsetY - 3 ) + 1, offsetX + maxStringLength + 3,\n\t\t\t\t( offsetY + tooltipHeight + 3 ) - 1, drawColor, fadeColor );\n\t\t\tthis.drawGradientRect( offsetX - 3, offsetY - 3, offsetX + maxStringLength + 3, ( offsetY - 3 ) + 1, drawColor, drawColor );\n\t\t\tthis.drawGradientRect( offsetX - 3, offsetY + tooltipHeight + 2, offsetX + maxStringLength + 3, offsetY + tooltipHeight + 3, fadeColor,\n\t\t\t\tfadeColor );\n\n\t\t\tfor( int descriptionIndex = 0; descriptionIndex < descriptionLines.size(); descriptionIndex++ )\n\t\t\t{\n\t\t\t\tString s1 = descriptionLines.get( descriptionIndex );\n\t\t\t\tfontrenderer.drawStringWithShadow( s1, offsetX, offsetY, -1 );\n\t\t\t\tif( descriptionIndex == 0 )\n\t\t\t\t{\n\t\t\t\t\toffsetY += 2;\n\t\t\t\t}\n\t\t\t\toffsetY += 10;\n\t\t\t}\n\t\t\tthis.zLevel = 0.0F;\n\n\t\t\tGL11.glEnable( GL11.GL_LIGHTING );\n\n\t\t\tGL11.glEnable( GL11.GL_DEPTH_TEST );\n\n\t\t\tGL11.glEnable( GL_RESCALE_NORMAL );\n\t\t}\n\t}", "public void setHover(int cellX, int cellY)\n {\n hover = new int[2];\n hover[0] = cellX;\n hover[1] = cellY;\n }", "@Override\n public StringTextComponent getTooltip() {\n return this.tooltip;\n }", "@Override\r\n public void setShape (Shape shape,\r\n double grade)\r\n {\r\n// // Check status\r\n// if (glyph.isTransient()) {\r\n// logger.error(\"Setting shape of a transient glyph\");\r\n// }\r\n\r\n // Blacklist the old shape if any\r\n Shape oldShape = getShape();\r\n\r\n if ((oldShape != null) && (oldShape != shape)\r\n && (oldShape != Shape.GLYPH_PART)) {\r\n forbidShape(oldShape);\r\n\r\n if (glyph.isVip()) {\r\n logger.info(\"Shape {} forbidden for {}\",\r\n oldShape, glyph.idString());\r\n }\r\n }\r\n\r\n if (shape != null) {\r\n // Remove the new shape from the blacklist if any\r\n allowShape(shape);\r\n }\r\n\r\n // Remember the new shape\r\n evaluation = new Evaluation(shape, grade);\r\n\r\n if (glyph.isVip()) {\r\n logger.info(\"{} assigned {}\", glyph.idString(), evaluation);\r\n }\r\n }", "public void setZLabel(final String str) {\n this.ZLabel.setText(str);\n this.ZLabel.setToolTipText(this.ZLabel.getText());\n }" ]
[ "0.67016405", "0.6627143", "0.6566719", "0.63215727", "0.61168903", "0.6032884", "0.60236084", "0.5840983", "0.58386225", "0.5794806", "0.57390845", "0.56713176", "0.5623761", "0.5619818", "0.5594991", "0.5583788", "0.55812645", "0.5500051", "0.5493231", "0.5481465", "0.54540914", "0.54524684", "0.54309684", "0.5412776", "0.5372201", "0.5282885", "0.52809936", "0.52602464", "0.5248371", "0.5242419", "0.52251315", "0.5216092", "0.5204572", "0.51854485", "0.51563853", "0.51520556", "0.5151609", "0.5132488", "0.5101074", "0.50821424", "0.5059463", "0.50184894", "0.5011921", "0.5003433", "0.49913868", "0.49807653", "0.4977564", "0.49654806", "0.49638572", "0.49630538", "0.49549448", "0.4924822", "0.4924717", "0.4912582", "0.49095893", "0.49056283", "0.49045095", "0.4895967", "0.48720232", "0.48623925", "0.48583174", "0.48517647", "0.48478135", "0.48380458", "0.48379073", "0.4833869", "0.48335665", "0.48241773", "0.4815793", "0.48150215", "0.4808756", "0.4803678", "0.47832292", "0.47733068", "0.47730595", "0.47670308", "0.4759001", "0.4750397", "0.47393483", "0.47354972", "0.47207218", "0.47168994", "0.47148818", "0.47108987", "0.4700479", "0.46976092", "0.46945998", "0.46932492", "0.4692309", "0.4688532", "0.46850774", "0.46789008", "0.46745208", "0.46741968", "0.46721894", "0.46713656", "0.46710098", "0.46677393", "0.4661785", "0.46541315" ]
0.5681943
11