w10schools
Login Register
  • Home
  • Tutorials
    • HTML, CSS
      • HTML, HTML5
      • CSS, CSS3
    • XML
    • JavaScript, AJAX
    • PHP
    • Ruby on Rails
      • Ruby
      • Rails
    • ASP.NET
      • ASP
      • C# .NET
    • Java
      • JSP
    • Databases
      • MySQL
      • MSSQL Server
      • Oracle
    • Web Server
      • Windows
      • Linux
      • Apache
      • IIS
    • Design
      • Dreamweaver
      • Flash
      • Photoshop
      • Fireworks
      • CorelDRAW
      • Illustrator
  • References
    • HTML
      • Bootstrap
    • CSS
      • CSS Selectors
      • Sass
    • JavaScript
    • Mobile Apps
      • Cordova
    • Ruby on Rails
      • Ruby
      • Rails
    • PHP
      • Function
      • Language
      • CodeIgniter
      • Phalcon
      • PHPUnit
      • Symfony
      • Drupal
      • Yii
      • Laravel
    • Perl
      • Perl
    • Python
      • Python
      • Django
      • NumPy
      • Pandas
      • scikit-image
      • scikit-learn
      • Statsmodels
      • Matplotlib
    • Lua
      • Lua
    • C, C++
      • C
      • C++
    • Server
      • Docker
      • Apache HTTP Server
      • Nginx
    • Database
      • PostgreSQL
    • Big Data
      • TensorFlow
    • Game Development
      • Phaser
      • LÖVE
  • Articles
    • News
    • General
      • Website Promotion
      • Online Advertising
      • Make Money Online
    • Editorials
    • Interviews
    • Web Roundups
  • Resources
    • Design
      • Fonts
      • Graphics
      • Vectors
      • Templates
      • UI (User Interface)
      • Brushes
      • Patterns, Backgrounds
      • Textures
    • Web Development
      • HTML, CSS
      • XML
      • JavaScript, AJAX
      • Ruby on Rails
      • PHP
      • Java
      • .NET
      • Python
      • Perl
      • Flash
    • Mobile Application Development
      • Mobile Development Tools
      • Swift
    • Online Services
      • Online Storage
      • Web Hosting
  • Tools
    • Generators
Edit
In Place Editing Advanced Editing
  • References
  • PHP
  • Function
  • Non-Text MIME Output
  • Haru
  • HaruPage

HaruPage::rectangle

(PECL haru >= 0.0.1)
Append a rectangle to the current path
bool HaruPage::rectangle ( float $x, float $y, float $width, float $height )

Appends a rectangle to the current drawing path.

Parameters:
x

The left border of the rectangle.

y

The lower border of the rectangle.

width

The width of the rectangle.

height

The height of the rectangle.

Returns:

Returns TRUE on success.

Exception:

Throws a HaruException on error.

Links:
  • http://php.net/manual/en/harupage.rectangle.php
doc_php
doc_php
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.

Popular Articles
Rectangle#Rectangle new Rectangle(x, y, width, height) Creates a new Rectangle object with the top-left corner specified by the x and y parameters and with the specifi
rectangle rectangle skimage.morphology.rectangle(width, height, dtype=) [source] Generates a flat, rectangular-shaped structuring element. Every pixel in th
HaruPage::createURLAnnotation (PECL haru >= 0.0.1) Create and return new HaruAnnotation instance object HaruPage::createURLAn
HaruPage::getLineWidth (PECL haru >= 0.0.1) Get the current line width float HaruPage::getLineWidth ( void )
HaruPage::setMiterLimit (PECL haru >= 0.0.1) Set the current value of the miter limit of the page bool HaruPage::setMit


Return to View
  • Facebook
  • Tweet
  • Digg it
  • Stumbleupon
  • Delicious
  • Plus Share

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions