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

Class: Image_Puzzle_Edge_Line

Source Location: /Image_Puzzle-0.2.2/Image/Puzzle/Edge/Line.php

Class Overview

Image_Puzzle_Edge
   |
   --Image_Puzzle_Edge_Line

Linear 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]
Linear edge.


[ Top ]


Method Detail

getLeftTopMargin   [line 37]

integer getLeftTopMargin( )


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

getRightBottomMargin   [line 45]

integer getRightBottomMargin( )


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


Documentation generated on Mon, 11 Mar 2019 15:40:20 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.