Image_Puzzle
[ class tree: Image_Puzzle ] [ index: Image_Puzzle ] [ all elements ]

Class: Image_Puzzle_Edge_Default

Source Location: /Image_Puzzle-0.1.0/Puzzle/Edge/Default.php

Class Overview

Image_Puzzle_Edge
   |
   --Image_Puzzle_Edge_Default

Default edge.


Author(s):

Version:

  • @package_version@

Methods


Inherited Variables

Inherited Methods

Class: Image_Puzzle_Edge

Image_Puzzle_Edge::__construct()
Edge constructor.
Image_Puzzle_Edge::factory()
Edge factory for creating new edge objects in the basis of their names.
Image_Puzzle_Edge::getLeftTopMargin()
Returns left margin for vertical edge or top margin for horizontal edge.
Image_Puzzle_Edge::getRightBottomMargin()
Returns right margin for vertical edge or bottom margin for horizontal edge.
Image_Puzzle_Edge::isTransparent()
Returns true if point x,y on the edge should be transparent.

Class Details

[line 31]
Default edge.


[ Top ]


Method Detail

__construct (Constructor)   [line 39]

Image_Puzzle_Edge_Default __construct( $longitude, $transversal)

  • Access: public

Overrides Image_Puzzle_Edge::__construct() (Edge constructor.)

Parameters:

   $longitude   — 
   $transversal   — 

[ Top ]

getLeftTopMargin   [line 47]

void getLeftTopMargin( )

  • Access: public

Overrides Image_Puzzle_Edge::getLeftTopMargin() (Returns left margin for vertical edge or top margin for horizontal edge.)
[ Top ]

getRightBottomMargin   [line 51]

void getRightBottomMargin( )

  • Access: public

Overrides Image_Puzzle_Edge::getRightBottomMargin() (Returns right margin for vertical edge or bottom margin for horizontal edge.)
[ Top ]

isTransparent   [line 55]

void isTransparent( $x, $y)

  • Access: public

Overrides Image_Puzzle_Edge::isTransparent() (Returns true if point x,y on the edge should be transparent.)

Parameters:

   $x   — 
   $y   — 

[ Top ]


Documentation generated on Mon, 11 Mar 2019 14:37:49 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.