Вход Регистрация
Файл: vendor/intervention/image/src/Interfaces/PointInterface.php
Строк: 62
<?php

declare(strict_types=1);

namespace 
InterventionImageInterfaces;

use 
IteratorAggregate;

/**
 * @extends IteratorAggregate<int>
 */
interface PointInterface extends IteratorAggregate
{
    
/**
     * Return x position.
     */
    
public function x(): int;

    
/**
     * Return y position.
     */
    
public function y(): int;

    
/**
     * Set x position.
     */
    
public function setX(int $x): self;

    
/**
     * Set y position.
     */
    
public function setY(int $y): self;

    
/**
     * Move X coordinate.
     */
    
public function moveX(int $value): self;

    
/**
     * Move Y coordinate.
     */
    
public function moveY(int $value): self;

    
/**
     * Move position of current point by given coordinates.
     */
    
public function move(int $xint $y): self;

    
/**
     * Set position of point.
     */
    
public function setPosition(int $xint $y): self;

    
/**
     * Rotate the current point clockwise around given pivot point.
     */
    
public function rotate(float $angleself $pivot): self;
}
Онлайн: 1
Реклама