[1.1.4] Where to find actual Javadoc ?

Asked by Dirk Schiller

Downloaded Sikuli API Jar ( https://raiman.github.io/SikuliX1/downloads.html ). Guess that's the Version 1.1.4. When I use Pattern.similar Method there are some strange Errors. In the Java Doc ( http://doc.sikuli.org/javadoc/index.html ) the Pattern Class has a Method similar(float similarity_) but if one call this Method with Pattern(...).similar(1.0) the following Error appears:

TypeError: 'float' object is not callable

If one instead then uses Pattern(...).similar = 1.0 this Error appears:

AttributeError: can't set attribute

Not sure what's the Problem here. Either the Javadoc is not up to date or the Sikuli Software has Bugs.

I also tried the Settings.MinSimilarity Attribute but it doesn't show any Effect. Doe's this Setting also work for Screen()click() Method ? Also the Package Location is wired. In the Javadoc the Package of the Settings Class is 'org.sikuli.script.Settings' but in the JAR file from 1.1.4 the Package Location is 'org.sikuli.basics.Settings'. That's strange.

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
Dirk Schiller
Solved:
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#4

Sorry for the misunderstanding.

The java docs are here:
https://raiman.github.io/SikuliX1/javadocs/index.html

I will comment a bit more later.

Revision history for this message
Dirk Schiller (dschiller) said :
#5

Thank's a lot ! Seems you updated it. Thank's so much !